[Matroska-devel] Re: MPEG2 in MKV!

Steve Lhomme steve.lhomme at free.fr
Thu Oct 30 18:08:32 CET 2003

spyder wrote:

> On Thursday 30 October 2003 10:32, Pamel wrote:
>>So far we have two options for the Sequence Headers:
>>1. Store the sequence header inside the Block with every I frame.  If the
>>sequence header changes before a P frame, then store it with the P frame,
>>and every following I frame.
>>2. Use the CodecState element in Matroska which is what it is for.  The
>>sequence header will likely be repeated before every I frame anyway so this
>>would take two or three additional bytes as you have to store the EBML
>>element and size.
>>Honestly the CodecState is more finesse, but I hate it.  There is no way to
>>know where a codec state is in a stream.  If you seek, then you are going
>>to miss the codec state and your decode will be screwed.  But if you put
>>the codec state in the track information, would it be any good for

What if the codec state is stored with every I frame ? (which makes a 
lot of sense)

More information about the Matroska-devel mailing list