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

Steve Lhomme steve.lhomme at free.fr
Tue Nov 16 16:57:36 CET 2004


Moritz Bunkus a écrit :
> Hey,
> 
> 
>>>Well, that's quite a change. Because so far we always assume the 
>>>CodecPrivate is filled for each CodecID.
> 
> 
> Nope. Simply take MP3, PCM or even the RealVideo codecs -- the
> CodecPrivate is empty for all of those.

So it's filled... to empty :D (the way it's in the specs)

>>I accidentally replied privately to Mosu, but windows mpeg1/2 decoders
>>require the sequence header in the media type's format block,
> 
> 
> Ok, then let's do what spyder has done as well and put the first
> sequence header into the CodecPrivate. However, the sequence header will
> not be removed from the first frame.

IMO it's one or the other... Only in the CodecPrivate look logical to 
me. That would make concatenation cleaner.



More information about the Matroska-devel mailing list