Click to See Complete Forum and Search --> : Fastforwarding MPEG2/AVI files in directshow?


Hobbieman
March 30th, 2004, 02:17 PM
Hello,

Does anyone here know how to fastforward an AVI (or an MPEG2) file while playing it back? I have tried the IMediaSeeking::SetRate(), but it does not always seem to work: the audio decoder does not support fast rates. So I have also tried simulating this SetRate method on my own, by using a timer and IMediaSeeking::SetPositions(), and that sorta works, but it seems that the graph falls behind...

I am not interested in being able to hear the audio, I just want to be able to view the video as it fast forwards.

Anyhow, I am sure someone else has done this before. If you don't mind sharing the code, I would appreciate taking a peek.

Thanks.