[Matroska-devel] Re: CodecPrivate for MPEG-1 and MPEG-2 video

Steve Lhomme steve.lhomme at free.fr
Wed Nov 17 12:44:02 CET 2004

Mike Matsnev a écrit :
> Steve Lhomme wrote:
>> OK, let me see what we have :
>> - The data are needed for decoding
>> - It can be multiple times in the stream
>> - It can change during the stream (unimportant data only ?)
>> - DirectShow decoders need it (separated from the stream ?)
>> If the only reason to have it is because of DirectShow, maybe we can 
>> find other ways to do it. It depends if the data are needed when the 
>> pin is connected or only during playback. If it's during playback then 
>> we can put the first frame in the codec data and that's it.
> Sequence header is needed to connect pins.

It's time to get rid of DirectShow then ;)

Are there any codec for which you need to feed the first frame in DShow 
? That could be an (hacky (as DShow)) option...

More information about the Matroska-devel mailing list