[Matroska-devel] Header length in Bytes ?

Steve Lhomme steve.lhomme at free.fr
Thu Jan 10 17:10:02 CET 2008

S3Ri0US wrote:
> Hi there.. i whant to make a little Splitting Tool for MKV Files..  But 
> when im splitting the Files the Header Informations will lost in the 
> Second File... so im trying to read out the Header from the File and but 
> into the Splittet Files, but how long (Bytes) are the header 0 to ?? Bytes

The header doesn't have a fixed length. The whole matroska file is based 
on EBML nested structures. Each level can have a variable size (even 
though some muxers use padding). To cut/edit/move data in a matroska 
file you need to understand the EBML architecture of the file to cut at 
the right boundaries.


More information about the Matroska-devel mailing list