matroska-schema
Version:
node-ebml's schema packaged in a format compatible with node-matroska's
1,681 lines (1,680 loc) • 101 kB
JavaScript
module.exports = {
byEbmlID: {
0x80: {
name: 'ChapterDisplay',
level: 4,
type: 'm',
multiple: true,
webm: true,
description: 'Contains all possible strings to use for the chapter display.',
minver: 1,
crc: false
},
0x83: {
name: 'TrackType',
level: 3,
type: 'u',
multiple: false,
webm: true,
description: 'The `TrackType` defines the type of each frame found in the Track. The value **SHOULD** be stored on 1 octet.',
mandatory: true,
minver: 1,
crc: false
},
0x85: {
name: 'ChapString',
level: 5,
type: '8',
multiple: false,
webm: true,
description: 'Contains the string to use as the chapter atom.',
mandatory: true,
cppname: 'ChapterString',
minver: 1,
crc: false
},
0x86: {
name: 'CodecID',
level: 3,
type: 's',
multiple: false,
webm: true,
description: 'An ID corresponding to the codec, see [@?MatroskaCodec] for more info.',
mandatory: true,
minver: 1,
crc: false
},
0x88: {
name: 'FlagDefault',
level: 3,
type: 'u',
multiple: false,
webm: true,
description: 'Set if that track (audio, video or subs) is eligible for automatic selection by the player; see (#default-track-selection) for more details.',
mandatory: true,
range: '0-1',
cppname: 'TrackFlagDefault',
minver: 1,
default: '1',
crc: false
},
0x89: {
name: 'ChapterTrackUID',
level: 5,
type: 'u',
multiple: true,
description: 'UID of the Track to apply this chapter to. In the absence of a control track, choosing this chapter will select the listed Tracks and deselect unlisted tracks. Absence of this Element indicates that the Chapter **SHOULD** be applied to any currently used Tracks.',
mandatory: true,
range: 'not 0',
cppname: 'ChapterTrackNumber',
minver: 1,
crc: false
},
0x8e: {
name: 'Slices',
level: 3,
type: 'm',
multiple: false,
description: 'Contains slices description.',
minver: 0,
maxver: 0,
crc: false
},
0x8f: {
name: 'ChapterTrack',
level: 4,
type: 'm',
multiple: false,
description: 'List of tracks on which the chapter applies. If this Element is not present, all tracks apply',
minver: 1,
crc: false
},
0x91: {
name: 'ChapterTimeStart',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'Timestamp of the start of Chapter, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks).',
mandatory: true,
minver: 1,
crc: false
},
0x92: {
name: 'ChapterTimeEnd',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'Timestamp of the end of Chapter timestamp excluded, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks). The value **MUST** be greater than or equal to the `ChapterTimeStart` of the same `ChapterAtom`.',
minver: 1,
crc: false
},
0x96: {
name: 'CueRefTime',
level: 5,
type: 'u',
multiple: false,
description: 'Timestamp of the referenced Block, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks).',
mandatory: true,
minver: 2,
crc: false
},
0x97: {
name: 'CueRefCluster',
level: 5,
type: 'u',
multiple: false,
description: 'The Segment Position of the Cluster containing the referenced Block.',
mandatory: true,
minver: 0,
maxver: 0,
crc: false
},
0x98: {
name: 'ChapterFlagHidden',
level: 4,
type: 'u',
multiple: false,
description: 'Set to 1 if a chapter is hidden. Hidden chapters **SHOULD NOT** be available to the user interface (but still to Control Tracks; see (#chapterflaghidden) on Chapter flags).',
mandatory: true,
range: '0-1',
minver: 1,
default: '0',
crc: false
},
0x9a: {
name: 'FlagInterlaced',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'Specify whether the video frames in this track are interlaced.',
mandatory: true,
cppname: 'VideoFlagInterlaced',
minver: 2,
default: '0',
crc: false
},
0x9b: {
name: 'BlockDuration',
level: 3,
type: 'u',
multiple: false,
webm: true,
description: 'The duration of the Block, expressed in Track Ticks; see (#timestamp-ticks). The BlockDuration Element can be useful at the end of a Track to define the duration of the last frame (as there is no subsequent Block available), or when there is a break in a track like for subtitle tracks.',
minver: 1,
crc: false
},
0x9c: {
name: 'FlagLacing',
level: 3,
type: 'u',
multiple: false,
webm: true,
description: 'Set to 1 if the track **MAY** contain blocks using lacing. When set to 0 all blocks **MUST** have their lacing flags set to No lacing; see (#block-lacing) on Block Lacing.',
mandatory: true,
range: '0-1',
cppname: 'TrackFlagLacing',
minver: 1,
default: '1',
crc: false
},
0x9d: {
name: 'FieldOrder',
level: 4,
type: 'u',
multiple: false,
description: 'Specify the field ordering of video frames in this track.',
mandatory: true,
cppname: 'VideoFieldOrder',
minver: 4,
default: '2',
crc: false
},
0x9f: {
name: 'Channels',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'Numbers of channels in the track.',
mandatory: true,
range: 'not 0',
cppname: 'AudioChannels',
minver: 1,
default: '1',
crc: false
},
0xa0: {
name: 'BlockGroup',
level: 2,
type: 'm',
multiple: true,
webm: true,
description: 'Basic container of information containing a single Block and information specific to that Block.',
minver: 1,
crc: false
},
0xa1: {
name: 'Block',
level: 3,
type: 'b',
multiple: false,
webm: true,
description: 'Block containing the actual data to be rendered and a timestamp relative to the Cluster Timestamp; see (#block-structure) on Block Structure.',
mandatory: true,
minver: 1,
crc: false
},
0xa2: {
name: 'BlockVirtual',
level: 3,
type: 'b',
multiple: false,
description: 'A Block with no data. It must be stored in the stream at the place the real Block would be in display order. ',
minver: 0,
maxver: 0,
crc: false
},
0xa3: {
name: 'SimpleBlock',
level: 2,
type: 'b',
multiple: true,
webm: true,
description: 'Similar to Block, see (#block-structure), but without all the extra information, mostly used to reduced overhead when no extra feature is needed; see (#simpleblock-structure) on SimpleBlock Structure.',
minver: 2,
divx: true,
crc: false
},
0xa4: {
name: 'CodecState',
level: 3,
type: 'b',
multiple: false,
description: 'The new codec state to use. Data interpretation is private to the codec. This information **SHOULD** always be referenced by a seek entry.',
minver: 2,
crc: false
},
0xa5: {
name: 'BlockAdditional',
level: 5,
type: 'b',
multiple: false,
webm: true,
description: 'Interpreted by the codec as it wishes (using the BlockAddID).',
mandatory: true,
minver: 1,
crc: false
},
0xa6: {
name: 'BlockMore',
level: 4,
type: 'm',
multiple: true,
webm: true,
description: 'Contain the BlockAdditional and some parameters.',
mandatory: true,
minver: 1,
crc: false
},
0xa7: {
name: 'Position',
level: 2,
type: 'u',
multiple: false,
description: 'The Segment Position of the Cluster in the Segment (0 in live streams). It might help to resynchronise offset on damaged streams.',
cppname: 'ClusterPosition',
minver: 1,
maxver: 4,
crc: false
},
0xaa: {
name: 'CodecDecodeAll',
level: 3,
type: 'u',
multiple: false,
description: 'Set to 1 if the codec can decode potentially damaged data.',
mandatory: true,
range: '0-1',
minver: 1,
maxver: 0,
default: '1',
crc: false
},
0xab: {
name: 'PrevSize',
level: 2,
type: 'u',
multiple: false,
webm: true,
description: 'Size of the previous Cluster, in octets. Can be useful for backward playing.',
cppname: 'ClusterPrevSize',
minver: 1,
crc: false
},
0xae: {
name: 'TrackEntry',
level: 2,
type: 'm',
multiple: true,
webm: true,
description: 'Describes a track with all Elements.',
mandatory: true,
minver: 1,
crc: false
},
0xaf: {
name: 'EncryptedBlock',
level: 2,
type: 'b',
multiple: true,
description: 'Similar to SimpleBlock, see (#simpleblock-structure), but the data inside the Block are Transformed (encrypt and/or signed).',
minver: 0,
maxver: 0,
crc: false
},
0xb0: {
name: 'PixelWidth',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'Width of the encoded video frames in pixels.',
mandatory: true,
range: 'not 0',
cppname: 'VideoPixelWidth',
minver: 1,
crc: false
},
0xb2: {
name: 'CueDuration',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: "The duration of the block, expressed in Segment Ticks which is based on TimestampScale; see (#timestamp-ticks). If missing, the track's DefaultDuration does not apply and no duration information is available in terms of the cues.",
minver: 4,
crc: false
},
0xb3: {
name: 'CueTime',
level: 3,
type: 'u',
multiple: false,
webm: true,
description: 'Absolute timestamp of the seek point, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks).',
mandatory: true,
minver: 1,
crc: false
},
0xb5: {
name: 'SamplingFrequency',
level: 4,
type: 'f',
multiple: false,
webm: true,
description: 'Sampling frequency in Hz.',
mandatory: true,
range: '> 0x0p+0',
cppname: 'AudioSamplingFreq',
minver: 1,
default: '0x1.f4p+12',
crc: false
},
0xb6: {
name: 'ChapterAtom',
level: 3,
type: 'm',
multiple: true,
webm: true,
description: 'Contains the atom information to use as the chapter atom (apply to all tracks).',
mandatory: true,
minver: 1,
crc: false
},
0xb7: {
name: 'CueTrackPositions',
level: 3,
type: 'm',
multiple: true,
webm: true,
description: 'Contain positions for different tracks corresponding to the timestamp.',
mandatory: true,
minver: 1,
crc: false
},
0xb9: {
name: 'FlagEnabled',
level: 3,
type: 'u',
multiple: false,
webm: true,
description: 'Set to 1 if the track is usable. It is possible to turn a not usable track into a usable track using chapter codecs or control tracks.',
mandatory: true,
range: '0-1',
cppname: 'TrackFlagEnabled',
minver: 2,
default: '1',
crc: false
},
0xba: {
name: 'PixelHeight',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'Height of the encoded video frames in pixels.',
mandatory: true,
range: 'not 0',
cppname: 'VideoPixelHeight',
minver: 1,
crc: false
},
0xbb: {
name: 'CuePoint',
level: 2,
type: 'm',
multiple: true,
webm: true,
description: 'Contains all information relative to a seek point in the Segment.',
mandatory: true,
minver: 1,
crc: false
},
0xbf: {
name: 'CRC-32',
level: -1,
type: 'b',
multiple: true,
description: "The CRC is computed on all the data of the Master element it's in. The CRC element should be the first in it's parent master for easier reading. All level 1 elements should include a CRC-32. The CRC in use is the IEEE CRC32 Little Endian.",
minver: 1,
crc: true,
webm: false
},
0xc0: {
name: 'TrickTrackUID',
level: 3,
type: 'u',
multiple: false,
description: 'The TrackUID of the Smooth FF/RW video in the paired EBML structure corresponding to this video track. See [@?DivXTrickTrack].',
minver: 0,
maxver: 0,
divx: true,
crc: false
},
0xc1: {
name: 'TrickTrackSegmentUID',
level: 3,
type: 'b',
multiple: false,
description: 'The SegmentUID of the Segment containing the track identified by TrickTrackUID. See [@?DivXTrickTrack].',
minver: 0,
maxver: 0,
divx: true,
crc: false
},
0xc4: {
name: 'TrickMasterTrackSegmentUID',
level: 3,
type: 'b',
multiple: false,
description: 'The SegmentUID of the Segment containing the track identified by MasterTrackUID. See [@?DivXTrickTrack].',
minver: 0,
maxver: 0,
divx: true,
crc: false
},
0xc6: {
name: 'TrickTrackFlag',
level: 3,
type: 'u',
multiple: false,
description: 'Set to 1 if this video track is a Smooth FF/RW track. If set to 1, MasterTrackUID and MasterTrackSegUID should must be present and BlockGroups for this track must contain ReferenceFrame structures. Otherwise, TrickTrackUID and TrickTrackSegUID must be present if this track has a corresponding Smooth FF/RW track. See [@?DivXTrickTrack].',
minver: 0,
maxver: 0,
default: '0',
divx: true,
crc: false
},
0xc7: {
name: 'TrickMasterTrackUID',
level: 3,
type: 'u',
multiple: false,
description: 'The TrackUID of the video track in the paired EBML structure that corresponds to this Smooth FF/RW track. See [@?DivXTrickTrack].',
minver: 0,
maxver: 0,
divx: true,
crc: false
},
0xc8: {
name: 'ReferenceFrame',
level: 3,
type: 'm',
multiple: false,
description: 'Contains information about the last reference frame. See [@?DivXTrickTrack].',
minver: 0,
maxver: 0,
divx: true,
crc: false
},
0xc9: {
name: 'ReferenceOffset',
level: 4,
type: 'u',
multiple: false,
description: 'The relative offset, in bytes, from the previous BlockGroup element for this Smooth FF/RW video track to the containing BlockGroup element. See [@?DivXTrickTrack].',
mandatory: true,
minver: 0,
maxver: 0,
divx: true,
crc: false
},
0xca: {
name: 'ReferenceTimestamp',
level: 4,
type: 'u',
multiple: false,
description: 'The timestamp of the BlockGroup pointed to by ReferenceOffset, expressed in Track Ticks; see (#timestamp-ticks). See [@?DivXTrickTrack].',
mandatory: true,
cppname: 'ReferenceTimeCode',
minver: 0,
maxver: 0,
divx: true,
crc: false
},
0xcb: {
name: 'BlockAdditionID',
level: 5,
type: 'u',
multiple: false,
description: 'The ID of the BlockAdditional Element (0 is the main Block).',
cppname: 'SliceBlockAddID',
minver: 0,
maxver: 0,
default: '0',
crc: false
},
0xcc: {
name: 'LaceNumber',
level: 5,
type: 'u',
multiple: false,
description: 'The reverse number of the frame in the lace (0 is the last frame, 1 is the next to last, etc.). Being able to interpret this Element is not required for playback.',
cppname: 'SliceLaceNumber',
minver: 0,
maxver: 0,
crc: false
},
0xcd: {
name: 'FrameNumber',
level: 5,
type: 'u',
multiple: false,
description: 'The number of the frame to generate from this lace with this delay (allow you to generate many frames from the same Block/Frame).',
cppname: 'SliceFrameNumber',
minver: 0,
maxver: 0,
default: '0',
crc: false
},
0xce: {
name: 'Delay',
level: 5,
type: 'u',
multiple: false,
description: 'The delay to apply to the Element, expressed in Track Ticks; see (#timestamp-ticks).',
cppname: 'SliceDelay',
minver: 0,
maxver: 0,
default: '0',
crc: false
},
0xcf: {
name: 'SliceDuration',
level: 5,
type: 'u',
multiple: false,
description: 'The duration to apply to the Element, expressed in Track Ticks; see (#timestamp-ticks).',
minver: 0,
maxver: 0,
default: '0',
crc: false
},
0xd7: {
name: 'TrackNumber',
level: 3,
type: 'u',
multiple: false,
webm: true,
description: 'The track number as used in the Block Header.',
mandatory: true,
range: 'not 0',
minver: 1,
crc: false
},
0xdb: {
name: 'CueReference',
level: 4,
type: 'm',
multiple: true,
description: 'The Clusters containing the referenced Blocks.',
minver: 2,
crc: false
},
0xe0: {
name: 'Video',
level: 3,
type: 'm',
multiple: false,
webm: true,
description: 'Video settings.',
cppname: 'TrackVideo',
minver: 1,
crc: false
},
0xe1: {
name: 'Audio',
level: 3,
type: 'm',
multiple: false,
webm: true,
description: 'Audio settings.',
cppname: 'TrackAudio',
minver: 1,
crc: false
},
0xe2: {
name: 'TrackOperation',
level: 3,
type: 'm',
multiple: false,
description: 'Operation that needs to be applied on tracks to create this virtual track. For more details look at (#track-operation).',
minver: 3,
crc: false
},
0xe3: {
name: 'TrackCombinePlanes',
level: 4,
type: 'm',
multiple: false,
description: 'Contains the list of all video plane tracks that need to be combined to create this 3D track',
minver: 3,
crc: false
},
0xe4: {
name: 'TrackPlane',
level: 5,
type: 'm',
multiple: true,
description: 'Contains a video plane track that need to be combined to create this 3D track',
mandatory: true,
minver: 3,
crc: false
},
0xe5: {
name: 'TrackPlaneUID',
level: 6,
type: 'u',
multiple: false,
description: 'The trackUID number of the track representing the plane.',
mandatory: true,
range: 'not 0',
minver: 3,
crc: false
},
0xe6: {
name: 'TrackPlaneType',
level: 6,
type: 'u',
multiple: false,
description: 'The kind of plane this track corresponds to.',
mandatory: true,
minver: 3,
crc: false
},
0xe7: {
name: 'Timestamp',
level: 2,
type: 'u',
multiple: false,
webm: true,
description: 'Absolute timestamp of the cluster, expressed in Segment Ticks which is based on TimestampScale; see (#timestamp-ticks).',
mandatory: true,
cppname: 'ClusterTimecode',
minver: 1,
crc: false
},
0xe8: {
name: 'TimeSlice',
level: 4,
type: 'm',
multiple: true,
description: 'Contains extra time information about the data contained in the Block. Being able to interpret this Element is not required for playback.',
minver: 0,
maxver: 0,
crc: false
},
0xe9: {
name: 'TrackJoinBlocks',
level: 4,
type: 'm',
multiple: false,
description: 'Contains the list of all tracks whose Blocks need to be combined to create this virtual track',
minver: 3,
crc: false
},
0xea: {
name: 'CueCodecState',
level: 4,
type: 'u',
multiple: false,
description: 'The Segment Position ((#segment-position)) of the Codec State corresponding to this Cue Element. 0 means that the data is taken from the initial Track Entry.',
mandatory: true,
minver: 2,
default: '0',
crc: false
},
0xeb: {
name: 'CueRefCodecState',
level: 5,
type: 'u',
multiple: false,
description: 'The Segment Position of the Codec State corresponding to this referenced Element. 0 means that the data is taken from the initial Track Entry.',
minver: 0,
maxver: 0,
default: '0',
crc: false
},
0xec: {
name: 'Void',
level: -1,
type: 'b',
multiple: true,
description: 'Used to void damaged data, to avoid unexpected behaviors when using damaged data. The content is discarded. Also used to reserve space in a sub-element for later use.',
minver: 1,
crc: false
},
0xed: {
name: 'TrackJoinUID',
level: 5,
type: 'u',
multiple: true,
description: 'The trackUID number of a track whose blocks are used to create this virtual track.',
mandatory: true,
range: 'not 0',
minver: 3,
crc: false
},
0xee: {
name: 'BlockAddID',
level: 5,
type: 'u',
multiple: false,
webm: true,
description: 'An ID to identify how to interpret the BlockAdditional data; see Codec BlockAdditions section of [@?MatroskaCodec] for more information. A value of 1 indicates that the meaning of the BlockAdditional data is defined by the codec. Any other value indicates the meaning of the BlockAdditional data is found in the BlockAddIDType found in the TrackEntry.',
mandatory: true,
range: 'not 0',
minver: 1,
default: '1',
crc: false
},
0xf0: {
name: 'CueRelativePosition',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'The relative position inside the Cluster of the referenced SimpleBlock or BlockGroup with 0 being the first possible position for an Element inside that Cluster.',
minver: 4,
crc: false
},
0xf1: {
name: 'CueClusterPosition',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'The Segment Position ((#segment-position)) of the Cluster containing the associated Block.',
mandatory: true,
minver: 1,
crc: false
},
0xf7: {
name: 'CueTrack',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'The track for which a position is given.',
mandatory: true,
range: 'not 0',
minver: 1,
crc: false
},
0xfa: {
name: 'ReferencePriority',
level: 3,
type: 'u',
multiple: false,
description: 'This frame is referenced and has the specified cache priority. In cache only a frame of the same or higher priority can replace this frame. A value of 0 means the frame is not referenced.',
mandatory: true,
minver: 1,
default: '0',
crc: false
},
0xfb: {
name: 'ReferenceBlock',
level: 3,
type: 'i',
multiple: true,
webm: true,
description: 'A timestamp value, relative to the timestamp of the Block in this BlockGroup, expressed in Track Ticks; see (#timestamp-ticks). This is used to reference other frames necessary to decode this frame. The relative value **SHOULD** correspond to a valid `Block` this `Block` depends on. Historically Matroska Writer didn\'t write the actual `Block(s)` this `Block` depends on, but *some* `Block` in the past. The value "0" **MAY** also be used to signify this `Block` cannot be decoded on its own, but without knownledge of which `Block` is necessary. In this case, other `ReferenceBlock` **MUST NOT** be found in the same `BlockGroup`. If the `BlockGroup` doesn\'t have any `ReferenceBlock` element, then the `Block` it contains can be decoded without using any other `Block` data.',
minver: 1,
crc: false
},
0xfd: {
name: 'ReferenceVirtual',
level: 3,
type: 'i',
multiple: false,
description: 'The Segment Position of the data that would otherwise be in position of the virtual block.',
minver: 0,
maxver: 0,
crc: false
},
0x41a4: {
name: 'BlockAddIDName',
level: 4,
type: 's',
multiple: false,
description: 'A human-friendly name describing the type of BlockAdditional data, as defined by the associated Block Additional Mapping.',
minver: 4,
crc: false
},
0x41e4: {
name: 'BlockAdditionMapping',
level: 3,
type: 'm',
multiple: true,
description: 'Contains elements that extend the track format, by adding content either to each frame, with BlockAddID ((#blockaddid-element)), or to the track as a whole with BlockAddIDExtraData.',
minver: 4,
crc: false
},
0x41e7: {
name: 'BlockAddIDType',
level: 4,
type: 'u',
multiple: false,
description: 'Stores the registered identifier of the Block Additional Mapping to define how the BlockAdditional data should be handled.',
mandatory: true,
minver: 4,
default: '0',
crc: false
},
0x41ed: {
name: 'BlockAddIDExtraData',
level: 4,
type: 'b',
multiple: false,
description: 'Extra binary data that the BlockAddIDType can use to interpret the BlockAdditional data. The interpretation of the binary data depends on the BlockAddIDType value and the corresponding Block Additional Mapping.',
minver: 4,
crc: false
},
0x41f0: {
name: 'BlockAddIDValue',
level: 4,
type: 'u',
multiple: false,
description: 'If the track format extension needs content beside frames, the value refers to the BlockAddID ((#blockaddid-element)), value being described.',
range: '>=2',
minver: 4,
crc: false
},
0x4254: {
name: 'ContentCompAlgo',
level: 6,
type: 'u',
multiple: false,
description: 'The compression algorithm used.',
mandatory: true,
minver: 1,
default: '0',
crc: false
},
0x4255: {
name: 'ContentCompSettings',
level: 6,
type: 'b',
multiple: false,
description: 'Settings that might be needed by the decompressor. For Header Stripping (`ContentCompAlgo`=3), the bytes that were removed from the beginning of each frames of the track.',
minver: 1,
crc: false
},
0x4281: {
name: 'DocTypeExtension',
level: 1,
type: 'm',
multiple: true,
description: "A DocTypeExtension adds extra Elements to the main DocType+DocTypeVersion\ttuple it's attached to. An EBML Reader **MAY** know these extra Elements and how to use them. A DocTypeExtension **MAY** be used to iterate between\texperimental Elements before they are integrated into a regular\tDocTypeVersion. Reading one DocTypeExtension version of a DocType+DocTypeVersion tuple doesn't imply one should be able to read upper versions of this DocTypeExtension.",
minver: 1,
crc: false
},
0x4282: {
name: 'DocType',
level: 1,
type: 's',
multiple: true,
description: "A string that describes the type of document that follows this EBML header, for example 'matroska' or 'webm'.",
mandatory: true,
minver: 1,
crc: false,
default: 'matroska'
},
0x4283: {
name: 'DocTypeExtensionName',
level: 2,
type: 's',
multiple: false,
description: 'The name of the DocTypeExtension to differentiate it from other DocTypeExtensions of the same DocType+DocTypeVersion tuple. A DocTypeExtensionName value **MUST** be unique within the EBML Header.',
mandatory: true,
minver: 1,
crc: false
},
0x4284: {
name: 'DocTypeExtensionVersion',
level: 2,
type: 'u',
multiple: false,
description: 'The version of the DocTypeExtension. Different DocTypeExtensionVersion values of the same DocType + DocTypeVersion + DocTypeExtensionName tuple **MAY** contain completely different sets of extra Elements. An EBML Reader **MAY** support multiple versions\tof the same tuple, only one version of the tuple, or not support the tuple at all.',
mandatory: true,
range: 'not 0',
minver: 1,
crc: false
},
0x4285: {
name: 'DocTypeReadVersion',
level: 1,
type: 'u',
multiple: false,
description: 'The minimum DocType version an interpreter has to support to read this file.',
mandatory: true,
range: 'not 0',
minver: 1,
default: '1',
crc: false
},
0x4286: {
name: 'EBMLVersion',
level: 1,
type: 'u',
multiple: false,
description: 'The version of EBML parser used to create the file.',
mandatory: true,
range: 'not 0',
minver: 1,
default: '1',
crc: false
},
0x4287: {
name: 'DocTypeVersion',
level: 1,
type: 'u',
multiple: false,
description: 'The version of DocType interpreter used to create the file.',
mandatory: true,
range: 'not 0',
minver: 1,
default: '1',
crc: false
},
0x42f2: {
name: 'EBMLMaxIDLength',
level: 1,
type: 'u',
multiple: false,
mandatory: true,
range: '>=4',
minver: 1,
default: '4',
crc: false,
description: "The maximum length of the IDs you'll find in this file (4 or less in Matroska)."
},
0x42f3: {
name: 'EBMLMaxSizeLength',
level: 1,
type: 'u',
multiple: false,
mandatory: true,
range: 'not 0',
minver: 1,
default: '8',
crc: false,
description: "The maximum length of the sizes you'll find in this file (8 or less in Matroska). This does not override the element size indicated at the beginning of an element. Elements that have an indicated size which is larger than what is allowed by EBMLMaxSizeLength shall be considered invalid."
},
0x42f7: {
name: 'EBMLReadVersion',
level: 1,
type: 'u',
multiple: false,
description: 'The minimum EBML version a parser has to support to read this file.',
mandatory: true,
range: '1',
minver: 1,
default: '1',
crc: false
},
0x437c: {
name: 'ChapLanguage',
level: 5,
type: 's',
multiple: true,
webm: true,
description: 'A language corresponding to the string, in the Matroska languages form; see (#language-codes) on language codes. This Element **MUST** be ignored if a ChapLanguageBCP47 Element is used within the same ChapterDisplay Element.',
mandatory: true,
cppname: 'ChapterLanguage',
minver: 1,
default: 'eng',
crc: false
},
0x437d: {
name: 'ChapLanguageBCP47',
level: 5,
type: 's',
multiple: true,
description: 'A language corresponding to the ChapString, in the [@!BCP47] form; see (#language-codes) on language codes. If a ChapLanguageBCP47 Element is used, then any ChapLanguage and ChapCountry Elements used in the same ChapterDisplay **MUST** be ignored.',
cppname: 'ChapLanguageIETF',
minver: 4,
crc: false
},
0x437e: {
name: 'ChapCountry',
level: 5,
type: 's',
multiple: true,
webm: true,
description: 'A country corresponding to the string, in the Matroska countries form; see (#country-codes) on country codes. This Element **MUST** be ignored if a ChapLanguageBCP47 Element is used within the same ChapterDisplay Element.',
cppname: 'ChapterCountry',
minver: 1,
crc: false
},
0x4444: {
name: 'SegmentFamily',
level: 2,
type: 'b',
multiple: true,
description: 'A unique ID that all Segments of a Linked Segment **MUST** share (128 bits). It is equivalent to a UUID v4 [@!RFC4122] with all bits randomly (or pseudo-randomly) chosen. An actual UUID v4 value, where some bits are not random, **MAY** also be used.',
minver: 1,
crc: false
},
0x4461: {
name: 'DateUTC',
level: 2,
type: 'd',
multiple: false,
webm: true,
description: 'The date and time that the Segment was created by the muxing application or library.',
minver: 1,
crc: false
},
0x447a: {
name: 'TagLanguage',
level: 4,
type: 's',
multiple: false,
webm: true,
description: 'Specifies the language of the tag specified, in the Matroska languages form; see (#language-codes) on language codes. This Element **MUST** be ignored if the TagLanguageBCP47 Element is used within the same SimpleTag Element.',
mandatory: true,
cppname: 'TagLangue',
minver: 1,
default: 'und',
crc: false
},
0x447b: {
name: 'TagLanguageBCP47',
level: 4,
type: 's',
multiple: false,
description: 'The language used in the TagString, in the [@!BCP47] form; see (#language-codes) on language codes. If this Element is used, then any TagLanguage Elements used in the same SimpleTag **MUST** be ignored.',
cppname: 'TagLanguageIETF',
minver: 4,
crc: false
},
0x4484: {
name: 'TagDefault',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'A boolean value to indicate if this is the default/original language to use for the given tag.',
mandatory: true,
range: '0-1',
minver: 1,
default: '1',
crc: false
},
0x4485: {
name: 'TagBinary',
level: 4,
type: 'b',
multiple: false,
webm: true,
description: 'The values of the Tag, if it is binary. Note that this cannot be used in the same SimpleTag as TagString.',
minver: 1,
crc: false
},
0x4487: {
name: 'TagString',
level: 4,
type: '8',
multiple: false,
webm: true,
description: 'The value of the Tag.',
minver: 1,
crc: false
},
0x4489: {
name: 'Duration',
level: 2,
type: 'f',
multiple: false,
webm: true,
description: 'Duration of the Segment, expressed in Segment Ticks which is based on TimestampScale; see (#timestamp-ticks).',
range: '> 0x0p+0',
minver: 1,
crc: false
},
0x44b4: {
name: 'TagDefaultBogus',
level: 4,
type: 'u',
multiple: false,
description: 'A variant of the TagDefault element with a bogus Element ID; see (#tagdefault-element).',
mandatory: true,
range: '0-1',
minver: 0,
maxver: 0,
default: '1',
crc: false
},
0x450d: {
name: 'ChapProcessPrivate',
level: 5,
type: 'b',
multiple: false,
description: 'Some optional data attached to the ChapProcessCodecID information. For ChapProcessCodecID = 1, it is the "DVD level" equivalent; see (#menu-features) on DVD menus.',
cppname: 'ChapterProcessPrivate',
minver: 1,
crc: false
},
0x4520: {
name: 'EditionDisplay',
level: 3,
type: 'm',
multiple: true,
description: 'Contains a possible string to use for the edition display for the given languages.',
minver: 5,
crc: false
},
0x4521: {
name: 'EditionString',
level: 4,
type: '8',
multiple: false,
description: 'Contains the string to use as the edition name.',
mandatory: true,
minver: 5,
crc: false
},
0x4588: {
name: 'ChapterSkipType',
level: 4,
type: 'u',
multiple: false,
webm: false,
description: "Indicate what type of content the ChapterAtom contains and might be skipped. It can be used to automatically skip content based on the type. If a `ChapterAtom` is inside a `ChapterAtom` that has a `ChapterSkipType` set, it **MUST NOT** have a `ChapterSkipType` or have a `ChapterSkipType` with the same value as it's parent `ChapterAtom`. If the `ChapterAtom` doesn't contain a `ChapterTimeEnd`, the value of the `ChapterSkipType` is only valid until the next `ChapterAtom` with a `ChapterSkipType` value or the end of the file. ",
minver: 5,
crc: false
},
0x4598: {
name: 'ChapterFlagEnabled',
level: 4,
type: 'u',
multiple: false,
description: 'Set to 1 if the chapter is enabled. It can be enabled/disabled by a Control Track. When disabled, the movie **SHOULD** skip all the content between the TimeStart and TimeEnd of this chapter; see (#chapter-flags) on Chapter flags.',
mandatory: true,
range: '0-1',
minver: 1,
default: '1',
crc: false
},
0x45a3: {
name: 'TagName',
level: 4,
type: '8',
multiple: false,
webm: true,
description: 'The name of the Tag that is going to be stored.',
mandatory: true,
minver: 1,
crc: false
},
0x45b9: {
name: 'EditionEntry',
level: 2,
type: 'm',
multiple: true,
webm: true,
description: 'Contains all information about a Segment edition.',
mandatory: true,
minver: 1,
crc: false
},
0x45bc: {
name: 'EditionUID',
level: 3,
type: 'u',
multiple: false,
description: "A unique ID to identify the edition. It's useful for tagging an edition.",
range: 'not 0',
minver: 1,
crc: false
},
0x45bd: {
name: 'EditionFlagHidden',
level: 3,
type: 'u',
multiple: false,
description: 'Set to 1 if an edition is hidden. Hidden editions **SHOULD NOT** be available to the user interface (but still to Control Tracks; see (#chapter-flags) on Chapter flags).',
mandatory: true,
range: '0-1',
minver: 1,
default: '0',
crc: false
},
0x45db: {
name: 'EditionFlagDefault',
level: 3,
type: 'u',
multiple: false,
description: 'Set to 1 if the edition **SHOULD** be used as the default one.',
mandatory: true,
range: '0-1',
minver: 1,
default: '0',
crc: false
},
0x45dd: {
name: 'EditionFlagOrdered',
level: 3,
type: 'u',
multiple: false,
description: 'Set to 1 if the chapters can be defined multiple times and the order to play them is enforced; see (#editionflagordered).',
mandatory: true,
range: '0-1',
minver: 1,
default: '0',
crc: false
},
0x45e4: {
name: 'EditionLanguageIETF',
level: 4,
type: 's',
multiple: true,
description: 'One language corresponding to the EditionString, in the [@!BCP47] form; see (#language-codes) on language codes.',
minver: 5,
crc: false
},
0x465c: {
name: 'FileData',
level: 3,
type: 'b',
multiple: false,
description: 'The data of the file.',
mandatory: true,
minver: 1,
crc: false
},
0x4660: {
name: 'FileMediaType',
level: 3,
type: 's',
multiple: false,
description: 'Media type of the file following the [@!RFC6838] format.',
mandatory: true,
cppname: 'MimeType',
minver: 1,
crc: false
},
0x4661: {
name: 'FileUsedStartTime',
level: 3,
type: 'u',
multiple: false,
description: 'The timestamp at which this optimized font attachment comes into context, expressed in Segment Ticks which is based on TimestampScale. See [@?DivXWorldFonts].',
minver: 0,
maxver: 0,
divx: true,
crc: false
},
0x4662: {
name: 'FileUsedEndTime',
level: 3,
type: 'u',
multiple: false,
description: 'The timestamp at which this optimized font attachment goes out of context, expressed in Segment Ticks which is based on TimestampScale. See [@?DivXWorldFonts].',
minver: 0,
maxver: 0,
divx: true,
crc: false
},
0x466e: {
name: 'FileName',
level: 3,
type: '8',
multiple: false,
description: 'Filename of the attached file.',
mandatory: true,
minver: 1,
crc: false
},
0x4675: {
name: 'FileReferral',
level: 3,
type: 'b',
multiple: false,
description: 'A binary value that a track/codec can refer to when the attachment is needed.',
minver: 0,
maxver: 0,
crc: false
},
0x467e: {
name: 'FileDescription',
level: 3,
type: '8',
multiple: false,
description: 'A human-friendly name for the attached file.',
minver: 1,
crc: false
},
0x46ae: {
name: 'FileUID',
level: 3,
type: 'u',
multiple: false,
description: 'Unique ID representing the file, as random as possible.',
mandatory: true,
range: 'not 0',
minver: 1,
crc: false
},
0x47e1: {
name: 'ContentEncAlgo',
level: 6,
type: 'u',
multiple: false,
webm: true,
description: 'The encryption algorithm used.',
mandatory: true,
minver: 1,
default: '0',
crc: false
},
0x47e2: {
name: 'ContentEncKeyID',
level: 6,
type: 'b',
multiple: false,
webm: true,
description: 'For public key algorithms this is the ID of the public key the the data was encrypted with.',
minver: 1,
crc: false
},
0x47e3: {
name: 'ContentSignature',
level: 6,
type: 'b',
multiple: false,
description: 'A cryptographic signature of the contents.',
minver: 1,
maxver: 0,
crc: false
},
0x47e4: {
name: 'ContentSigKeyID',
level: 6,
type: 'b',
multiple: false,
description: 'This is the ID of the private key the data was signed with.',
minver: 1,
maxver: 0,
crc: false
},
0x47e5: {
name: 'ContentSigAlgo',
level: 6,
type: 'u',
multiple: false,
description: 'The algorithm used for the signature.',
minver: 1,
maxver: 0,
default: '0',
crc: false
},
0x47e6: {
name: 'ContentSigHashAlgo',
level: 6,
type: 'u',
multiple: false,
description: 'The hash algorithm used for the signature.',
minver: 1,
maxver: 0,
default: '0',
crc: false
},
0x47e7: {
name: 'ContentEncAESSettings',
level: 6,
type: 'm',
multiple: true,
webm: true,
description: 'Settings describing the encryption algorithm used. If `ContentEncAlgo` != 5 this **MUST** be ignored.',
minver: 4,
crc: false
},
0x47e8: {
name: 'AESSettingsCipherMode',
level: 7,
type: 'u',
multiple: true,
webm: true,
description: 'The AES cipher mode used in the encryption.',
mandatory: true,
minver: 4,
crc: false
},
0x4d80: {
name: 'MuxingApp',
level: 2,
type: '8',
multiple: false,
webm: true,
description: 'Muxing application or library (example: "libmatroska-0.4.3").',
mandatory: true,
minver: 1,
crc: false
},
0x4dbb: {
name: 'Seek',
level: 2,
type: 'm',
multiple: true,
webm: true,
description: 'Contains a single seek entry to an EBML Element.',
mandatory: true,
minver: 1,
crc: false
},
0x5031: {
name: 'ContentEncodingOrder',
level: 5,
type: 'u',
multiple: true,
webm: true,
description: 'Tells when this modification was used during encoding/muxing starting with 0 and counting upwards. The decoder/demuxer has to start with the highest order number it finds and work its way down. This value has to be unique over all ContentEncodingOrder Elements in the TrackEntry that contains this ContentEncodingOrder element.',
mandatory: true,
minver: 1,
default: '0',
crc: false
},
0x5032: {
name: 'ContentEncodingScope',
level: 5,
type: 'u',
multiple: false,
webm: true,
description: "A bit field that describes which Elements have been modified in this way. Values (big-endian) can be OR'ed.",
mandatory: true,
minver: 1,
default: '1',
crc: false
},
0x5033: {
name: 'ContentEncodingType',
level: 5,
type: 'u',
multiple: false,
webm: true,
description: 'A value describing what kind of transformation is applied.',
mandatory: true,
minver: 1,
default: '0',
crc: false
},
0x5034: {
name: 'ContentCompression',
level: 5,
type: 'm',
multiple: false,
description: 'Settings describing the compression used. This Element **MUST** be present if the value of ContentEncodingType is 0 and absent otherwise. Each block **MUST** be decompressable even if no previous block is available in order not to prevent seeking.',
minver: 1,
crc: false
},
0x5035: {
name: 'ContentEncryption',
level: 5,
type: 'm',
multiple: false,
webm: true,
description: 'Settings describing the encryption used. This Element **MUST** be present if the value of `ContentEncodingType` is 1 (encryption) and **MUST** be ignored otherwise. A Matroska Player **MAY** support encryption.',
minver: 1,
crc: false
},
0x52f1: {
name: 'Emphasis',
level: 4,
type: 'u',
multiple: false,
description: 'Audio emphasis applied on audio samples. The player **MUST** apply the inverse emphasis to get the proper audio samples.',
mandatory: true,
minver: 5,
default: '0',
crc: false
},
0x535f: {
name: 'CueRefNumber',
level: 5,
type: 'u',
multiple: false,
description: 'Number of the referenced Block of Track X in the specified Cluster.',
range: 'not 0',
minver: 0,
maxver: 0,
default: '1',
crc: false
},
0x536e: {
name: 'Name',
level: 3,
type: '8',
multiple: false,
webm: true,
description: 'A human-readable track name.',
cppname: 'TrackName',
minver: 1,
crc: false
},
0x5378: {
name: 'CueBlockNumber',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'Number of the Block in the specified Cluster.',
range: 'not 0',
minver: 1,
crc: false
},
0x537f: {
name: 'TrackOffset',
level: 3,
type: 'i',
multiple: false,
description: "A value to add to the Block's Timestamp, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks). This can be used to adjust the playback offset of a track.",
minver: 0,
maxver: 0,
default: '0',
crc: false
},
0x53ab: {
name: 'SeekID',
level: 3,
type: 'b',
multiple: false,
webm: true,
description: 'The binary EBML ID of a Top-Level Element.',
mandatory: true,
minver: 1,
crc: false
},
0x53ac: {
name: 'SeekPosition',
level: 3,
type: 'u',
multiple: false,
webm: true,
description: 'The Segment Position ((#segment-position)) of a Top-Level Element.',
mandatory: true,
minver: 1,
crc: false
},
0x53b8: {
name: 'StereoMode',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'Stereo-3D video mode. There are some more details in (#multi-planar-and-3d-videos).',
mandatory: true,
cppname: 'VideoStereoMode',
minver: 3,
default: '0',
crc: false
},
0x53b9: {
name: 'OldStereoMode',
level: 4,
type: 'u',
multiple: false,
description: 'Bogus StereoMode value used in old versions of libmatroska.',
minver: 1,
maxver: 2,
crc: false
},
0x53c0: {
name: 'AlphaMode',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'Indicate whether the BlockAdditional Element with BlockAddID of "1" contains Alpha data, as defined by to the Codec Mapping for the `CodecID`. Undefined values **SHOULD NOT** be used as the behavior of known implementations is different (considered either as 0 or 1).',
mandatory: true,
cppname: 'VideoAlphaMode',
minver: 3,
default: '0',
crc: false
},
0x54aa: {
name: 'PixelCropBottom',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'The number of video pixels to remove at the bottom of the image.',
mandatory: true,
cppname: 'VideoPixelCropBottom',
minver: 1,
default: '0',
crc: false
},
0x54b0: {
name: 'DisplayWidth',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'Width of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements).',
range: 'not 0',
cppname: 'VideoDisplayWidth',
minver: 1,
crc: false
},
0x54b2: {
name: 'DisplayUnit',
level: 4,
type: 'u',
multiple: false,
webm: true,
description: 'How DisplayWidth & DisplayHeight are interpreted.',