Matroska Element Specification
What is Matroska?
Downloads
mkclean
mkvalidator
libraries
MKVToolNix
Third-party applications
Test suite
Source code repositories
FAQ
Technical / Info
Basics
Data Layout
Element Specifications
Specification Notes
Element Ordering
Chapters
Chapter Codecs
Attachments
Cues
Streaming
Codec Mapping
Subtitles
Block Additional Mappings
Tags
Audio Examples
Video Examples
Tags Precedence
Implementation Recommendations
EBML RFC
Contributors
License
Legal aspects
Logos & trademarks
Contact
Legend
Element Name — The full name of the described element
L — The level within an EBML tree that the element may occur at. + is for a recursive level (can be its own child). g: global element (can be found at any level)
EBML ID — The Element ID displayed as octets
Ma — "mand." means that the element is mandatory and must be present if the parent element is present unless the element has a default value
Mu — "mult." means that the element may occur multiple times as a child of the same parent
Rng — Valid range of values to store in the element
Default — The default value of the element to use if the parent element is present but this element is not
T — The element's type, the form of data the element contains (m: master; b: binary; f: floating point number; u: unsigned integer; i: signed integer; 8: Unicode string; s: ASCII string; d: date & time)
1, 2, 3, 4 — the Matroska specification versions this element is contained in (v4 is still work in progress; additions and changes are possible)
W — All elements available for use in WebM.
Description — A short description of the element's purpose.
Matroska v4 element specification
Note: this is Matroska version 4 generated from
ebml_matroska.xml
git revision a1f7f0a @ 2023-04-01 17:17:24 +0200
Element Name
EBML ID
Ma
Mu
Rng
Default
Description
EBMLMaxIDLength
0x42F2
mand.
EBMLMaxSizeLength
0x42F3
mand.
1-8
Element Name
EBML ID
Ma
Mu
Rng
Default
Description
Segment
Segment
0x18538067
mand.
The Root Element that contains all other Top-Level Elements; see data-layout.
Element Name
EBML ID
Ma
Mu
Rng
Default
Description
Meta Seek Information
SeekHead
0x114D9B74
mult.
Contains seeking information of Top-Level Elements; see data-layout.
Seek
0x4DBB
mand.
mult.
Contains a single seek entry to an EBML Element.
SeekID
0x53AB
mand.
The binary EBML ID of a Top-Level Element.
SeekPosition
0x53AC
mand.
The Segment Position (segment-position) of a Top-Level Element.
Element Name
EBML ID
Ma
Mu
Rng
Default
Description
Segment Information
Info
0x1549A966
mand.
Contains general information about the Segment.
SegmentUUID
0x73A4
A randomly generated unique ID to identify the Segment amongst many others (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. If the Segment is a part of a Linked Segment, then this Element is **REQUIRED**.
The value of the unique ID **MUST** contain at least one bit set to 1.
SegmentFilename
0x7384
A filename corresponding to this Segment.
PrevUUID
0x3CB923
An ID to identify the previous Segment of a Linked Segment. If the Segment is a part of a Linked Segment that uses Hard Linking (hard-linking),
then either the PrevUUID or the NextUUID Element is **REQUIRED**. If a Segment contains a PrevUUID but not a NextUUID,
then it **MAY** be considered as the last Segment of the Linked Segment. The PrevUUID **MUST NOT** be equal to the SegmentUUID.
PrevFilename
0x3C83AB
A filename corresponding to the file of the previous Linked Segment. Provision of the previous filename is for display convenience,
but PrevUUID **SHOULD** be considered authoritative for identifying the previous Segment in a Linked Segment.
NextUUID
0x3EB923
An ID to identify the next Segment of a Linked Segment. If the Segment is a part of a Linked Segment that uses Hard Linking (hard-linking),
then either the PrevUUID or the NextUUID Element is **REQUIRED**. If a Segment contains a NextUUID but not a PrevUUID,
then it **MAY** be considered as the first Segment of the Linked Segment. The NextUUID **MUST NOT** be equal to the SegmentUUID.
NextFilename
0x3E83BB
A filename corresponding to the file of the next Linked Segment. Provision of the next filename is for display convenience,
but NextUUID **SHOULD** be considered authoritative for identifying the Next Segment.
SegmentFamily
0x4444
mult.
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. If the Segment Info contains a `ChapterTranslate` element, this Element is **REQUIRED**.
ChapterTranslate
0x6924
mult.
The mapping between this `Segment` and a segment value in the given Chapter Codec. Chapter Codec may need to address different segments, but they may not know of the way to identify such segment when stored in Matroska.
This element and its child elements add a way to map the internal segments known to the Chapter Codec to the Segment IDs in Matroska.
This allows remuxing a file with Chapter Codec without changing the content of the codec data, just the Segment mapping.
ChapterTranslateID
0x69A5
mand.
The binary value used to represent this Segment in the chapter codec data.
The format depends on the ChapProcessCodecID used; see
ChapProcessCodecID
ChapterTranslateCodec
0x69BF
mand.
This `ChapterTranslate` applies to this chapter codec of the given chapter edition(s); see
ChapProcessCodecID
0 - Matroska Script,
1 - DVD-menu
ChapterTranslateEditionUID
0x69FC
mult.
Specify a chapter edition UID on which this `ChapterTranslate` applies. When no `ChapterTranslateEditionUID` is specified in the `ChapterTranslate`, the `ChapterTranslate` applies to all chapter editions found in the Segment using the given `ChapterTranslateCodec`.
TimestampScale
0x2AD7B1
mand.
not 0
1000000
Base unit for Segment Ticks and Track Ticks, in nanoseconds. A TimestampScale value of 1000000 means scaled timestamps in the Segment are expressed in milliseconds; see timestamps on how to interpret timestamps.
Duration
0x4489
> 0.0
Duration of the Segment, expressed in Segment Ticks which is based on TimestampScale; see timestamp-ticks.
DateUTC
0x4461
The date and time that the Segment was created by the muxing application or library.
Title
0x7BA9
General name of the Segment.
MuxingApp
0x4D80
mand.
Muxing application or library (example: "libmatroska-0.4.3"). Include the full name of the application or library followed by the version number.
WritingApp
0x5741
mand.
Writing application (example: "mkvmerge-0.3.3"). Include the full name of the application followed by the version number.
Element Name
EBML ID
Ma
Mu
Rng
Default
Description
Cluster
Cluster
0x1F43B675
mult.
The Top-Level Element containing the (monolithic) Block structure.
Timestamp
0xE7
mand.
Absolute timestamp of the cluster, expressed in Segment Ticks which is based on TimestampScale; see timestamp-ticks. This element **SHOULD** be the first child element of the Cluster it belongs to,
or the second if that Cluster contains a CRC-32 element (crc-32).
SilentTracks
0x5854
The list of tracks that are not used in that part of the stream.
It is useful when using overlay tracks on seeking or to decide what track to use.
SilentTrackNumber
0x58D7
mult.
One of the track number that are not used from now on in the stream.
It could change later if not specified as silent in a further Cluster.
Position
0xA7
The Segment Position of the Cluster in the Segment (0 in live streams).
It might help to resynchronise offset on damaged streams.
PrevSize
0xAB
Size of the previous Cluster, in octets. Can be useful for backward playing.
SimpleBlock
0xA3
mult.
Similar to Block, see
basics
, but without all the extra information,
mostly used to reduced overhead when no extra feature is needed; see
basics
on SimpleBlock Structure.
BlockGroup
0xA0
mult.
Basic container of information containing a single Block and information specific to that Block.
Block
0xA1
mand.
Block containing the actual data to be rendered and a timestamp relative to the Cluster Timestamp;
see
basics
on Block Structure.
BlockVirtual
0xA2
A Block with no data. It must be stored in the stream at the place the real Block would be in display order.
BlockAdditions
0x75A1
Contain additional binary data to complete the main one; see Codec BlockAdditions section of
Matroska codec RFC
for more information.
An EBML parser that has no knowledge of the Block structure could still see and use/skip these data.
BlockMore
0xA6
mand.
mult.
Contain the BlockAdditional and some parameters.
BlockAdditional
0xA5
mand.
Interpreted by the codec as it wishes (using the BlockAddID).
BlockAddID
0xEE
mand.
not 0
An ID to identify how to interpret the BlockAdditional data; see Codec BlockAdditions section of
Matroska codec RFC
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. Each BlockAddID value **MUST** be unique between all BlockMore elements found in a BlockAdditions.To keep MaxBlockAdditionID as low as possible, small values **SHOULD** be used.
BlockDuration
0x9B
[desc.]
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. When not written and with no DefaultDuration, the value is assumed to be the difference between the timestamp of this Block and the timestamp of the next Block in "display" order (not coding order). BlockDuration **MUST** be set if the associated TrackEntry stores a DefaultDuration value.
ReferencePriority
0xFA
mand.
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.
ReferenceBlock
0xFB
mult.
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.
ReferenceVirtual
0xFD
The Segment Position of the data that would otherwise be in position of the virtual block.
CodecState
0xA4
The new codec state to use. Data interpretation is private to the codec.
This information **SHOULD** always be referenced by a seek entry.
DiscardPadding
0x75A2
Duration of the silent data added to the Block, expressed in Matroska Ticks -- i.e., in nanoseconds; see timestamp-ticks
(padding at the end of the Block for positive value, at the beginning of the Block for negative value).
The duration of DiscardPadding is not calculated in the duration of the TrackEntry and **SHOULD** be discarded during playback.
Slices
0x8E
Contains slices description.
TimeSlice
0xE8
mult.
Contains extra time information about the data contained in the Block.
Being able to interpret this Element is not required for playback.
LaceNumber
0xCC
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.
FrameNumber
0xCD
The number of the frame to generate from this lace with this delay
(allow you to generate many frames from the same Block/Frame).
BlockAdditionID
0xCB
The ID of the BlockAdditional Element (0 is the main Block).
Delay
0xCE
The delay to apply to the Element, expressed in Track Ticks; see timestamp-ticks.
SliceDuration
0xCF
The duration to apply to the Element, expressed in Track Ticks; see timestamp-ticks.
ReferenceFrame
0xC8
Contains information about the last reference frame. See [@?DivXTrickTrack].
ReferenceOffset
0xC9
mand.
The relative offset, in bytes, from the previous BlockGroup element for this Smooth FF/RW video track to the containing BlockGroup element. See [@?DivXTrickTrack].
ReferenceTimestamp
0xCA
mand.
The timestamp of the BlockGroup pointed to by ReferenceOffset, expressed in Track Ticks; see timestamp-ticks. See [@?DivXTrickTrack].
EncryptedBlock
0xAF
mult.
Similar to SimpleBlock, see
basics
but the data inside the Block are Transformed (encrypt and/or signed).
Element Name
EBML ID
Ma
Mu
Rng
Default
Description
Track
Tracks
0x1654AE6B
A Top-Level Element of information with many tracks described.
TrackEntry
0xAE
mand.
mult.
Describes a track with all Elements.
TrackNumber
0xD7
mand.
not 0
The track number as used in the Block Header.
TrackUID
0x73C5
mand.
not 0
A unique ID to identify the Track.
TrackType
0x83
mand.
The `TrackType` defines the type of each frame found in the Track.
The value **SHOULD** be stored on 1 octet.
1 - video,
2 - audio,
3 - complex,
16 - logo,
17 - subtitle,
18 - buttons,
32 - control,
33 - metadata
FlagEnabled
0xB9
mand.
0-1
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.
FlagDefault
0x88
mand.
0-1
Set if that track (audio, video or subs) is eligible for automatic selection by the player; see default-track-selection for more details.
FlagForced
0x55AA
mand.
0-1
Applies only to subtitles. Set if that track is eligible for automatic selection by the player if it matches the user's language preference,
even if the user's preferences would normally not enable subtitles with the selected audio track;
this can be used for tracks containing only translations of foreign-language audio or onscreen text.
See default-track-selection for more details.
FlagHearingImpaired
0x55AB
0-1
Set to 1 if and only if that track is suitable for users with hearing impairments.
FlagVisualImpaired
0x55AC
0-1
Set to 1 if and only if that track is suitable for users with visual impairments.
FlagTextDescriptions
0x55AD
0-1
Set to 1 if and only if that track contains textual descriptions of video content.
FlagOriginal
0x55AE
0-1
Set to 1 if and only if that track is in the content's original language.
FlagCommentary
0x55AF
0-1
Set to 1 if and only if that track contains commentary.
FlagLacing
0x9C
mand.
0-1
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.
MinCache
0x6DE7
mand.
The minimum number of frames a player should be able to cache during playback.
If set to 0, the reference pseudo-cache system is not used.
MaxCache
0x6DF8
The maximum cache size necessary to store referenced frames in and the current frame.
0 means no cache is needed.
DefaultDuration
0x23E383
not 0
Number of nanoseconds per frame, expressed in Matroska Ticks -- i.e., in nanoseconds; see timestamp-ticks
(frame in the Matroska sense -- one Element put into a (Simple)Block).
DefaultDecodedFieldDuration
0x234E7A
not 0
The period between two successive fields at the output of the decoding process, expressed in Matroska Ticks -- i.e., in nanoseconds; see timestamp-ticks.
see
notes
for more information
TrackTimestampScale
0x23314F
mand.
> 0.0
1.0
The scale to apply on this track to work at normal speed in relation with other tracks
(mostly used to adjust video speed when the audio length differs).
TrackOffset
0x537F
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.
MaxBlockAdditionID
0x55EE
mand.
The maximum value of BlockAddID (
BlockAddID
).
A value 0 means there is no BlockAdditions (
BlockAdditions
) for this track.
BlockAdditionMapping
0x41E4
mult.
Contains elements that extend the track format, by adding content either to each frame,
with BlockAddID (
BlockAddID
), or to the track as a whole
with BlockAddIDExtraData.
BlockAddIDValue
0x41F0
>=2
If the track format extension needs content beside frames,
the value refers to the BlockAddID (
BlockAddID
), value being described. To keep MaxBlockAdditionID as low as possible, small values **SHOULD** be used.
BlockAddIDName
0x41A4
A human-friendly name describing the type of BlockAdditional data,
as defined by the associated Block Additional Mapping.
BlockAddIDType
0x41E7
mand.
Stores the registered identifier of the Block Additional Mapping
to define how the BlockAdditional data should be handled. If BlockAddIDType is 0, the BlockAddIDValue and corresponding BlockAddID values **MUST** be 1.
BlockAddIDExtraData
0x41ED
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.
Name
0x536E
A human-readable track name.
Language
0x22B59C
mand.
eng
The language of the track,
in the Matroska languages form; see
basics
on language codes.
This Element **MUST** be ignored if the LanguageBCP47 Element is used in the same TrackEntry.
LanguageBCP47
0x22B59D
The language of the track,
in the [@!BCP47] form; see
basics
on language codes.
If this Element is used, then any Language Elements used in the same TrackEntry **MUST** be ignored.
CodecID
0x86
mand.
An ID corresponding to the codec,
see
Matroska codec RFC
for more info.
CodecPrivate
0x63A2
Private data only known to the codec.
CodecName
0x258688
A human-readable string specifying the codec.
AttachmentLink
0x7446
not 0
The UID of an attachment that is used by this codec. The value **MUST** match the `FileUID` value of an attachment found in this Segment.
CodecSettings
0x3A9697
A string describing the encoding setting used.
CodecInfoURL
0x3B4040
mult.
A URL to find information about the codec used.
CodecDownloadURL
0x26B240
mult.
A URL to download about the codec used.
CodecDecodeAll
0xAA
mand.
0-1
Set to 1 if the codec can decode potentially damaged data.
TrackOverlay
0x6FAB
mult.
Specify that this track is an overlay track for the Track specified (in the u-integer).
That means when this track has a gap on SilentTracks,
the overlay track should be used instead. The order of multiple TrackOverlay matters, the first one is the one that should be used.
If not found it should be the second, etc.
CodecDelay
0x56AA
mand.
CodecDelay is The codec-built-in delay, expressed in Matroska Ticks -- i.e., in nanoseconds; see timestamp-ticks.
It represents the amount of codec samples that will be discarded by the decoder during playback.
This timestamp value **MUST** be subtracted from each frame timestamp in order to get the timestamp that will be actually played.
The value **SHOULD** be small so the muxing of tracks with the same actual timestamp are in the same Cluster.
SeekPreRoll
0x56BB
mand.
After a discontinuity, SeekPreRoll is the duration of the data
the decoder **MUST** decode before the decoded data is valid, expressed in Matroska Ticks -- i.e., in nanoseconds; see timestamp-ticks.
TrackTranslate
0x6624
mult.
The mapping between this `TrackEntry` and a track value in the given Chapter Codec. Chapter Codec may need to address content in specific track, but they may not know of the way to identify tracks in Matroska.
This element and its child elements add a way to map the internal tracks known to the Chapter Codec to the track IDs in Matroska.
This allows remuxing a file with Chapter Codec without changing the content of the codec data, just the track mapping.
TrackTranslateTrackID
0x66A5
mand.
The binary value used to represent this `TrackEntry` in the chapter codec data.
The format depends on the `ChapProcessCodecID` used; see
ChapProcessCodecID
TrackTranslateCodec
0x66BF
mand.
This `TrackTranslate` applies to this chapter codec of the given chapter edition(s); see
ChapProcessCodecID
0 - Matroska Script,
1 - DVD-menu
TrackTranslateEditionUID
0x66FC
mult.
Specify a chapter edition UID on which this `TrackTranslate` applies. When no `TrackTranslateEditionUID` is specified in the `TrackTranslate`, the `TrackTranslate` applies to all chapter editions found in the Segment using the given `TrackTranslateCodec`.
Video
0xE0
Video settings.
FlagInterlaced
0x9A
mand.
Specify whether the video frames in this track are interlaced.
0 - undetermined,
1 - interlaced,
2 - progressive
FieldOrder
0x9D
mand.
Specify the field ordering of video frames in this track. If FlagInterlaced is not set to 1, this Element **MUST** be ignored.
0 - progressive,
1 - tff,
2 - undetermined,
6 - bff,
9 - bff(swapped),
14 - tff(swapped)
StereoMode
0x53B8
mand.
Stereo-3D video mode. There are some more details in
notes
0 - mono,
1 - side by side (left eye first),
2 - top - bottom (right eye is first),
3 - top - bottom (left eye is first),
4 - checkboard (right eye is first),
5 - checkboard (left eye is first),
6 - row interleaved (right eye is first),
7 - row interleaved (left eye is first),
8 - column interleaved (right eye is first),
9 - column interleaved (left eye is first),
10 - anaglyph (cyan/red),
11 - side by side (right eye first),
12 - anaglyph (green/magenta),
13 - both eyes laced in one Block (left eye is first),
14 - both eyes laced in one Block (right eye is first)
AlphaMode
0x53C0
mand.
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).
0 - none,
1 - present
OldStereoMode
0x53B9
Bogus StereoMode value used in old versions of libmatroska. This Element **MUST NOT** be used. It was an incorrect value used in libmatroska up to 0.9.0.
0 - mono,
1 - right eye,
2 - left eye,
3 - both eyes
PixelWidth
0xB0
mand.
not 0
Width of the encoded video frames in pixels.
PixelHeight
0xBA
mand.
not 0
Height of the encoded video frames in pixels.
PixelCropBottom
0x54AA
mand.
The number of video pixels to remove at the bottom of the image.
PixelCropTop
0x54BB
mand.
The number of video pixels to remove at the top of the image.
PixelCropLeft
0x54CC
mand.
The number of video pixels to remove on the left of the image.
PixelCropRight
0x54DD
mand.
The number of video pixels to remove on the right of the image.
DisplayWidth
0x54B0
not 0
[desc.]
Width of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements). If the DisplayUnit of the same TrackEntry is 0, then the default value for DisplayWidth is equal to
PixelWidth - PixelCropLeft - PixelCropRight, else there is no default value.
DisplayHeight
0x54BA
not 0
[desc.]
Height of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements). If the DisplayUnit of the same TrackEntry is 0, then the default value for DisplayHeight is equal to
PixelHeight - PixelCropTop - PixelCropBottom, else there is no default value.
DisplayUnit
0x54B2
mand.
How DisplayWidth & DisplayHeight are interpreted.
0 - pixels,
1 - centimeters,
2 - inches,
3 - display aspect ratio,
4 - unknown
AspectRatioType
0x54B3
Specify the possible modifications to the aspect ratio.
0 - free resizing,
1 - keep aspect ratio,
2 - fixed
UncompressedFourCC
0x2EB524
Specify the uncompressed pixel format used for the Track's data as a FourCC.
This value is similar in scope to the biCompression value of AVI's `BITMAPINFO` [@?AVIFormat]. There is no definitive list of FourCC values, nor an official registry. Some common values for YUV pixel formats can be found at [@?MSYUV8], [@?MSYUV16] and [@?FourCC-YUV]. Some common values for uncompressed RGB pixel formats can be found at [@?MSRGB] and [@?FourCC-RGB]. UncompressedFourCC **MUST** be set in TrackEntry, when the CodecID Element of the TrackEntry is set to "V_UNCOMPRESSED".
GammaValue
0x2FB523
> 0.0
Gamma Value.
FrameRate
0x2383E3
> 0.0
Number of frames per second. This value is Informational only. It is intended for constant frame rate streams, and should not be used for a variable frame rate TrackEntry.
Colour
0x55B0
Settings describing the colour format.
MatrixCoefficients
0x55B1
mand.
The Matrix Coefficients of the video used to derive luma and chroma values from red, green, and blue color primaries.
For clarity, the value and meanings for MatrixCoefficients are adopted from Table 4 of ISO/IEC 23001-8:2016 or ITU-T H.273.
0 - Identity,
1 - ITU-R BT.709,
2 - unspecified,
3 - reserved,
4 - US FCC 73.682,
5 - ITU-R BT.470BG,
6 - SMPTE 170M,
7 - SMPTE 240M,
8 - YCoCg,
9 - BT2020 Non-constant Luminance,
10 - BT2020 Constant Luminance,
11 - SMPTE ST 2085,
12 - Chroma-derived Non-constant Luminance,
13 - Chroma-derived Constant Luminance,
14 - ITU-R BT.2100-0
BitsPerChannel
0x55B2
mand.
Number of decoded bits per channel. A value of 0 indicates that the BitsPerChannel is unspecified.
ChromaSubsamplingHorz
0x55B3
The amount of pixels to remove in the Cr and Cb channels for every pixel not removed horizontally.
Example: For video with 4:2:0 chroma subsampling, the ChromaSubsamplingHorz **SHOULD** be set to 1.
ChromaSubsamplingVert
0x55B4
The amount of pixels to remove in the Cr and Cb channels for every pixel not removed vertically.
Example: For video with 4:2:0 chroma subsampling, the ChromaSubsamplingVert **SHOULD** be set to 1.
CbSubsamplingHorz
0x55B5
The amount of pixels to remove in the Cb channel for every pixel not removed horizontally.
This is additive with ChromaSubsamplingHorz. Example: For video with 4:2:1 chroma subsampling,
the ChromaSubsamplingHorz **SHOULD** be set to 1 and CbSubsamplingHorz **SHOULD** be set to 1.
CbSubsamplingVert
0x55B6
The amount of pixels to remove in the Cb channel for every pixel not removed vertically.
This is additive with ChromaSubsamplingVert.
ChromaSitingHorz
0x55B7
mand.
How chroma is subsampled horizontally.
0 - unspecified,
1 - left collocated,
2 - half
ChromaSitingVert
0x55B8
mand.
How chroma is subsampled vertically.
0 - unspecified,
1 - top collocated,
2 - half
Range
0x55B9
mand.
Clipping of the color ranges.
0 - unspecified,
1 - broadcast range,
2 - full range (no clipping),
3 - defined by MatrixCoefficients / TransferCharacteristics
TransferCharacteristics
0x55BA
mand.
The transfer characteristics of the video. For clarity,
the value and meanings for TransferCharacteristics are adopted from Table 3 of ISO/IEC 23091-4 or ITU-T H.273.
0 - reserved,
1 - ITU-R BT.709,
2 - unspecified,
3 - reserved2,
4 - Gamma 2.2 curve - BT.470M,
5 - Gamma 2.8 curve - BT.470BG,
6 - SMPTE 170M,
7 - SMPTE 240M,
8 - Linear,
9 - Log,
10 - Log Sqrt,
11 - IEC 61966-2-4,
12 - ITU-R BT.1361 Extended Colour Gamut,
13 - IEC 61966-2-1,
14 - ITU-R BT.2020 10 bit,
15 - ITU-R BT.2020 12 bit,
16 - ITU-R BT.2100 Perceptual Quantization,
17 - SMPTE ST 428-1,
18 - ARIB STD-B67 (HLG)
Primaries
0x55BB
mand.
The colour primaries of the video. For clarity,
the value and meanings for Primaries are adopted from Table 2 of ISO/IEC 23091-4 or ITU-T H.273.
0 - reserved,
1 - ITU-R BT.709,
2 - unspecified,
3 - reserved2,
4 - ITU-R BT.470M,
5 - ITU-R BT.470BG - BT.601 625,
6 - ITU-R BT.601 525 - SMPTE 170M,
7 - SMPTE 240M,
8 - FILM,
9 - ITU-R BT.2020,
10 - SMPTE ST 428-1,
11 - SMPTE RP 432-2,
12 - SMPTE EG 432-2,
22 - EBU Tech. 3213-E - JEDEC P22 phosphors
MaxCLL
0x55BC
Maximum brightness of a single pixel (Maximum Content Light Level)
in candelas per square meter (cd/m^2^).
MaxFALL
0x55BD
Maximum brightness of a single full frame (Maximum Frame-Average Light Level)
in candelas per square meter (cd/m^2^).
MasteringMetadata
0x55D0
SMPTE 2086 mastering data.
PrimaryRChromaticityX
0x55D1
0.0-0x1p+0
Red X chromaticity coordinate, as defined by [@!CIE-1931].
PrimaryRChromaticityY
0x55D2
0.0-0x1p+0
Red Y chromaticity coordinate, as defined by [@!CIE-1931].
PrimaryGChromaticityX
0x55D3
0.0-0x1p+0
Green X chromaticity coordinate, as defined by [@!CIE-1931].
PrimaryGChromaticityY
0x55D4
0.0-0x1p+0
Green Y chromaticity coordinate, as defined by [@!CIE-1931].
PrimaryBChromaticityX
0x55D5
0.0-0x1p+0
Blue X chromaticity coordinate, as defined by [@!CIE-1931].
PrimaryBChromaticityY
0x55D6
0.0-0x1p+0
Blue Y chromaticity coordinate, as defined by [@!CIE-1931].
WhitePointChromaticityX
0x55D7
0.0-0x1p+0
White X chromaticity coordinate, as defined by [@!CIE-1931].
WhitePointChromaticityY
0x55D8
0.0-0x1p+0
White Y chromaticity coordinate, as defined by [@!CIE-1931].
LuminanceMax
0x55D9
>= 0.0
Maximum luminance. Represented in candelas per square meter (cd/m^2^).
LuminanceMin
0x55DA
>= 0.0
Minimum luminance. Represented in candelas per square meter (cd/m^2^).
Projection
0x7670
Describes the video projection details. Used to render spherical, VR videos or flipping videos horizontally/vertically.
ProjectionType
0x7671
mand.
Describes the projection used for this video track.
0 - rectangular,
1 - equirectangular,
2 - cubemap,
3 - mesh
ProjectionPrivate
0x7672
Private data that only applies to a specific projection.

