ASF Reader Filter
From: Satire (Satire_at_discussions.microsoft.com)
Date: 11/09/04
- Previous message: The March Hare [MVP]: "Re: How to get the snapshot of the first video frame of MPEG-2 video?"
- Next in thread: Iain: "Re: ASF Reader Filter"
- Reply: Iain: "Re: ASF Reader Filter"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Nov 2004 21:21:01 -0800
Hello,
I have written my own DirectShow source filter to read ASF files. There are
two
output pins - Video and Audio. It is a push based source filter like the
standard WM ASF Reader filter. When I render just the video pin and run the
graph, voila the video plays fine at real time. Similarly when I render the
audio pin only and run the graph, audio plays file at real time. However,
when I render both the pins together, the performance becomes pathetic. I
deliver the samples to the WM decoder DMO's as soon as I get them. I tried
few tests
1. Render both pins and remove the audio renderer and insert the Dump filter
instead. Video plays fine and the dumped audio also plays fine when played
back as raw audio.
2. Render both pins and remove the video renderer and insert the Dump filter
instead. Audio plays fine.
I have been struggling with this for the past couple of days but have not
been able to come up with a solution. The timestamps are perfect as expected.
Do I need to do some kind of synchronization? Someone please help.
Thanks,
Satish
- Previous message: The March Hare [MVP]: "Re: How to get the snapshot of the first video frame of MPEG-2 video?"
- Next in thread: Iain: "Re: ASF Reader Filter"
- Reply: Iain: "Re: ASF Reader Filter"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|