I’m not sure if the 81 is just there as a spacer, but the last number in these blocks do have the expected output according to the EBML spec. 42 82 is the hext for DocType Element followed by 88.42 F3 (see a pattern?) is the hex for EBMLMaxSizeLength Element followed by 81 08.42 F2 is the hex for EBMLMaxIDLength Element followed by 81 04.42 F7 is the hex for EBMLReadVersion Element followed by 81 01.42 86 is the hex for EBMLVersion Element followed by 81 01.01 00 00 00 00 00 00 23 I assume just extra blank space with a bonus 23, maybe saved empty space.What is all this in between EBML and Matroska magic numbers? I was opening up a small Matroska file in my hex editor (I use Hex Fiend, I don’t know if it’s the best, but it works well for me) and I identified the Matroska magic numbers and the EBML magic numbers, but there was some … other stuff interrupting them. Sometimes investigating the GUI instead of just the CLI tools is fruitful! Moritz Bunkus, the creator of MKVToolNix, also mentioned to me on twitter that “MKVToolNix v22’s info tool now contains a hex view that even highlights different parts (EBML ID, length field…).” This is much more useful than the general-purpose text editor I used for exploration. Update with more information at the bottom of this post and also immediately below this sentence!
0 Comments
Leave a Reply. |