* If `ProjectionType` equals 0 (Rectangular),
then this element **MUST NOT** be present.
* If `ProjectionType` equals 1 (Equirectangular), then this element **MUST** be present and contain the same binary data that would be stored inside
an ISOBMFF Equirectangular Projection Box ('equi').
* If `ProjectionType` equals 2 (Cubemap), then this element **MUST** be present and contain the same binary data that would be stored
inside an ISOBMFF Cubemap Projection Box ('cbmp').
* If `ProjectionType` equals 3 (Mesh), then this element **MUST** be present and contain the same binary data that would be stored inside
an ISOBMFF Mesh Projection Box ('mshp'). ISOBMFF box size and fourcc fields are not included in the binary data,
but the FullBox version and flag fields are. This is to avoid
redundant framing information while preserving versioning and semantics between the two container formats.
ProjectionPoseYaw
0x7673
mand.
>= -0xB4p+0, <= 0xB4p+0
0.0
Specifies a yaw rotation to the projection.

Value represents a clockwise rotation, in degrees, around the up vector. This rotation must be applied
before any `ProjectionPosePitch` or `ProjectionPoseRoll` rotations.
The value of this element **MUST** be in the -180 to 180 degree range, both included.

Setting `ProjectionPoseYaw` to 180 or -180 degrees, with the `ProjectionPoseRoll` and `ProjectionPosePitch` set to 0 degrees flips the image horizontally.
ProjectionPosePitch
0x7674
mand.
>= -0x5Ap+0, <= 0x5Ap+0
0.0
Specifies a pitch rotation to the projection.

