-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
EBML is a "binary equivalent to XML", so it should be plausible to write a small tool that converts the EBML input into a human-readable representation.
The output should be similar to XML, but obviously does not need to conform to XML specs.
The tool should be able to recognize Elements (ID, Length, Data/Value) and differentiate Master Elements from "primitives".
Something optional would be reading and validating CRC-32 inside of Master Elements.
An output example:
<EBML>
<Master(ID 0x1A45DFA3, Size 11)>
<Element(ID 0x4287, Size 4)>
[0x0, 0x0, 0x0, 0x4]
</Element>
<!-- ... -->
</Master>
</EBML>Maybe even with some possible data interpretations:
<EBML>
<Master(ID 0x1A45DFA3, Size 11)>
<Element(ID 0x4287, Size 4)>
[uint: 4]
[int: 4]
[float: 1.1e-44]
</Element>
<!-- ... -->
</Master>
</EBML>Again, the actual output format isn't that important. It just needs to be readable and should be helpful to check what's going on inside any given EBML file.