Video "pixelisation" using Video Mixing Renderer 9
Hi,
I'm working on a mpeg2 ts file video player relying on existing directshow decoder filters. This works great under XP SP2 with for example NVidia puredecoder, or any other mpeg2 decoders.
Running my application under Vista RC2 Ultimate Edition, the video is pixelized as if the video was zoomed in. If I play the same file with Windows Media Player, video is perfect. This test has been done with default Microsoft MPEG2 decoder filter, and it seems to be the same with any other decoders.
Does this have something to do with the Video Mixer Renderer 9 ? Did I miss something with it under Vista ?
I also made a quick test with Video Mixer Renderer 7, unfortunately, it is the same result.
If anyone can point me on the right way to solve this problem...
Regards
Octo!
Hi,
First of all, Thanks for your answer.
Now, regarding the default renderer of Vista, I guess you mean the new Enhanced Video Renderer ? So the answer would be no. Because I hope that Microsoft wouldn't have changed the way the VMR9 works under Vista in order to not break the compatibility of millions software :-) Furthermore, my software perfectly works under XP SP2. But indeed, this is not the point and anyway, your idea made me think that I have to add its support for Vista. Thus, I will support VMR7,VMR9 and EVR.
For your second question, I don't know. As I said, it works like a charm under XP SP2. Recently, I discovered it works also under Vista but with an Intel Graphics integrated chipset. So may be it has something to do with the graphics video card an so on with the graphic driver. The machines where video is pixelised have nvidia graphics card. So may be its due to driver issue. But if so, why playing the recorded video would be perfect with Windows Media Player ?
Regards,
Octo
Thanks for this great idea.
Since your post, I tried to add support for this new EVR, and indeed it solved this problem. but now, I have new problems regarding EVR in DirectShow mode:
* I noticed that when I resize my window for example, it slows the video, and it take at least a minute for the video to become "stable". It doens't happen with VMR9.
* Also, with EVR, there is no more event that I used to catch with VMR9 such as DeviceSet which allows me to get the real video size and manage the aspect ratio of the window. Is it normal ? is there a workaround ?
I wish I could fix these two problems in order to be fully happy with this solution dedicated to Vista environment :-)
Regards,
Octo.
PS: For interested persons, please note that the pixelization was due to the combination of using VMR9/VMR7 + Windows Update Driver for my NVidia GeForce 7800GTX graphic card. It never happened on my laptop with Intel graphics card.
Thanks for your answer.
But no, I'm not using windowed mode at all. My application have itw own video window, and I pass its hwnd to either WMR/EVR (depending on the user's choice).
Regarding the EVR, I followed exactly what's mentioned here: http://msdn2.microsoft.com/en-us/library/aa965221.aspx
Also, if I try to add a second input stream, curiously it opens a new window to display the video :-( and I didn't find any sample how to manage this.
Octo