first of all, I would like to thank Mr. Jeremiah Morril for being the reference of rendering video on Windows, your projects are a great and useful work, thanks a lot!
I have been using the VideoRendererElement to eficiently render uncompressed video with a WPF user control exposed to COM. The video is obtained via RTSP from the network and pushed to DirectShow using the MediaElement hack. Although the solution is a hack
(nice hack!), I decided to use it because it gives good performance for my requirements (I need to play live video smoothly inside an advanced WPF UI).
The thing is, lately I have started to have some problems with the VideoRendererElement when I try to change the source of the video (making a teardown of the VRE and a new Initialization of DirectShow). Sometimes, after the Play() of the MediaElement, nothing
happens and consequently the "magic does not happen"... ;) After many debugging time not clear results were achieved.
For this reason, I was looking for some new release of the VideoRendererElement that solves problems but nothing appears. However, I have seen that the (excellent) WPF MediaKit is in a very advanced state and it seems to be maintained. After reading some
posts and information regarding the WPF MediaKit, my two questions about this issue are the following:
1.- Could I obtain the same performance for rendering uncompressed buffers with WPF MediaKit instead of VideoRendererElement?
2.- Is there an easy way to migrate an application that uses VideoRendererElement to use WPF MediaKit? Anyboyd attempted to do it?
Thanks in advanced to everyone,