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![]()
+ Reply to Thread
Results 1 to 5 of 5
-
-
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 ) -
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
Similar Threads
-
Do I need the LAV filters to play flac files on wmp?
By lascetic in forum Newbie / General discussionsReplies: 12Last Post: 1st May 2013, 12:30 -
Haali Media Splitter, LAV Filters, AV Splitter...How do these filters work?
By Moontrash in forum Software PlayingReplies: 3Last Post: 25th Feb 2012, 18:00 -
Help - removing & reinstalling codecs/ filters in Windows 7 64
By JorgeO in forum Newbie / General discussionsReplies: 3Last Post: 19th Sep 2011, 15:52 -
[Solved] Question about MPlayer filters in FFDShow and Mencoder filters
By BlooderButcher in forum Video ConversionReplies: 4Last Post: 24th Nov 2008, 11:32 -
Play WMV on Quicktime (in Windows)
By lazyturbo in forum Newbie / General discussionsReplies: 3Last Post: 3rd Nov 2008, 12:49