Back Forum Reply New

DirectShow seeking

I couldn't quite figure out which forum this belonged in so I'll apologize if this is the wrong one.

I've got this app that uses MCI and the AVIFile api calls to display/get information on amp; seek files.  Works nicely.  I do a lot of heavy, constant seeking back and forth so I need the video to update and send the frame information I need quickly.  For AVI files, MCI does this great.

Recently, I thought about using DirectShow.  I made a little test, hooked it into the seeking routine the MCI call uses and ... well... not so good.  Updates were minimal.  Maybe every 50 frames or every 20 or whenever it decided to, I'd get return frame information.  I'm constantly calling the seek routines so it's not a problem of the times I'm sending.  The MCI window was right there alongside the test DirectShow window and was seeking just fine (if a little slower with the video opened twice and seeking on both).  I'm using the CurrentPosition property from IMediaPosition.  Also, it seems I have set the play status to quot;pausequot; to get any information from CurrentPosition.

Am I doing something wrong?  Is this normal?

Also, I notice that for MPEGVideo MCI types, it uses quartz.dll - the same from DirectShow?  Version number in my system32 directory with DX 8.1 install is 6.3.1.885  So when I open video files using MPEGVideo, am I using what DirectShow uses?

Sorry if I rambled there.
¥
Back Forum Reply New