Login
 
Archive
Links
Search
Blog List
There are no categories in this blog.
 
Apr 15

Written by: Jeremiah Morrill
4/15/2008 5:00 AM

In my last post I talked a little about how I was modifying the VRE to support it's own DirectShow Renderer.  This is to get around how crappy/inflexible the SampleGrabber really is.  The DirectShow renderer I have made is really just a glorified SampleGrabber which is very simple and probably won't be more than 20 LoC when it is finished.  This should, in theory make the VRE compatible with any video media-type, whether its MPEG2, encrypted DVD, etc.  This will also make the VRE very simple to use with DirectShow.

hr = m_FilterGraph.AddFilter(vreRenderer, "VRE_Renderer");
hr = capGraph.RenderStream(PinCategory.Capture, 
                           MediaType.Video, 
                           capFilter, 
                           null, 
                           vreRenderer);

I have finished the proof-of-concept, but there is still much more work to be done.  I first need to rewrite the prototype to be clean.  Next I need to modify the VRE to be more flexible so I can set any arbitrary media-type.  This way I can pass the media-type of the custom renderer to the MediaBridge filter.

I'm not really too far off from having a simple to use DVD WPF control...not to mention a much more flexible VRE.  Just my time is very limited with the nine-to-fiver.

-Jer

Tags:

5 comments so far...

Re: VideoRendererElement - Some progress...

Great work! Thnx for your VRE control

By h0use on   4/15/2008 6:06 AM

Re: VideoRendererElement - Some progress...

Keep up the good work. Maybe call in sick tomorrow to your nine-to-fiver...

By Ken on   4/15/2008 9:29 AM

Re: VideoRendererElement - Some progress...

Hi,

I like your idea of being able to add your VRE_Renderer to any DirectShow video capture/playback graph. However, I think it is very important that the renderer will be able to replace the EVR renderer in all aspects. That means for instance that todays video decoder filters (MPEG2, MPEG4, VC-1, H.264 etc) that rely on EVR's capabilities with respect to DXVA2 hardware accelleration (and perhaps other important features) should be able to have that support from your renderer as well. Otherwise your renderer will not be flexible enough to be used in real world scenarios, I think.

I will be following your progress with great interest.

Regards
Henrik

By Henrik on   4/15/2008 10:27 AM

Re: VideoRendererElement - Some progress...

Cant wait, really looking forward to finally getting my car media player frontend done.

By Wayne on   4/15/2008 11:24 PM

Re: VideoRendererElement - Some progress...

Looks fabulous, can't wait to play with it.

By Jim Galasyn on   4/19/2008 8:08 AM

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment    Cancel  
  Minimize
Text/HTML Minimize
Copyright 2007
Downloaded from DNNSkins.com