1
1
mirror of https://github.com/wader/fq.git synced 2024-11-29 23:27:12 +03:00
fq/format/matroska/testdata/mpeg2.fqtest
Mattias Wadman 051a70bd4b interp: Change bit ranges to use exclusive end
All other ranges and slicing uses exclusive end so i think it make sense
to make it consistent.

Update docs and add additional example for non-byte-aligned field.

Also fixes issue showing zero bit ranges as start-NA.
2023-10-20 15:37:26 +02:00

408 lines
48 KiB
Plaintext

# ffmpeg -f lavfi -i testsrc -c:v mpeg2video -f matroska -t 50ms mpeg2.mkv
$ fq -d matroska dv mpeg2.mkv
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: mpeg2.mkv (matroska) 0x0-0x21ca (8650)
| | | elements[0:2]: 0x0-0x21ca (8650)
| | | [0]{}: element 0x0-0x28 (40)
0x0000|1a 45 df a3 |.E.. | id: "ebml" (0x1a45dfa3) 0x0-0x4 (4)
| | | type: "master"
0x0000| a3 | . | size: 35 0x4-0x5 (1)
| | | elements[0:7]: 0x5-0x28 (35)
| | | [0]{}: element 0x5-0x9 (4)
0x0000| 42 86 | B. | id: "ebml_version" (0x4286) (EBML Version) 0x5-0x7 (2)
| | | type: "uinteger"
0x0000| 81 | . | size: 1 0x7-0x8 (1)
0x0000| 01 | . | value: 1 0x8-0x9 (1)
| | | [1]{}: element 0x9-0xd (4)
0x0000| 42 f7 | B. | id: "ebml_read_version" (0x42f7) (Minimum EBML reader version) 0x9-0xb (2)
| | | type: "uinteger"
0x0000| 81 | . | size: 1 0xb-0xc (1)
0x0000| 01 | . | value: 1 0xc-0xd (1)
| | | [2]{}: element 0xd-0x11 (4)
0x0000| 42 f2 | B. | id: "ebml_max_id_length" (0x42f2) (Maximum id length) 0xd-0xf (2)
| | | type: "uinteger"
0x0000| 81| .| size: 1 0xf-0x10 (1)
0x0010|04 |. | value: 4 0x10-0x11 (1)
| | | [3]{}: element 0x11-0x15 (4)
0x0010| 42 f3 | B. | id: "ebml_max_size_length" (0x42f3) (Maximum body length) 0x11-0x13 (2)
| | | type: "uinteger"
0x0010| 81 | . | size: 1 0x13-0x14 (1)
0x0010| 08 | . | value: 8 0x14-0x15 (1)
| | | [4]{}: element 0x15-0x20 (11)
0x0010| 42 82 | B. | id: "doc_type" (0x4282) (Document content type) 0x15-0x17 (2)
| | | type: "string"
0x0010| 88 | . | size: 8 0x17-0x18 (1)
0x0010| 6d 61 74 72 6f 73 6b 61| matroska| value: "matroska" 0x18-0x20 (8)
| | | [5]{}: element 0x20-0x24 (4)
0x0020|42 87 |B. | id: "doc_type_version" (0x4287) (Document type version) 0x20-0x22 (2)
| | | type: "uinteger"
0x0020| 81 | . | size: 1 0x22-0x23 (1)
0x0020| 04 | . | value: 4 0x23-0x24 (1)
| | | [6]{}: element 0x24-0x28 (4)
0x0020| 42 85 | B. | id: "doc_type_read_version" (0x4285) (Minimum document reader version) 0x24-0x26 (2)
| | | type: "uinteger"
0x0020| 81 | . | size: 1 0x26-0x27 (1)
0x0020| 02 | . | value: 2 0x27-0x28 (1)
| | | [1]{}: element 0x28-0x21ca (8610)
0x0020| 18 53 80 67 | .S.g | id: "segment" (0x18538067) (The Root Element that contains all other Top-Level Elements) 0x28-0x2c (4)
| | | type: "master"
0x0020| 01 00 00 00| ....| size: 8598 0x2c-0x34 (8)
0x0030|00 00 21 96 |..!. |
| | | elements[0:7]: 0x34-0x21ca (8598)
| | | [0]{}: element 0x34-0x79 (69)
0x0030| 11 4d 9b 74 | .M.t | id: "seek_head" (0x114d9b74) (Contains seeking information of Top-Level Elements) 0x34-0x38 (4)
| | | type: "master"
0x0030| c0 | . | size: 64 0x38-0x39 (1)
| | | elements[0:5]: 0x39-0x79 (64)
| | | [0]{}: element 0x39-0x3f (6)
0x0030| bf | . | id: "crc32" (0xbf) 0x39-0x3a (1)
| | | type: "binary"
0x0030| 84 | . | size: 4 0x3a-0x3b (1)
0x0030| c0 c6 b6 73 | ...s | value: raw bits 0x3b-0x3f (4)
| | | [1]{}: element 0x3f-0x4d (14)
0x0030| 4d| M| id: "seek" (0x4dbb) (Contains a single seek entry to an EBML Element) 0x3f-0x41 (2)
0x0040|bb |. |
| | | type: "master"
0x0040| 8b | . | size: 11 0x41-0x42 (1)
| | | elements[0:2]: 0x42-0x4d (11)
| | | [0]{}: element 0x42-0x49 (7)
0x0040| 53 ab | S. | id: "seek_id" (0x53ab) (The binary EBML ID of a Top-Level Element) 0x42-0x44 (2)
| | | type: "binary"
0x0040| 84 | . | size: 4 0x44-0x45 (1)
0x0040| 15 49 a9 66 | .I.f | value: raw bits 0x45-0x49 (4)
| | | [1]{}: element 0x49-0x4d (4)
0x0040| 53 ac | S. | id: "seek_position" (0x53ac) (The Segment Position of a Top-Level Element) 0x49-0x4b (2)
| | | type: "uinteger"
0x0040| 81 | . | size: 1 0x4b-0x4c (1)
0x0040| a1 | . | value: 161 0x4c-0x4d (1)
| | | [2]{}: element 0x4d-0x5b (14)
0x0040| 4d bb | M. | id: "seek" (0x4dbb) (Contains a single seek entry to an EBML Element) 0x4d-0x4f (2)
| | | type: "master"
0x0040| 8b| .| size: 11 0x4f-0x50 (1)
| | | elements[0:2]: 0x50-0x5b (11)
| | | [0]{}: element 0x50-0x57 (7)
0x0050|53 ab |S. | id: "seek_id" (0x53ab) (The binary EBML ID of a Top-Level Element) 0x50-0x52 (2)
| | | type: "binary"
0x0050| 84 | . | size: 4 0x52-0x53 (1)
0x0050| 16 54 ae 6b | .T.k | value: raw bits 0x53-0x57 (4)
| | | [1]{}: element 0x57-0x5b (4)
0x0050| 53 ac | S. | id: "seek_position" (0x53ac) (The Segment Position of a Top-Level Element) 0x57-0x59 (2)
| | | type: "uinteger"
0x0050| 81 | . | size: 1 0x59-0x5a (1)
0x0050| f1 | . | value: 241 0x5a-0x5b (1)
| | | [3]{}: element 0x5b-0x6a (15)
0x0050| 4d bb | M. | id: "seek" (0x4dbb) (Contains a single seek entry to an EBML Element) 0x5b-0x5d (2)
| | | type: "master"
0x0050| 8c | . | size: 12 0x5d-0x5e (1)
| | | elements[0:2]: 0x5e-0x6a (12)
| | | [0]{}: element 0x5e-0x65 (7)
0x0050| 53 ab| S.| id: "seek_id" (0x53ab) (The binary EBML ID of a Top-Level Element) 0x5e-0x60 (2)
| | | type: "binary"
0x0060|84 |. | size: 4 0x60-0x61 (1)
0x0060| 12 54 c3 67 | .T.g | value: raw bits 0x61-0x65 (4)
| | | [1]{}: element 0x65-0x6a (5)
0x0060| 53 ac | S. | id: "seek_position" (0x53ac) (The Segment Position of a Top-Level Element) 0x65-0x67 (2)
| | | type: "uinteger"
0x0060| 82 | . | size: 2 0x67-0x68 (1)
0x0060| 01 41 | .A | value: 321 0x68-0x6a (2)
| | | [4]{}: element 0x6a-0x79 (15)
0x0060| 4d bb | M. | id: "seek" (0x4dbb) (Contains a single seek entry to an EBML Element) 0x6a-0x6c (2)
| | | type: "master"
0x0060| 8c | . | size: 12 0x6c-0x6d (1)
| | | elements[0:2]: 0x6d-0x79 (12)
| | | [0]{}: element 0x6d-0x74 (7)
0x0060| 53 ab | S. | id: "seek_id" (0x53ab) (The binary EBML ID of a Top-Level Element) 0x6d-0x6f (2)
| | | type: "binary"
0x0060| 84| .| size: 4 0x6f-0x70 (1)
0x0070|1c 53 bb 6b |.S.k | value: raw bits 0x70-0x74 (4)
| | | [1]{}: element 0x74-0x79 (5)
0x0070| 53 ac | S. | id: "seek_position" (0x53ac) (The Segment Position of a Top-Level Element) 0x74-0x76 (2)
| | | type: "uinteger"
0x0070| 82 | . | size: 2 0x76-0x77 (1)
0x0070| 21 7a | !z | value: 8570 0x77-0x79 (2)
| | | [1]{}: element 0x79-0xd5 (92)
0x0070| ec | . | id: "void" (0xec) 0x79-0x7a (1)
| | | type: "binary"
0x0070| 01 00 00 00 00 00| ......| size: 83 0x7a-0x82 (8)
0x0080|00 53 |.S |
0x0080| 00 00 00 00 00 00 00 00 00 00 00 00 00 00| ..............| value: raw bits 0x82-0xd5 (83)
0x0090|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0xd4.7 (83) | |
| | | [2]{}: element 0xd5-0x125 (80)
0x00d0| 15 49 a9 66 | .I.f | id: "info" (0x1549a966) (Contains general information about the Segment) 0xd5-0xd9 (4)
| | | type: "master"
0x00d0| cb | . | size: 75 0xd9-0xda (1)
| | | elements[0:6]: 0xda-0x125 (75)
| | | [0]{}: element 0xda-0xe0 (6)
0x00d0| bf | . | id: "crc32" (0xbf) 0xda-0xdb (1)
| | | type: "binary"
0x00d0| 84 | . | size: 4 0xdb-0xdc (1)
0x00d0| 02 e0 26 39| ..&9| value: raw bits 0xdc-0xe0 (4)
| | | [1]{}: element 0xe0-0xe7 (7)
0x00e0|2a d7 b1 |*.. | id: "timestamp_scale" (0x2ad7b1) (Base unit for Segment Ticks and Track Ticks) 0xe0-0xe3 (3)
| | | type: "uinteger"
0x00e0| 83 | . | size: 3 0xe3-0xe4 (1)
0x00e0| 0f 42 40 | .B@ | value: 1000000 0xe4-0xe7 (3)
| | | [2]{}: element 0xe7-0xf7 (16)
0x00e0| 4d 80 | M. | id: "muxing_app" (0x4d80) (Muxing application or library) 0xe7-0xe9 (2)
| | | type: "utf8"
0x00e0| 8d | . | size: 13 0xe9-0xea (1)
0x00e0| 4c 61 76 66 35 38| Lavf58| value: "Lavf58.45.100" 0xea-0xf7 (13)
0x00f0|2e 34 35 2e 31 30 30 |.45.100 |
| | | [3]{}: element 0xf7-0x107 (16)
0x00f0| 57 41 | WA | id: "writing_app" (0x5741) (Writing application) 0xf7-0xf9 (2)
| | | type: "utf8"
0x00f0| 8d | . | size: 13 0xf9-0xfa (1)
0x00f0| 4c 61 76 66 35 38| Lavf58| value: "Lavf58.45.100" 0xfa-0x107 (13)
0x0100|2e 34 35 2e 31 30 30 |.45.100 |
| | | [4]{}: element 0x107-0x11a (19)
0x0100| 73 a4 | s. | id: "segment_uuid" (0x73a4) (A randomly generated unique ID to identify the Segment amongst many others chosen) 0x107-0x109 (2)
| | | type: "binary"
0x0100| 90 | . | size: 16 0x109-0x10a (1)
0x0100| 97 68 53 5b 2a ea| .hS[*.| value: raw bits 0x10a-0x11a (16)
0x0110|0e 38 b8 4a a3 1e c3 cd 9a e3 |.8.J...... |
| | | [5]{}: element 0x11a-0x125 (11)
0x0110| 44 89 | D. | id: "duration" (0x4489) (Duration of the Segment) 0x11a-0x11c (2)
| | | type: "float"
0x0110| 88 | . | size: 8 0x11c-0x11d (1)
0x0110| 40 44 00| @D.| value: 40 0x11d-0x125 (8)
0x0120|00 00 00 00 00 |..... |
| | | [3]{}: element 0x125-0x175 (80)
0x0120| 16 54 ae 6b | .T.k | id: "tracks" (0x1654ae6b) (A Top-Level Element of information with many tracks described) 0x125-0x129 (4)
| | | type: "master"
0x0120| cb | . | size: 75 0x129-0x12a (1)
| | | elements[0:2]: 0x12a-0x175 (75)
| | | [0]{}: element 0x12a-0x130 (6)
0x0120| bf | . | id: "crc32" (0xbf) 0x12a-0x12b (1)
| | | type: "binary"
0x0120| 84 | . | size: 4 0x12b-0x12c (1)
0x0120| c5 f5 e8 ad| ....| value: raw bits 0x12c-0x130 (4)
| | | [1]{}: element 0x130-0x175 (69)
0x0130|ae |. | id: "track_entry" (0xae) (Describes a track with all Elements) 0x130-0x131 (1)
| | | type: "master"
0x0130| 01 00 00 00 00 00 00 3c | .......< | size: 60 0x131-0x139 (8)
| | | elements[0:8]: 0x139-0x175 (60)
| | | [0]{}: element 0x139-0x13c (3)
0x0130| d7 | . | id: "track_number" (0xd7) (The track number as used in the Block Header) 0x139-0x13a (1)
| | | type: "uinteger"
0x0130| 81 | . | size: 1 0x13a-0x13b (1)
0x0130| 01 | . | value: 1 0x13b-0x13c (1)
| | | [1]{}: element 0x13c-0x147 (11)
0x0130| 73 c5 | s. | id: "track_uid" (0x73c5) (A unique ID to identify the Track) 0x13c-0x13e (2)
| | | type: "uinteger"
0x0130| 88 | . | size: 8 0x13e-0x13f (1)
0x0130| 42| B| value: 4766210523013795154 0x13f-0x147 (8)
0x0140|24 fb 37 dc f7 4d 52 |$.7..MR |
| | | [2]{}: element 0x147-0x14a (3)
0x0140| 9c | . | id: "flag_lacing" (0x9c) (Set to 1 if the track **MAY** contain blocks using lacing) 0x147-0x148 (1)
| | | type: "uinteger"
0x0140| 81 | . | size: 1 0x148-0x149 (1)
0x0140| 00 | . | value: 0 0x149-0x14a (1)
| | | [3]{}: element 0x14a-0x151 (7)
0x0140| 22 b5 9c | ".. | id: "language" (0x22b59c) (The language of the track) 0x14a-0x14d (3)
| | | type: "string"
0x0140| 83 | . | size: 3 0x14d-0x14e (1)
0x0140| 75 6e| un| value: "und" 0x14e-0x151 (3)
0x0150|64 |d |
| | | [4]{}: element 0x151-0x15a (9)
0x0150| 86 | . | id: "codec_id" (0x86) (An ID corresponding to the codec) 0x151-0x152 (1)
| | | type: "string"
0x0150| 87 | . | size: 7 0x152-0x153 (1)
0x0150| 56 5f 4d 50 45 47 32 | V_MPEG2 | value: "V_MPEG2" 0x153-0x15a (7)
| | | [5]{}: element 0x15a-0x15d (3)
0x0150| 83 | . | id: "track_type" (0x83) (The TrackType defines the type of each frame found in the Track) 0x15a-0x15b (1)
| | | type: "uinteger"
0x0150| 81 | . | size: 1 0x15b-0x15c (1)
0x0150| 01 | . | value: "video" (1) (An image) 0x15c-0x15d (1)
| | | [6]{}: element 0x15d-0x165 (8)
0x0150| 23 e3 83| #..| id: "default_duration" (0x23e383) (Number of nanoseconds per frame) 0x15d-0x160 (3)
| | | type: "uinteger"
0x0160|84 |. | size: 4 0x160-0x161 (1)
0x0160| 02 62 5a 00 | .bZ. | value: 40000000 0x161-0x165 (4)
| | | [7]{}: element 0x165-0x175 (16)
0x0160| e0 | . | id: "video" (0xe0) (Video settings) 0x165-0x166 (1)
| | | type: "master"
0x0160| 01 00 00 00 00 00 00 07 | ........ | size: 7 0x166-0x16e (8)
| | | elements[0:2]: 0x16e-0x175 (7)
| | | [0]{}: element 0x16e-0x172 (4)
0x0160| b0 | . | id: "pixel_width" (0xb0) (Width of the encoded video frames in pixels) 0x16e-0x16f (1)
| | | type: "uinteger"
0x0160| 82| .| size: 2 0x16f-0x170 (1)
0x0170|01 40 |.@ | value: 320 0x170-0x172 (2)
| | | [1]{}: element 0x172-0x175 (3)
0x0170| ba | . | id: "pixel_height" (0xba) (Height of the encoded video frames in pixels) 0x172-0x173 (1)
| | | type: "uinteger"
0x0170| 81 | . | size: 1 0x173-0x174 (1)
0x0170| f0 | . | value: 240 0x174-0x175 (1)
| | | [4]{}: element 0x175-0x21e (169)
0x0170| 12 54 c3 67 | .T.g | id: "tags" (0x1254c367) (Element containing metadata describing Tracks) 0x175-0x179 (4)
| | | type: "master"
0x0170| 40 a3 | @. | size: 163 0x179-0x17b (2)
| | | elements[0:3]: 0x17b-0x21e (163)
| | | [0]{}: element 0x17b-0x181 (6)
0x0170| bf | . | id: "crc32" (0xbf) 0x17b-0x17c (1)
| | | type: "binary"
0x0170| 84 | . | size: 4 0x17c-0x17d (1)
0x0170| c4 63 a1| .c.| value: raw bits 0x17d-0x181 (4)
0x0180|15 |. |
| | | [1]{}: element 0x181-0x1b2 (49)
0x0180| 73 73 | ss | id: "tag" (0x7373) (A single metadata descriptor) 0x181-0x183 (2)
| | | type: "master"
0x0180| 01 00 00 00 00 00 00 27 | .......' | size: 39 0x183-0x18b (8)
| | | elements[0:2]: 0x18b-0x1b2 (39)
| | | [0]{}: element 0x18b-0x18e (3)
0x0180| 63 c0 | c. | id: "targets" (0x63c0) (Specifies which other elements the metadata represented by the Tag applies to) 0x18b-0x18d (2)
| | | type: "master"
0x0180| 80 | . | size: 0 0x18d-0x18e (1)
| | | elements[0:0]: 0x18e-0x18e (0)
| | | [1]{}: element 0x18e-0x1b2 (36)
0x0180| 67 c8| g.| id: "simple_tag" (0x67c8) (Contains general information about the target) 0x18e-0x190 (2)
| | | type: "master"
0x0190|01 00 00 00 00 00 00 1a |........ | size: 26 0x190-0x198 (8)
| | | elements[0:2]: 0x198-0x1b2 (26)
| | | [0]{}: element 0x198-0x1a2 (10)
0x0190| 45 a3 | E. | id: "tag_name" (0x45a3) (The name of the Tag that is going to be stored) 0x198-0x19a (2)
| | | type: "utf8"
0x0190| 87 | . | size: 7 0x19a-0x19b (1)
0x0190| 45 4e 43 4f 44| ENCOD| value: "ENCODER" 0x19b-0x1a2 (7)
0x01a0|45 52 |ER |
| | | [1]{}: element 0x1a2-0x1b2 (16)
0x01a0| 44 87 | D. | id: "tag_string" (0x4487) (The value of the Tag) 0x1a2-0x1a4 (2)
| | | type: "utf8"
0x01a0| 8d | . | size: 13 0x1a4-0x1a5 (1)
0x01a0| 4c 61 76 66 35 38 2e 34 35 2e 31| Lavf58.45.1| value: "Lavf58.45.100" 0x1a5-0x1b2 (13)
0x01b0|30 30 |00 |
| | | [2]{}: element 0x1b2-0x21e (108)
0x01b0| 73 73 | ss | id: "tag" (0x7373) (A single metadata descriptor) 0x1b2-0x1b4 (2)
| | | type: "master"
0x01b0| 01 00 00 00 00 00 00 62 | .......b | size: 98 0x1b4-0x1bc (8)
| | | elements[0:3]: 0x1bc-0x21e (98)
| | | [0]{}: element 0x1bc-0x1ca (14)
0x01b0| 63 c0 | c. | id: "targets" (0x63c0) (Specifies which other elements the metadata represented by the Tag applies to) 0x1bc-0x1be (2)
| | | type: "master"
0x01b0| 8b | . | size: 11 0x1be-0x1bf (1)
| | | elements[0:1]: 0x1bf-0x1ca (11)
| | | [0]{}: element 0x1bf-0x1ca (11)
0x01b0| 63| c| id: "tag_track_uid" (0x63c5) (A unique ID to identify the Track(s) the tags belong to) 0x1bf-0x1c1 (2)
0x01c0|c5 |. |
| | | type: "uinteger"
0x01c0| 88 | . | size: 8 0x1c1-0x1c2 (1)
0x01c0| 42 24 fb 37 dc f7 4d 52 | B$.7..MR | value: 4766210523013795154 0x1c2-0x1ca (8)
| | | [1]{}: element 0x1ca-0x1f9 (47)
0x01c0| 67 c8 | g. | id: "simple_tag" (0x67c8) (Contains general information about the target) 0x1ca-0x1cc (2)
| | | type: "master"
0x01c0| 01 00 00 00| ....| size: 37 0x1cc-0x1d4 (8)
0x01d0|00 00 00 25 |...% |
| | | elements[0:2]: 0x1d4-0x1f9 (37)
| | | [0]{}: element 0x1d4-0x1de (10)
0x01d0| 45 a3 | E. | id: "tag_name" (0x45a3) (The name of the Tag that is going to be stored) 0x1d4-0x1d6 (2)
| | | type: "utf8"
0x01d0| 87 | . | size: 7 0x1d6-0x1d7 (1)
0x01d0| 45 4e 43 4f 44 45 52 | ENCODER | value: "ENCODER" 0x1d7-0x1de (7)
| | | [1]{}: element 0x1de-0x1f9 (27)
0x01d0| 44 87| D.| id: "tag_string" (0x4487) (The value of the Tag) 0x1de-0x1e0 (2)
| | | type: "utf8"
0x01e0|98 |. | size: 24 0x1e0-0x1e1 (1)
0x01e0| 4c 61 76 63 35 38 2e 39 31 2e 31 30 30 20 6d| Lavc58.91.100 m| value: "Lavc58.91.100 mpeg2video" 0x1e1-0x1f9 (24)
0x01f0|70 65 67 32 76 69 64 65 6f |peg2video |
| | | [2]{}: element 0x1f9-0x21e (37)
0x01f0| 67 c8 | g. | id: "simple_tag" (0x67c8) (Contains general information about the target) 0x1f9-0x1fb (2)
| | | type: "master"
0x01f0| a2 | . | size: 34 0x1fb-0x1fc (1)
| | | elements[0:2]: 0x1fc-0x21e (34)
| | | [0]{}: element 0x1fc-0x207 (11)
0x01f0| 45 a3 | E. | id: "tag_name" (0x45a3) (The name of the Tag that is going to be stored) 0x1fc-0x1fe (2)
| | | type: "utf8"
0x01f0| 88 | . | size: 8 0x1fe-0x1ff (1)
0x01f0| 44| D| value: "DURATION" 0x1ff-0x207 (8)
0x0200|55 52 41 54 49 4f 4e |URATION |
| | | [1]{}: element 0x207-0x21e (23)
0x0200| 44 87 | D. | id: "tag_string" (0x4487) (The value of the Tag) 0x207-0x209 (2)
| | | type: "utf8"
0x0200| 94 | . | size: 20 0x209-0x20a (1)
0x0200| 30 30 3a 30 30 3a| 00:00:| value: "00:00:00.040000000" 0x20a-0x21e (20)
0x0210|30 30 2e 30 34 30 30 30 30 30 30 30 00 00 |00.040000000.. |
| | | [5]{}: element 0x21e-0x21ae (8080)
0x0210| 1f 43| .C| id: "cluster" (0x1f43b675) (The Top-Level Element containing the (monolithic) Block structure) 0x21e-0x222 (4)
0x0220|b6 75 |.u |
| | | type: "master"
0x0220| 5f 8a | _. | size: 8074 0x222-0x224 (2)
| | | elements[0:3]: 0x224-0x21ae (8074)
| | | [0]{}: element 0x224-0x22a (6)
0x0220| bf | . | id: "crc32" (0xbf) 0x224-0x225 (1)
| | | type: "binary"
0x0220| 84 | . | size: 4 0x225-0x226 (1)
0x0220| e5 8a 2b 96 | ..+. | value: raw bits 0x226-0x22a (4)
| | | [1]{}: element 0x22a-0x22d (3)
0x0220| e7 | . | id: "timestamp" (0xe7) (Absolute timestamp of the cluster) 0x22a-0x22b (1)
| | | type: "uinteger"
0x0220| 81 | . | size: 1 0x22b-0x22c (1)
0x0220| 00 | . | value: 0 0x22c-0x22d (1)
| | | [2]{}: element 0x22d-0x21ae (8065)
0x0220| a3 | . | id: "simple_block" (0xa3) (Similar to Block) 0x22d-0x22e (1)
| | | type: "binary"
0x0220| 5f 7e| _~| size: 8062 0x22e-0x230 (2)
0x0230|81 |. | track_number: 1 0x230-0x231 (1)
0x0230| 00 00 | .. | timestamp: 0 0x231-0x233 (2)
| | | flags{}: 0x233-0x234 (1)
0x0230| 80 | . | key_frame: true 0x233-0x233.1 (0.1)
0x0230| 80 | . | reserved: 0 0x233.1-0x233.4 (0.3)
0x0230| 80 | . | invisible: false 0x233.4-0x233.5 (0.1)
0x0230| 80 | . | lacing: "none" (0) 0x233.5-0x233.7 (0.2)
0x0230| 80 | . | discardable: false 0x233.7-0x234 (0.1)
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef| packet{}: (mpeg_pes_packet) 0x234-0x21ae (8058)
0x0230| 00 00 01 | ... | prefix: 0b1 (valid) 0x234-0x237 (3)
0x0230| b3 | . | start_code: "sequence_header" (0xb3) 0x237-0x238 (1)
0x0230| 14 00 | .. | horizontal_size: 320 0x238-0x239.4 (1.4)
0x0230| 00 f0 | .. | vertical_size: 240 0x239.4-0x23b (1.4)
0x0230| 23 | # | aspect_ratio: 2 0x23b-0x23b.4 (0.4)
0x0230| 23 | # | frame_rate_code: 3 0x23b.4-0x23c (0.4)
0x0230| ff ff e0 | ... | bit_rate: 262143 0x23c-0x23e.2 (2.2)
0x0230| e0 | . | marker_bit: 1 0x23e.2-0x23e.3 (0.1)
0x0230| e0 18| ..| vbv_buf_size: 3 0x23e.3-0x23f.5 (1.2)
0x0230| 18| .| constrained_parameters_flag: 0 0x23f.5-0x23f.6 (0.1)
0x0230| 18| .| load_intra_quantizer_matrix: false 0x23f.6-0x23f.7 (0.1)
0x0230| 18| .| load_non_intra_quantizer_matrix: false 0x23f.7-0x240 (0.1)
0x0240|00 00 01 b5 14 8a 00 01 00 00 00 00 01 b8 00 08|................| data: raw bits 0x240-0x21ae (8046)
* |until 0x21ad.7 (8046) | |
| | | [6]{}: element 0x21ae-0x21ca (28)
0x21a0| 1c 53| .S| id: "cues" (0x1c53bb6b) (A Top-Level Element to speed seeking access) 0x21ae-0x21b2 (4)
0x21b0|bb 6b |.k |
| | | type: "master"
0x21b0| 97 | . | size: 23 0x21b2-0x21b3 (1)
| | | elements[0:2]: 0x21b3-0x21ca (23)
| | | [0]{}: element 0x21b3-0x21b9 (6)
0x21b0| bf | . | id: "crc32" (0xbf) 0x21b3-0x21b4 (1)
| | | type: "binary"
0x21b0| 84 | . | size: 4 0x21b4-0x21b5 (1)
0x21b0| af 0a 52 81 | ..R. | value: raw bits 0x21b5-0x21b9 (4)
| | | [1]{}: element 0x21b9-0x21ca (17)
0x21b0| bb | . | id: "cue_point" (0xbb) (Contains all information relative to a seek point in the Segment) 0x21b9-0x21ba (1)
| | | type: "master"
0x21b0| 8f | . | size: 15 0x21ba-0x21bb (1)
| | | elements[0:2]: 0x21bb-0x21ca (15)
| | | [0]{}: element 0x21bb-0x21be (3)
0x21b0| b3 | . | id: "cue_time" (0xb3) (Absolute timestamp of the seek point) 0x21bb-0x21bc (1)
| | | type: "uinteger"
0x21b0| 81 | . | size: 1 0x21bc-0x21bd (1)
0x21b0| 00 | . | value: 0 0x21bd-0x21be (1)
| | | [1]{}: element 0x21be-0x21ca (12)
0x21b0| b7 | . | id: "cue_track_positions" (0xb7) (Contain positions for different tracks corresponding to the timestamp) 0x21be-0x21bf (1)
| | | type: "master"
0x21b0| 8a| .| size: 10 0x21bf-0x21c0 (1)
| | | elements[0:3]: 0x21c0-0x21ca (10)
| | | [0]{}: element 0x21c0-0x21c3 (3)
0x21c0|f7 |. | id: "cue_track" (0xf7) (The track for which a position is given) 0x21c0-0x21c1 (1)
| | | type: "uinteger"
0x21c0| 81 | . | size: 1 0x21c1-0x21c2 (1)
0x21c0| 01 | . | value: 1 0x21c2-0x21c3 (1)
| | | [1]{}: element 0x21c3-0x21c7 (4)
0x21c0| f1 | . | id: "cue_cluster_position" (0xf1) (The Segment Position of the Cluster containing the associated Block) 0x21c3-0x21c4 (1)
| | | type: "uinteger"
0x21c0| 82 | . | size: 2 0x21c4-0x21c5 (1)
0x21c0| 01 ea | .. | value: 490 0x21c5-0x21c7 (2)
| | | [2]{}: element 0x21c7-0x21ca (3)
0x21c0| f0 | . | id: "cue_relative_position" (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) 0x21c7-0x21c8 (1)
| | | type: "uinteger"
0x21c0| 81 | . | size: 1 0x21c8-0x21c9 (1)
0x21c0| 09| | .| | value: 9 0x21c9-0x21ca (1)