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

Mike Matsnev mike at po.cs.msu.su
Wed Nov 17 12:07:10 CET 2004


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.

> IMO it doesn't make sense to have codec private data stored in tracks if 
> that data can change during playback ! In this case it should be in the 
> Block, but so far we haven't used this.
/Mike



More information about the Matroska-devel mailing list