VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member khodam's Avatar
    Join Date
    Jun 2013
    Location
    Somewhere I belong
    Search PM
    Dear all,

    I want to play MPEG-2 video using these filters:
    File Source (Async.) -> MPEG-2 Demultiplexer -> Microsoft DTV-DVD Video Decoder -> Video Renderer

    When I create this graph in C# using DirectShow.NET, I get black screen. Do you have any idea why?
    I read something about push and pull but didn't get anything.

    By the way, I played a MPEG-2 video using RenderFile function and then went through it's Filters using EnumFilters. The filters used by RenderFile was:
    File Source (Async.) -> MPEG-2 Splitter -> Microsoft DTV-DVD Video Decoder -> Video Renderer
    Should I use Splitter instead of demultiplexer?

    Please help me on this
    Thank you guys
    Quote Quote  
  2. wild guess: try another video renderer,...
    Quote Quote  
  3. Member khodam's Avatar
    Join Date
    Jun 2013
    Location
    Somewhere I belong
    Search PM
    Didn't work
    Well, any idea?

    Thanks
    Quote Quote  
  4. Personally I would probably try out some combination of source filters etc. inside GraphStudio or GraphEdit, in example:
    File Source (Async.) -> LAV Splitter -> Microsoft DTV-DVD Video Decoder -> Video Renderer
    works fine for me.
    (can't connect 'File Source (Async.) -> MPEG-2 Demultiplexer' or 'File Source (Async.) -> MPEG-2 Splitter ' on my system in GraphStudio, but that might be due to some limitation of the filters )
    Quote Quote  
  5. Member khodam's Avatar
    Join Date
    Jun 2013
    Location
    Somewhere I belong
    Search PM
    I solved it, so I share it here. For playing MPEG-2 video, I used these filters:
    File Source (Async.) -> MPEG-2 Splitter -> Microsoft DTV-DVD Video Decoder -> Video Renderer

    The point about MPEG-2 Splitter's output pin was that I should connect File Source's output pin to MPEG-2 Splitter's input pin, then MPEG-2 Splitter creates automatically an output pin that I used it to connect to Microsot DTV-DVD Video Decoder's input pin and in the end; to Video Renderer.

    By the way, I can seek video using IMediaSeeking.

    Thank you Selur; for your help

    Regards
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!