#421 Receive EBML elements ...

More_attribute
open-accepted
None
1
2013-09-15
2013-09-15
smarq
No

There is my proposition for receive values form EBML tree
MediaInfo_EBMLGet(hnd, EBMLPath)

Where EBMLPath is similar to XPath:
[EBML ID - Name]
Segment/Tracks/TrackEntry[2]/CodecID

OR

[EBML ID - Value]
18538067/1654AE65[2]/86

or receive EBML tree in XML format where Clusters and Cues content should be only optionally (because large ammouts and performance)

Discussion

    • status: open --> open-accepted
    • assigned_to: Jerome Martinez
    • Priority: 5 --> 1
     
  • MediaInfo_EBMLGet(hnd, EBMLPath)
    Where EBMLPath is similar to XPath:
    [EBML ID - Name]
    Segment/Tracks/TrackEntry[2]/CodecID

    This is not really the initial goal of MediaInfo, very specific request, no implementation (at least from me, the main developer) without strong sponsorship.

    or receive EBML tree in XML format where Clusters and Cues content should be only optionally (because large ammouts and performance)

    There is a more global project about trace system, currently not compiled by default on Windows.
    You need to compile yourself (or test it under Linux) and with command line use the option " --Trace", you'll get something like:

    00000000 Ebml (5 bytes)
    00000000 Header (5 bytes)
    00000000 Name: 172351395 (0xA45DFA3)
    00000004 Size: 19 (0x13)
    00000005 DocType - matroska (11 bytes)
    00000005 Header (3 bytes)
    00000005 Name: 642 (0x282)
    00000007 Size: 8 (0x8)
    00000008 Data: matroska
    00000010 DocTypeVersion - 1 (4 bytes)
    00000010 Header (3 bytes)
    00000010 Name: 647 (0x287)
    00000012 Size: 1 (0x1)
    00000013 Data: 1 (0x01)
    00000014 DocTypeReadVersion - 1 (4 bytes)
    00000014 Header (3 bytes)
    00000014 Name: 645 (0x285)
    00000016 Size: 1 (0x1)
    00000017 Data: 1 (0x01)
    00000018 Segment (12 bytes)
    00000018 Header (12 bytes)
    00000018 Name: 139690087 (0x8538067)
    0000001C Size: 734876754 (0x2BCD5452)
    (...)
    000010E0 Tracks (6 bytes)
    000010E0 Header (6 bytes)
    000010E0 Name: 106212971 (0x654AE6B)
    000010E4 Size: 1992 (0x7C8)
    000010E6 TrackEntry (3 bytes)
    000010E6 Header (3 bytes)
    000010E6 Name: 46 (0x2E)
    000010E7 Size: 133 (0x85)
    000010E9 TrackNumber - 1 (3 bytes)
    000010E9 Header (2 bytes)
    000010E9 Name: 87 (0x57)
    000010EA Size: 1 (0x1)
    000010EB Data: 1 (0x01)
    (...)
    00001110 CodecID - V_MPEG4/ISO/AVC (17 bytes)
    00001110 Header (2 bytes)
    00001110 Name: 6 (0x6)
    00001111 Size: 15 (0xF)
    00001112 Data: V_MPEG4/ISO/AVC

    More official release of such output is planned for the future, no ETA.