All source codes I've provided on stackoverflow as an answer, usually under tag ms-media-foundation. Mediafoundation, audio, video, 3D, decoder, encoder.
I'm trying to capture the screen and render it with EVR at the same time. I wrote a custom media source for this. It works almost perfectly.
The only problem is, by default without reversing the image, EVR renders the screen correctly, but the recording is vertically flipped. I reversed the image and now it records just fine but EVR renders it vertically flipped. I've set the media source output media type to RGB32. Everything seems correct to me. Why are EVR and sink writer inconsistent?? Your help is much appreciated βΊοΈ