Tracks (1654AE6B) has one TrackEntry for each track.
Elements marked deprecated are listed as such in RFC 9559 Appendix A.
TrackEntry
| ID | Element | Type | Meaning |
|---|---|---|---|
AE | TrackEntry | Master | Describes one track. |
D7 | TrackNumber | Unsigned | Number used in Block headers. |
73C5 | TrackUID | Unsigned | Unique track ID. |
83 | TrackType | Unsigned | 1 video, 2 audio, 3 complex, 16 logo, 17 subtitle, 18 buttons, 32 control, 33 metadata. |
B9 | FlagEnabled | Unsigned | 1 if usable. Default 1. |
88 | FlagDefault | Unsigned | 1 if eligible for automatic selection. Default 1. |
55AA | FlagForced | Unsigned | Subtitles chosen automatically on a language match. Default 0. |
55AB | FlagHearingImpaired | Unsigned | Suitable for hearing-impaired users. |
55AC | FlagVisualImpaired | Unsigned | Suitable for visually impaired users. |
55AD | FlagTextDescriptions | Unsigned | Contains text descriptions of the video. |
55AE | FlagOriginal | Unsigned | In the content’s original language. |
55AF | FlagCommentary | Unsigned | Contains commentary. |
9C | FlagLacing | Unsigned | 1 if Blocks may use lacing. Default 1. |
6DE7 | MinCache | Unsigned | Minimum frames to cache. Deprecated. |
6DF8 | MaxCache | Unsigned | Maximum cache for referenced frames. Deprecated. |
23E383 | DefaultDuration | Unsigned | Nanoseconds per frame. |
234E7A | DefaultDecodedFieldDuration | Unsigned | Period between decoded fields, in nanoseconds. |
23314F | TrackTimestampScale | Float | Speed scale relative to other tracks. Default 1.0. Up to version 3. |
537F | TrackOffset | Signed | Offset added to Block times, in nanoseconds. Deprecated. |
55EE | MaxBlockAdditionID | Unsigned | Largest BlockAddID; 0 means none. |
41E4 | BlockAdditionMapping | Master | Extends the track format with block or track data. |
41F0 | BlockAddIDValue | Unsigned | BlockAddID value described; at least 2. |
41A4 | BlockAddIDName | String | Friendly name of the mapping type. |
41E7 | BlockAddIDType | Unsigned | Registered mapping ID; 0 is codec-defined. |
41ED | BlockAddIDExtraData | Binary | Extra data for interpreting BlockAdditional. |
536E | Name | UTF-8 | Friendly track name. |
22B59C | Language | String | Language in Matroska form. Default eng. |
22B59D | LanguageBCP47 | String | Language per RFC 5646; overrides Language. |
86 | CodecID | String | The codec identifier. |
63A2 | CodecPrivate | Binary | Codec-private data. |
258688 | CodecName | UTF-8 | Friendly codec name. |
7446 | AttachmentLink | Unsigned | FileUID of an attachment used by the codec. Up to version 3. |
3A9697 | CodecSettings | UTF-8 | Description of encoding settings. Deprecated. |
3B4040 | CodecInfoURL | String | URL with codec information. Deprecated. |
26B240 | CodecDownloadURL | String | URL to download codec information. Deprecated. |
AA | CodecDecodeAll | Unsigned | 1 if the codec can decode damaged data. Deprecated. |
6FAB | TrackOverlay | Unsigned | Overlay track for a given track. Deprecated. |
56AA | CodecDelay | Unsigned | Built-in codec delay in nanoseconds. |
56BB | SeekPreRoll | Unsigned | Data to decode after a seek before output is valid, in nanoseconds. |
6624 | TrackTranslate | Master | Maps the track to a chapter codec’s value. |
66A5 | TrackTranslateTrackID | Binary | The track’s value in the chapter codec’s data. |
66BF | TrackTranslateCodec | Unsigned | Chapter codec the mapping applies to. |
66FC | TrackTranslateEditionUID | Unsigned | Edition the track translation applies to. |
C0 | TrickTrackUID | Unsigned | TrackUID of a paired fast-forward track. Deprecated. |
C1 | TrickTrackSegmentUID | Binary | SegmentUUID containing the trick track. Deprecated. |
C6 | TrickTrackFlag | Unsigned | 1 if this is a fast-forward track. Deprecated. |
C7 | TrickMasterTrackUID | Unsigned | TrackUID of the paired master track. Deprecated. |
C4 | TrickMasterTrackSegmentUID | Binary | SegmentUUID containing the master track. Deprecated. |
Video
| ID | Element | Type | Meaning |
|---|---|---|---|
E0 | Video | Master | Video settings. |
9A | FlagInterlaced | Unsigned | 0 undetermined, 1 interlaced, 2 progressive. |
9D | FieldOrder | Unsigned | 0 progressive, 1 top field first, 2 undetermined, 6 bottom field first, 9 top first interleaved, 14 bottom first interleaved. |
53B8 | StereoMode | Unsigned | See below. |
53C0 | AlphaMode | Unsigned | 0 no alpha, 1 alpha in BlockAddID 1. |
53B9 | OldStereoMode | Unsigned | Deprecated bogus value; must not be used. |
B0 | PixelWidth | Unsigned | Encoded width. |
BA | PixelHeight | Unsigned | Encoded height. |
54AA | PixelCropBottom | Unsigned | Pixels removed from the bottom. |
54BB | PixelCropTop | Unsigned | Pixels removed from the top. |
54CC | PixelCropLeft | Unsigned | Pixels removed from the left. |
54DD | PixelCropRight | Unsigned | Pixels removed from the right. |
54B0 | DisplayWidth | Unsigned | Display width after cropping. |
54BA | DisplayHeight | Unsigned | Display height after cropping. |
54B2 | DisplayUnit | Unsigned | 0 pixels, 1 centimetres, 2 inches, 3 display aspect ratio, 4 unknown. |
54B3 | AspectRatioType | Unsigned | 0 free, 1 keep, 2 fixed. Deprecated. |
2EB524 | UncompressedFourCC | Binary | Pixel format FourCC, required for V_UNCOMPRESSED. |
2FB523 | GammaValue | Float | Gamma value. Deprecated. |
2383E3 | FrameRate | Float | Frames per second, informational. Deprecated. |
| StereoMode | Layout | StereoMode | Layout |
|---|---|---|---|
| 0 | Mono | 8 | Column interleaved, right first |
| 1 | Side by side, left first | 9 | Column interleaved, left first |
| 2 | Top-bottom, right first | 10 | Anaglyph cyan and red |
| 3 | Top-bottom, left first | 11 | Side by side, right first |
| 4 | Checkerboard, right first | 12 | Anaglyph green and magenta |
| 5 | Checkerboard, left first | 13 | Both eyes laced, left first |
| 6 | Row interleaved, right first | 14 | Both eyes laced, right first |
| 7 | Row interleaved, left first |
Colour
| ID | Element | Type | Meaning |
|---|---|---|---|
55B0 | Colour | Master | Colour format settings. |
55B1 | MatrixCoefficients | Unsigned | ITU-T H.273 matrix, 0 to 14. Default 2, unspecified. |
55B2 | BitsPerChannel | Unsigned | Decoded bits per channel; 0 is unspecified. |
55B3 | ChromaSubsamplingHorz | Unsigned | Chroma pixels removed horizontally. |
55B4 | ChromaSubsamplingVert | Unsigned | Chroma pixels removed vertically. |
55B5 | CbSubsamplingHorz | Unsigned | Additional Cb horizontal subsampling. |
55B6 | CbSubsamplingVert | Unsigned | Additional Cb vertical subsampling. |
55B7 | ChromaSitingHorz | Unsigned | 0 unspecified, 1 left collocated, 2 half. |
55B8 | ChromaSitingVert | Unsigned | 0 unspecified, 1 top collocated, 2 half. |
55B9 | Range | Unsigned | 0 unspecified, 1 broadcast, 2 full, 3 defined by the matrix and transfer. |
55BA | TransferCharacteristics | Unsigned | H.273 transfer, 0 to 18. Default 2. |
55BB | Primaries | Unsigned | H.273 primaries, 0 to 12 and 22. Default 2. |
55BC | MaxCLL | Unsigned | Maximum content light level, cd/m². |
55BD | MaxFALL | Unsigned | Maximum frame-average light level, cd/m². |
55D0 | MasteringMetadata | Master | SMPTE 2086 mastering data. |
55D1 | PrimaryRChromaticityX | Float | Red X (CIE 1931). |
55D2 | PrimaryRChromaticityY | Float | Red Y. |
55D3 | PrimaryGChromaticityX | Float | Green X. |
55D4 | PrimaryGChromaticityY | Float | Green Y. |
55D5 | PrimaryBChromaticityX | Float | Blue X. |
55D6 | PrimaryBChromaticityY | Float | Blue Y. |
55D7 | WhitePointChromaticityX | Float | White X. |
55D8 | WhitePointChromaticityY | Float | White Y. |
55D9 | LuminanceMax | Float | Maximum mastering luminance, cd/m². |
55DA | LuminanceMin | Float | Minimum mastering luminance, cd/m². |
7670 | Projection | Master | Projection details, for spherical and VR video. |
7671 | ProjectionType | Unsigned | 0 rectangular, 1 equirectangular, 2 cubemap, 3 mesh. |
7672 | ProjectionPrivate | Binary | Projection-specific data. |
7673 | ProjectionPoseYaw | Float | Yaw in degrees, −180 to 180. |
7674 | ProjectionPosePitch | Float | Pitch in degrees, −90 to 90. |
7675 | ProjectionPoseRoll | Float | Roll in degrees, −180 to 180. |
Audio
| ID | Element | Type | Meaning |
|---|---|---|---|
E1 | Audio | Master | Audio settings. |
B5 | SamplingFrequency | Float | Sampling frequency in Hz. Default 8000. |
78B5 | OutputSamplingFrequency | Float | Output frequency, for SBR. Defaults to SamplingFrequency. |
9F | Channels | Unsigned | Number of channels. Default 1. |
7D7B | ChannelPositions | Binary | Horizontal angles per channel. Deprecated. |
6264 | BitDepth | Unsigned | Bits per sample. |
52F1 | Emphasis | Unsigned | 0 none, 1 CD, 3 CCIT J.17, 4 FM 50, 5 FM 75, 10 RIAA, 11 IEC N78, 12 TELDEC, 13 EMI, 14 Columbia LP, 15 London, 16 NARTB. 2 is reserved. |
Track operations
| ID | Element | Type | Meaning |
|---|---|---|---|
E2 | TrackOperation | Master | Operations that build a virtual track. |
E3 | TrackCombinePlanes | Master | Video planes combined into a 3D track. |
E4 | TrackPlane | Master | One plane track. |
E5 | TrackPlaneUID | Unsigned | TrackUID of the plane. |
E6 | TrackPlaneType | Unsigned | 0 left eye, 1 right eye, 2 background. |
E9 | TrackJoinBlocks | Master | Tracks whose Blocks join into a virtual track. |
ED | TrackJoinUID | Unsigned | TrackUID whose Blocks are used. |
Content encodings
| ID | Element | Type | Meaning |
|---|---|---|---|
6D80 | ContentEncodings | Master | Compression and encryption settings. |
6240 | ContentEncoding | Master | One encoding. |
5031 | ContentEncodingOrder | Unsigned | Order of applying encodings; unique per track. |
5032 | ContentEncodingScope | Unsigned | Bit field: 1 Block, 2 Private, 4 Next. |
5033 | ContentEncodingType | Unsigned | 0 compression, 1 encryption. |
5034 | ContentCompression | Master | Compression settings. |
4254 | ContentCompAlgo | Unsigned | 0 zlib, 1 bzlib, 2 lzo1x, 3 header stripping. |
4255 | ContentCompSettings | Binary | Decompressor settings; the stripped bytes for header stripping. |
5035 | ContentEncryption | Master | Encryption settings. |
47E1 | ContentEncAlgo | Unsigned | 0 none, 1 DES, 2 3DES, 3 Twofish, 4 Blowfish, 5 AES. |
47E2 | ContentEncKeyID | Binary | Public key ID used for encryption. |
47E7 | ContentEncAESSettings | Master | AES settings. |
47E8 | AESSettingsCipherMode | Unsigned | 1 AES-CTR, 2 AES-CBC. |
47E3 | ContentSignature | Binary | Cryptographic signature. Deprecated. |
47E4 | ContentSigKeyID | Binary | ID of the signing private key. Deprecated. |
47E5 | ContentSigAlgo | Unsigned | 0 not signed, 1 RSA. Deprecated. |
47E6 | ContentSigHashAlgo | Unsigned | 0 not signed, 1 SHA1-160, 2 MD5. Deprecated. |