views:

49

answers:

0

Hi all. I am creating an ASF file using 3 proprietary streams, one video and 2 audio. The streams themselves contain timestamped samples with a proprietary compression. I also mark keyframes in the video, while all audio samples are marked as keyframes.

These are then fed to a DMO that is supposed to play them in Windows Media Player, Directshow or whatever. While this plays well from the beginning, when I try to seek (in WMP or GraphEdit , for example), I cannot. The Audio is cut off and the video takes a few seconds to start playing and it doesn't start from the correct location.

My question is a general one - how does seek work when dealing with a custom ASF file, where all the streams contain timestamped but proprietary samples? It should seek to the nearest keyframe in the video, and since all audio samples are keyframes, it should just play the nearest audio sample right?

Can someone clarify this for me?

Thanks, Roey

related questions