Question

I'm using DirectShow via Delphis'w wrapper called DsPack. I want to play some video from StartPosition till EndPosition:

MediaSeeking.SetPositions(Start, AM_SEEKING_AbsolutePositioning, 
    Stop, AM_SEEKING_AbsolutePositioning);

It works except the weird effect: video stops in a seconds or two after video. First I thought something is wrong with codecs... but if I pause/stop video manually, there is no such an effect. So am I using SetPositions wrong?

Update. Here is the file: https://dl.dropboxusercontent.com/u/957029/Stuff/0.avi Checked on other files - this behaviour is not reproduced.

Pas de solution correcte

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top