Value represents a counter-clockwise rotation, in degrees, around the right vector. This rotation must be applied
after the `ProjectionPoseYaw` rotation and before the `ProjectionPoseRoll` rotation.
The value of this element **MUST** be in the -90 to 90 degree range, both included.
ProjectionPoseRoll
0x7675
mand.
>= -0xB4p+0, <= 0xB4p+0
0.0
Specifies a roll rotation to the projection.

Value represents a counter-clockwise rotation, in degrees, around the forward vector. This rotation must be applied
after the `ProjectionPoseYaw` and `ProjectionPosePitch` rotations.
The value of this element **MUST** be in the -180 to 180 degree range, both included.

Setting `ProjectionPoseRoll` to 180 or -180 degrees, the `ProjectionPoseYaw` to 180 or -180 degrees with `ProjectionPosePitch` set to 0 degrees flips the image vertically.

Setting `ProjectionPoseRoll` to 180 or -180 degrees, with the `ProjectionPoseYaw` and `ProjectionPosePitch` set to 0 degrees flips the image horizontally and vertically.
Audio
0xE1
Audio settings.
SamplingFrequency
0xB5
mand.
> 0.0
8000.0
Sampling frequency in Hz.
OutputSamplingFrequency
0x78B5
> 0.0
[desc.]
Real output sampling frequency in Hz (used for SBR techniques). The default value for OutputSamplingFrequency of the same TrackEntry is equal to the SamplingFrequency.
Channels
0x9F
mand.
not 0
Numbers of channels in the track.
ChannelPositions
0x7D7B
Table of horizontal angles for each successive channel.
BitDepth
0x6264
not 0
Bits per sample, mostly used for PCM.
Emphasis
0x52F1
mand.
Audio emphasis applied on audio samples. The player **MUST** apply the inverse emphasis to get the proper audio samples.
0 - No emphasis,
1 - CD audio,
2 - reserved,
3 - CCIT J.17,
4 - FM 50,
5 - FM 75,
10 - Phono RIAA,
11 - Phono IEC N78,
12 - Phono TELDEC,
13 - Phono EMI,
14 - Phono Columbia LP,
15 - Phono LONDON,
16 - Phono NARTB
TrackOperation
0xE2
Operation that needs to be applied on tracks to create this virtual track.
For more details look at
notes
TrackCombinePlanes
0xE3
Contains the list of all video plane tracks that need to be combined to create this 3D track
TrackPlane
0xE4
mand.
mult.
Contains a video plane track that need to be combined to create this 3D track
TrackPlaneUID
0xE5
mand.
not 0
The trackUID number of the track representing the plane.
TrackPlaneType
0xE6
mand.
The kind of plane this track corresponds to.
0 - left eye,
1 - right eye,
2 - background
TrackJoinBlocks
0xE9
Contains the list of all tracks whose Blocks need to be combined to create this virtual track
TrackJoinUID
0xED
mand.
mult.
not 0
The trackUID number of a track whose blocks are used to create this virtual track.
TrickTrackUID
0xC0
The TrackUID of the Smooth FF/RW video in the paired EBML structure corresponding to this video track. See [@?DivXTrickTrack].
TrickTrackSegmentUID
0xC1
The SegmentUID of the Segment containing the track identified by TrickTrackUID. See [@?DivXTrickTrack].
TrickTrackFlag
0xC6
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].
TrickMasterTrackUID
0xC7
The TrackUID of the video track in the paired EBML structure that corresponds to this Smooth FF/RW track. See [@?DivXTrickTrack].
TrickMasterTrackSegmentUID
0xC4
The SegmentUID of the Segment containing the track identified by MasterTrackUID. See [@?DivXTrickTrack].
ContentEncodings
0x6D80
Settings for several content encoding mechanisms like compression or encryption.
ContentEncoding
0x6240
mand.
mult.
Settings for one content encoding like compression or encryption.
ContentEncodingOrder
0x5031
mand.
Tell in which order to apply each `ContentEncoding` of the `ContentEncodings`.
The decoder/demuxer **MUST** start with the `ContentEncoding` with the highest `ContentEncodingOrder` and work its way down to the `ContentEncoding` with the lowest `ContentEncodingOrder`.
This value **MUST** be unique over for each `ContentEncoding` found in the `ContentEncodings` of this `TrackEntry`.
ContentEncodingScope
0x5032
mand.
A bit field that describes which Elements have been modified in this way.
Values (big-endian) can be OR'ed.
1 - Block,
2 - Private,
4 - Next
ContentEncodingType
0x5033
mand.
A value describing what kind of transformation is applied.
0 - Compression,
1 - Encryption
ContentCompression
0x5034
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.
ContentCompAlgo
0x4254
mand.
The compression algorithm used. Compression method "1" (bzlib) and "2" (lzo1x) are lacking proper documentation on the format which limits implementation possibilities.
Due to licensing conflicts on commonly available libraries compression methods "2" (lzo1x) does not offer widespread interoperability.
A Matroska Writer **SHOULD NOT** use these compression methods by default.
A Matroska Reader **MAY** support methods "1" and "2" as possible, and **SHOULD** support other methods.
0 - zlib,
1 - bzlib,
2 - lzo1x,
3 - Header Stripping
ContentCompSettings
0x4255
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.
ContentEncryption
0x5035
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.
ContentEncAlgo
0x47E1
mand.
The encryption algorithm used.
0 - Not encrypted,
1 - DES,
2 - 3DES,
3 - Twofish,
4 - Blowfish,
5 - AES
ContentEncKeyID
0x47E2
For public key algorithms this is the ID of the public key the the data was encrypted with.
ContentEncAESSettings
0x47E7
Settings describing the encryption algorithm used.
AESSettingsCipherMode
0x47E8
mand.
The AES cipher mode used in the encryption.
1 - AES-CTR,
2 - AES-CBC
ContentSignature
0x47E3
A cryptographic signature of the contents.
ContentSigKeyID
0x47E4
This is the ID of the private key the data was signed with.
ContentSigAlgo
0x47E5
The algorithm used for the signature.
0 - Not signed,
1 - RSA
ContentSigHashAlgo
0x47E6
The hash algorithm used for the signature.
0 - Not signed,
1 - SHA1-160,
2 - MD5
Element Name
EBML ID
Ma
Mu
Rng
Default
Description
Cueing Data
Cues
0x1C53BB6B
A Top-Level Element to speed seeking access.
All entries are local to the Segment. This Element **SHOULD** be set when the Segment is not transmitted as a live stream (see #livestreaming).
CuePoint
0xBB
mand.
mult.
Contains all information relative to a seek point in the Segment.
CueTime
0xB3
mand.
Absolute timestamp of the seek point, expressed in Matroska Ticks -- i.e., in nanoseconds; see timestamp-ticks.
CueTrackPositions
0xB7
mand.
mult.
Contain positions for different tracks corresponding to the timestamp.
CueTrack
0xF7
mand.
not 0
The track for which a position is given.
CueClusterPosition
0xF1
mand.
The Segment Position (segment-position) of the Cluster containing the associated Block.
CueRelativePosition
0xF0
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.
CueDuration
0xB2
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.
CueBlockNumber
0x5378
not 0
Number of the Block in the specified Cluster.
CueCodecState
0xEA
mand.
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.
CueReference
0xDB
mult.
The Clusters containing the referenced Blocks.
CueRefTime
0x96
mand.
Timestamp of the referenced Block, expressed in Matroska Ticks -- i.e., in nanoseconds; see timestamp-ticks.
CueRefCluster
0x97
mand.
The Segment Position of the Cluster containing the referenced Block.
CueRefNumber
0x535F
not 0
Number of the referenced Block of Track X in the specified Cluster.
CueRefCodecState
0xEB
The Segment Position of the Codec State corresponding to this referenced Element.
0 means that the data is taken from the initial Track Entry.
Element Name
EBML ID
Ma
Mu
Rng
Default
Description
Attachment
Attachments
0x1941A469
Contain attached files.
AttachedFile
0x61A7
mand.
mult.
An attached file.
FileDescription
0x467E
A human-friendly name for the attached file.
FileName
0x466E
mand.
Filename of the attached file.
FileMediaType
0x4660
mand.
Media type of the file following the [@!RFC6838] format.
FileData
0x465C
mand.
The data of the file.
FileUID
0x46AE
mand.
not 0
Unique ID representing the file, as random as possible.
FileReferral
0x4675
A binary value that a track/codec can refer to when the attachment is needed.
FileUsedStartTime
0x4661
The timestamp at which this optimized font attachment comes into context, expressed in Segment Ticks which is based on TimestampScale. See [@?DivXWorldFonts]. This element is reserved for future use and if written **MUST** be the segment start timestamp.
FileUsedEndTime
0x4662
The timestamp at which this optimized font attachment goes out of context, expressed in Segment Ticks which is based on TimestampScale. See [@?DivXWorldFonts]. This element is reserved for future use and if written **MUST** be the segment end timestamp.
Element Name
EBML ID
Ma
Mu
Rng
Default
Description
Chapters
Chapters
0x1043A770
A system to define basic menus and partition data.
For more detailed information, look at the Chapters explanation in
chapters
EditionEntry
0x45B9
mand.
mult.
Contains all information about a Segment edition.
EditionUID
0x45BC
not 0
A unique ID to identify the edition. It's useful for tagging an edition.
EditionFlagHidden
0x45BD
mand.
0-1
Set to 1 if an edition is hidden. Hidden editions **SHOULD NOT** be available to the user interface
(but still to Control Tracks; see
notes
on Chapter flags).
EditionFlagDefault
0x45DB
mand.
0-1
Set to 1 if the edition **SHOULD** be used as the default one.
EditionFlagOrdered
0x45DD
mand.
0-1
Set to 1 if the chapters can be defined multiple times and the order to play them is enforced; see editionflagordered.
EditionDisplay
0x4520
mult.
Contains a possible string to use for the edition display for the given languages.
EditionString
0x4521
mand.
Contains the string to use as the edition name.
EditionLanguageIETF
0x45E4
mult.
One language corresponding to the EditionString,
in the [@!BCP47] form; see
basics
on language codes.
ChapterAtom
3+
0xB6
mand.
mult.
Contains the atom information to use as the chapter atom (apply to all tracks).
ChapterUID
0x73C4
mand.
not 0
A unique ID to identify the Chapter.
ChapterStringUID
0x5654
A unique string ID to identify the Chapter.
For example it is used as the storage for [@?WebVTT] cue identifier values.
ChapterTimeStart
0x91
mand.
Timestamp of the start of Chapter, expressed in Matroska Ticks -- i.e., in nanoseconds; see timestamp-ticks.
ChapterTimeEnd
0x92
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`. The `ChapterTimeEnd` timestamp value being excluded, it **MUST** take in account the duration of
the last frame it includes, especially for the `ChapterAtom` using the last frames of the `Segment`. ChapterTimeEnd **MUST** be set if the Edition is an ordered edition; see (#editionflagordered), unless it's a
Parent Chapter
; see (#nested-chapters)
ChapterFlagHidden
0x98
mand.
0-1
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).
ChapterFlagEnabled
0x4598
mand.
0-1
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
notes
on Chapter flags.
ChapterSegmentUUID
0x6E67
The SegmentUUID of another Segment to play during this chapter. The value **MUST NOT** be the `SegmentUUID` value of the `Segment` it belongs to. ChapterSegmentUUID **MUST** be set if ChapterSegmentEditionUID is used; see (#medium-linking) on medium-linking Segments.
ChapterSkipType
0x4588
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.
0 - No Skipping,
1 - Opening Credits,
2 - End Credits,
3 - Recap,
4 - Next Preview,
5 - Preview,
6 - Advertisement
ChapterSegmentEditionUID
0x6EBC
not 0
The EditionUID to play from the Segment linked in ChapterSegmentUUID.
If ChapterSegmentEditionUID is undeclared, then no Edition of the linked Segment is used; see medium-linking on medium-linking Segments.
ChapterPhysicalEquiv
0x63C3
Specify the physical equivalent of this ChapterAtom like "DVD" (60) or "SIDE" (50);
see
notes
for a complete list of values.
ChapterTrack
0x8F
List of tracks on which the chapter applies. If this Element is not present, all tracks apply
ChapterTrackUID
0x89
mand.
mult.
not 0
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.
ChapterDisplay
0x80
mult.
Contains all possible strings to use for the chapter display.
ChapString
0x85
mand.
Contains the string to use as the chapter atom.
ChapLanguage
0x437C
mand.
mult.
eng
A language corresponding to the string,
in the Matroska languages form; see
basics
on language codes.
This Element **MUST** be ignored if a ChapLanguageBCP47 Element is used within the same ChapterDisplay Element.
ChapLanguageBCP47
0x437D
mult.
A language corresponding to the ChapString,
in the [@!BCP47] form; see
basics
on language codes.
If a ChapLanguageBCP47 Element is used, then any ChapLanguage and ChapCountry Elements used in the same ChapterDisplay **MUST** be ignored.
ChapCountry
0x437E
mult.
A country corresponding to the string,
in the Matroska countries form; see
basics
on country codes.
This Element **MUST** be ignored if a ChapLanguageBCP47 Element is used within the same ChapterDisplay Element.
ChapProcess
0x6944
mult.
Contains all the commands associated to the Atom.
ChapProcessCodecID
0x6955
mand.
Contains the type of the codec used for the processing.
A value of 0 means native Matroska processing (to be defined), a value of 1 means the DVD command set is used; see menu-features on DVD menus.
More codec IDs can be added later.
ChapProcessPrivate
0x450D
Some optional data attached to the ChapProcessCodecID information.
For ChapProcessCodecID = 1, it is the "DVD level" equivalent; see menu-features on DVD menus.
ChapProcessCommand
0x6911
mult.
Contains all the commands associated to the Atom.
ChapProcessTime
0x6922
mand.
Defines when the process command **SHOULD** be handled
0 - during the whole chapter,
1 - before starting playback,
2 - after playback of the chapter
ChapProcessData
0x6933
mand.
Contains the command information.
The data **SHOULD** be interpreted depending on the ChapProcessCodecID value. For ChapProcessCodecID = 1,
the data correspond to the binary DVD cell pre/post commands; see menu-features on DVD menus.
Element Name
EBML ID
Ma
Mu
Rng
Default
Description
Tagging
Tags
0x1254C367
mult.
Element containing metadata describing Tracks, Editions, Chapters, Attachments, or the Segment as a whole.
A list of valid tags can be found in
Matroska tagging RFC
Tag
0x7373
mand.
mult.
A single metadata descriptor.
Targets
0x63C0
mand.
Specifies which other elements the metadata represented by the Tag applies to.
If empty or omitted, then the Tag describes everything in the Segment.
TargetTypeValue
0x68CA
mand.
50
A number to indicate the logical level of the target.
70 - COLLECTION,
60 - EDITION / ISSUE / VOLUME / OPUS / SEASON / SEQUEL,
50 - ALBUM / OPERA / CONCERT / MOVIE / EPISODE,
40 - PART / SESSION,
30 - TRACK / SONG / CHAPTER,
20 - SUBTRACK / MOVEMENT / SCENE,
10 - SHOT
TargetType
0x63CA
An informational string that can be used to display the logical level of the target like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc.
; see Section 6.4 of
Matroska tagging RFC
COLLECTION - TargetTypeValue 70,
EDITION - TargetTypeValue 60,
ISSUE - TargetTypeValue 60,
VOLUME - TargetTypeValue 60,
OPUS - TargetTypeValue 60,
SEASON - TargetTypeValue 60,
SEQUEL - TargetTypeValue 60,
ALBUM - TargetTypeValue 50,
OPERA - TargetTypeValue 50,
CONCERT - TargetTypeValue 50,
MOVIE - TargetTypeValue 50,
EPISODE - TargetTypeValue 50,
PART - TargetTypeValue 40,
SESSION - TargetTypeValue 40,
TRACK - TargetTypeValue 30,
SONG - TargetTypeValue 30,
CHAPTER - TargetTypeValue 30,
SUBTRACK - TargetTypeValue 20,
MOVEMENT - TargetTypeValue 20,
SCENE - TargetTypeValue 20,
SHOT - TargetTypeValue 10
TagTrackUID
0x63C5
mult.
A unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment.
If set to any other value, it **MUST** match the `TrackUID` value of a track found in this Segment.
TagEditionUID
0x63C9
mult.
A unique ID to identify the EditionEntry(s) the tags belong to. If the value is 0 at this level, the tags apply to all editions in the Segment.
If set to any other value, it **MUST** match the `EditionUID` value of an edition found in this Segment.
TagChapterUID
0x63C4
mult.
A unique ID to identify the Chapter(s) the tags belong to. If the value is 0 at this level, the tags apply to all chapters in the Segment.
If set to any other value, it **MUST** match the `ChapterUID` value of a chapter found in this Segment.
TagAttachmentUID
0x63C6
mult.
A unique ID to identify the Attachment(s) the tags belong to. If the value is 0 at this level, the tags apply to all the attachments in the Segment.
If set to any other value, it **MUST** match the `FileUID` value of an attachment found in this Segment.
SimpleTag
3+
0x67C8
mand.
mult.
Contains general information about the target.
TagName
0x45A3
mand.
The name of the Tag that is going to be stored.
TagLanguage
0x447A
mand.
und
Specifies the language of the tag specified,
in the Matroska languages form; see
basics
on language codes.
This Element **MUST** be ignored if the TagLanguageBCP47 Element is used within the same SimpleTag Element.
TagLanguageBCP47
0x447B
The language used in the TagString,
in the [@!BCP47] form; see
basics
on language codes.
If this Element is used, then any TagLanguage Elements used in the same SimpleTag **MUST** be ignored.
TagDefault
0x4484
mand.
0-1
A boolean value to indicate if this is the default/original language to use for the given tag.
TagDefaultBogus
0x44B4
mand.
0-1
A variant of the TagDefault element with a bogus Element ID; see
tagdefault
TagString
0x4487
The value of the Tag.
TagBinary
0x4485
The values of the Tag, if it is binary. Note that this cannot be used in the same SimpleTag as TagString.
Element Name
EBML ID
Ma
Mu
Rng
Default
Description