1
1
mirror of https://github.com/wader/fq.git synced 2024-11-24 03:05:22 +03:00
fq/format/mp4/testdata/mpeg2.fqtest
Mattias Wadman 1b32b42f93 decode: Major decode API refactor
Generate more code
More generic and comfortable API
Improve and Update format decoder to new API
Add some more format tests
2021-11-15 21:12:07 +01:00

358 lines
43 KiB
Plaintext
Raw Blame History

# ffmpeg -f lavfi -i testsrc -c:v mpeg2video -f mp4 -t 50ms mpeg2.mp4
$ fq -d mp4 verbose /mpeg2.mp4
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.: {} /mpeg2.mp4 (mp4) 0x0-0x22a8.7 (8873)
| | | boxes: [4] 0x0-0x22a8.7 (8873)
| | | [0]: box {} 0x0-0x1b.7 (28)
0x0000|00 00 00 1c |.... | size: 28 0x0-0x3.7 (4)
0x0000| 66 74 79 70 | ftyp | type: "ftyp" (File type and compatibility) 0x4-0x7.7 (4)
0x0000| 69 73 6f 6d | isom | major_brand: "isom" 0x8-0xb.7 (4)
0x0000| 00 00 02 00| ....| minor_version: 512 0xc-0xf.7 (4)
| | | brands: [3] 0x10-0x1b.7 (12)
0x0010|69 73 6f 6d |isom | [0]: brand "isom" (All files based on the ISO Base Media File Format) 0x10-0x13.7 (4)
0x0010| 69 73 6f 32 | iso2 | [1]: brand "iso2" (All files based on the 2004 edition of the ISO file format) 0x14-0x17.7 (4)
0x0010| 6d 70 34 31 | mp41 | [2]: brand "mp41" (MP4 version 1) 0x18-0x1b.7 (4)
| | | [1]: box {} 0x1c-0x23.7 (8)
0x0010| 00 00 00 08| ....| size: 8 0x1c-0x1f.7 (4)
0x0020|66 72 65 65 |free | type: "free" (Free space) 0x20-0x23.7 (4)
| | | data: raw bits 0x24-NA (0)
| | | [2]: box {} 0x24-0x1fa5.7 (8066)
0x0020| 00 00 1f 82 | .... | size: 8066 0x24-0x27.7 (4)
0x0020| 6d 64 61 74 | mdat | type: "mdat" (Media data container) 0x28-0x2b.7 (4)
0x0020| 00 00 01 b3| ....| data: raw bits 0x2c-0x1fa5.7 (8058)
0x0030|14 00 f0 23 ff ff e0 18 00 00 01 b5 14 8a 00 01|...#............|
* |until 0x1fa5.7 (8058) | |
| | | [3]: box {} 0x1fa6-0x22a8.7 (771)
0x1fa0| 00 00 03 03 | .... | size: 771 0x1fa6-0x1fa9.7 (4)
0x1fa0| 6d 6f 6f 76 | moov | type: "moov" (Container for all the meta-data) 0x1faa-0x1fad.7 (4)
| | | boxes: [3] 0x1fae-0x22a8.7 (763)
| | | [0]: box {} 0x1fae-0x2019.7 (108)
0x1fa0| 00 00| ..| size: 108 0x1fae-0x1fb1.7 (4)
0x1fb0|00 6c |.l |
0x1fb0| 6d 76 68 64 | mvhd | type: "mvhd" (Movie header, overall declarations) 0x1fb2-0x1fb5.7 (4)
0x1fb0| 00 | . | version: 0 0x1fb6-0x1fb6.7 (1)
0x1fb0| 00 00 00 | ... | flags: 0 0x1fb7-0x1fb9.7 (3)
0x1fb0| 00 00 00 00 | .... | creation_time: "1904-01-04T00:00:00Z" (0) 0x1fba-0x1fbd.7 (4)
0x1fb0| 00 00| ..| modification_time: "1904-01-04T00:00:00Z" (0) 0x1fbe-0x1fc1.7 (4)
0x1fc0|00 00 |.. |
0x1fc0| 00 00 03 e8 | .... | time_scale: 1000 0x1fc2-0x1fc5.7 (4)
0x1fc0| 00 00 00 28 | ...( | duration: 40 0x1fc6-0x1fc9.7 (4)
0x1fc0| 00 01 00 00 | .... | preferred_rate: 1 0x1fca-0x1fcd.7 (4)
0x1fc0| 01 00| ..| preferred_volume: 1 0x1fce-0x1fcf.7 (2)
0x1fd0|00 00 00 00 00 00 00 00 00 00 |.......... | reserved: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" 0x1fd0-0x1fd9.7 (10)
| | | matrix_structure: {} 0x1fda-0x1ffd.7 (36)
0x1fd0| 00 01 00 00 | .... | a: 1 0x1fda-0x1fdd.7 (4)
0x1fd0| 00 00| ..| b: 0 0x1fde-0x1fe1.7 (4)
0x1fe0|00 00 |.. |
0x1fe0| 00 00 00 00 | .... | u: 0 0x1fe2-0x1fe5.7 (4)
0x1fe0| 00 00 00 00 | .... | c: 0 0x1fe6-0x1fe9.7 (4)
0x1fe0| 00 01 00 00 | .... | d: 1 0x1fea-0x1fed.7 (4)
0x1fe0| 00 00| ..| v: 0 0x1fee-0x1ff1.7 (4)
0x1ff0|00 00 |.. |
0x1ff0| 00 00 00 00 | .... | x: 0 0x1ff2-0x1ff5.7 (4)
0x1ff0| 00 00 00 00 | .... | y: 0 0x1ff6-0x1ff9.7 (4)
0x1ff0| 40 00 00 00 | @... | w: 1 0x1ffa-0x1ffd.7 (4)
0x1ff0| 00 00| ..| preview_time: 0 0x1ffe-0x2001.7 (4)
0x2000|00 00 |.. |
0x2000| 00 00 00 00 | .... | preview_duration: 0 0x2002-0x2005.7 (4)
0x2000| 00 00 00 00 | .... | poster_time: 0 0x2006-0x2009.7 (4)
0x2000| 00 00 00 00 | .... | selection_time: 0 0x200a-0x200d.7 (4)
0x2000| 00 00| ..| selection_duration: 0 0x200e-0x2011.7 (4)
0x2010|00 00 |.. |
0x2010| 00 00 00 00 | .... | current_time: 0 0x2012-0x2015.7 (4)
0x2010| 00 00 00 02 | .... | next_track_id: 2 0x2016-0x2019.7 (4)
| | | [1]: box {} 0x201a-0x2246.7 (557)
0x2010| 00 00 02 2d | ...- | size: 557 0x201a-0x201d.7 (4)
0x2010| 74 72| tr| type: "trak" (Container for an individual track or stream) 0x201e-0x2021.7 (4)
0x2020|61 6b |ak |
| | | boxes: [3] 0x2022-0x2246.7 (549)
| | | [0]: box {} 0x2022-0x207d.7 (92)
0x2020| 00 00 00 5c | ...\ | size: 92 0x2022-0x2025.7 (4)
0x2020| 74 6b 68 64 | tkhd | type: "tkhd" (Track header, overall information about the track) 0x2026-0x2029.7 (4)
0x2020| 00 | . | version: 0 0x202a-0x202a.7 (1)
0x2020| 00 00 03 | ... | flags: 3 0x202b-0x202d.7 (3)
0x2020| 00 00| ..| creation_time: "1904-01-04T00:00:00Z" (0) 0x202e-0x2031.7 (4)
0x2030|00 00 |.. |
0x2030| 00 00 00 00 | .... | modification_time: "1904-01-04T00:00:00Z" (0) 0x2032-0x2035.7 (4)
0x2030| 00 00 00 01 | .... | track_id: 1 0x2036-0x2039.7 (4)
0x2030| 00 00 00 00 | .... | reserved1: 0 0x203a-0x203d.7 (4)
0x2030| 00 00| ..| duration: 40 0x203e-0x2041.7 (4)
0x2040|00 28 |.( |
0x2040| 00 00 00 00 00 00 00 00 | ........ | reserved2: raw bits 0x2042-0x2049.7 (8)
0x2040| 00 00 | .. | layer: 0 0x204a-0x204b.7 (2)
0x2040| 00 00 | .. | alternate_group: 0 0x204c-0x204d.7 (2)
0x2040| 00 00| ..| volume: 0 0x204e-0x204f.7 (2)
0x2050|00 00 |.. | reserved3: 0 0x2050-0x2051.7 (2)
| | | matrix_structure: {} 0x2052-0x2075.7 (36)
0x2050| 00 01 00 00 | .... | a: 1 0x2052-0x2055.7 (4)
0x2050| 00 00 00 00 | .... | b: 0 0x2056-0x2059.7 (4)
0x2050| 00 00 00 00 | .... | u: 0 0x205a-0x205d.7 (4)
0x2050| 00 00| ..| c: 0 0x205e-0x2061.7 (4)
0x2060|00 00 |.. |
0x2060| 00 01 00 00 | .... | d: 1 0x2062-0x2065.7 (4)
0x2060| 00 00 00 00 | .... | v: 0 0x2066-0x2069.7 (4)
0x2060| 00 00 00 00 | .... | x: 0 0x206a-0x206d.7 (4)
0x2060| 00 00| ..| y: 0 0x206e-0x2071.7 (4)
0x2070|00 00 |.. |
0x2070| 40 00 00 00 | @... | w: 1 0x2072-0x2075.7 (4)
0x2070| 01 40 00 00 | .@.. | track_width: 320 0x2076-0x2079.7 (4)
0x2070| 00 f0 00 00 | .... | track_height: 240 0x207a-0x207d.7 (4)
| | | [1]: box {} 0x207e-0x20a1.7 (36)
0x2070| 00 00| ..| size: 36 0x207e-0x2081.7 (4)
0x2080|00 24 |.$ |
0x2080| 65 64 74 73 | edts | type: "edts" (Edit list container) 0x2082-0x2085.7 (4)
| | | boxes: [1] 0x2086-0x20a1.7 (28)
| | | [0]: box {} 0x2086-0x20a1.7 (28)
0x2080| 00 00 00 1c | .... | size: 28 0x2086-0x2089.7 (4)
0x2080| 65 6c 73 74 | elst | type: "elst" (An edit list) 0x208a-0x208d.7 (4)
0x2080| 00 | . | version: 0 0x208e-0x208e.7 (1)
0x2080| 00| .| flags: 0 0x208f-0x2091.7 (3)
0x2090|00 00 |.. |
0x2090| 00 00 00 01 | .... | entry_count: 1 0x2092-0x2095.7 (4)
| | | entries: [1] 0x2096-0x20a1.7 (12)
| | | [0]: entry {} 0x2096-0x20a1.7 (12)
0x2090| 00 00 00 28 | ...( | segment_duration: 40 0x2096-0x2099.7 (4)
0x2090| 00 00 00 00 | .... | media_time: 0 0x209a-0x209d.7 (4)
0x2090| 00 01| ..| media_rate: 1 0x209e-0x20a1.7 (4)
0x20a0|00 00 |.. |
| | | [2]: box {} 0x20a2-0x2246.7 (421)
0x20a0| 00 00 01 a5 | .... | size: 421 0x20a2-0x20a5.7 (4)
0x20a0| 6d 64 69 61 | mdia | type: "mdia" (Container for the media information in a track) 0x20a6-0x20a9.7 (4)
| | | boxes: [3] 0x20aa-0x2246.7 (413)
| | | [0]: box {} 0x20aa-0x20c9.7 (32)
0x20a0| 00 00 00 20 | ... | size: 32 0x20aa-0x20ad.7 (4)
0x20a0| 6d 64| md| type: "mdhd" (Media header, overall information about the media) 0x20ae-0x20b1.7 (4)
0x20b0|68 64 |hd |
0x20b0| 00 | . | version: 0 0x20b2-0x20b2.7 (1)
0x20b0| 00 00 00 | ... | flags: 0 0x20b3-0x20b5.7 (3)
0x20b0| 00 00 00 00 | .... | creation_time: "1904-01-04T00:00:00Z" (0) 0x20b6-0x20b9.7 (4)
0x20b0| 00 00 00 00 | .... | modification_time: "1904-01-04T00:00:00Z" (0) 0x20ba-0x20bd.7 (4)
0x20b0| 00 00| ..| time_scale: 12800 0x20be-0x20c1.7 (4)
0x20c0|32 00 |2. |
0x20c0| 00 00 02 00 | .... | duration: 512 0x20c2-0x20c5.7 (4)
0x20c0| 55 c4 | U. | language: "und" 0x20c6-0x20c7.7 (2)
0x20c0| 00 00 | .. | quality: 0 0x20c8-0x20c9.7 (2)
| | | [1]: box {} 0x20ca-0x20f6.7 (45)
0x20c0| 00 00 00 2d | ...- | size: 45 0x20ca-0x20cd.7 (4)
0x20c0| 68 64| hd| type: "hdlr" (Handler, declares the media (handler) type) 0x20ce-0x20d1.7 (4)
0x20d0|6c 72 |lr |
0x20d0| 00 | . | version: 0 0x20d2-0x20d2.7 (1)
0x20d0| 00 00 00 | ... | flags: 0 0x20d3-0x20d5.7 (3)
0x20d0| 00 00 00 00 | .... | component_type: "" 0x20d6-0x20d9.7 (4)
0x20d0| 76 69 64 65 | vide | component_subtype: "vide" (Video Track) 0x20da-0x20dd.7 (4)
0x20d0| 00 00| ..| component_manufacturer: "" 0x20de-0x20e1.7 (4)
0x20e0|00 00 |.. |
0x20e0| 00 00 00 00 | .... | component_flags: 0 0x20e2-0x20e5.7 (4)
0x20e0| 00 00 00 00 | .... | component_flags_mask: 0 0x20e6-0x20e9.7 (4)
0x20e0| 56 69 64 65 6f 48| VideoH| component_name: "VideoHandler" 0x20ea-0x20f6.7 (13)
0x20f0|61 6e 64 6c 65 72 00 |andler. |
| | | [2]: box {} 0x20f7-0x2246.7 (336)
0x20f0| 00 00 01 50 | ...P | size: 336 0x20f7-0x20fa.7 (4)
0x20f0| 6d 69 6e 66 | minf | type: "minf" (Media information container) 0x20fb-0x20fe.7 (4)
| | | boxes: [3] 0x20ff-0x2246.7 (328)
| | | [0]: box {} 0x20ff-0x2112.7 (20)
0x20f0| 00| .| size: 20 0x20ff-0x2102.7 (4)
0x2100|00 00 14 |... |
0x2100| 76 6d 68 64 | vmhd | type: "vmhd" (Video media header, overall information (video track only)) 0x2103-0x2106.7 (4)
0x2100| 00 | . | version: 0 0x2107-0x2107.7 (1)
0x2100| 00 00 01 | ... | flags: 1 0x2108-0x210a.7 (3)
0x2100| 00 00 | .. | graphicsmode: 0 0x210b-0x210c.7 (2)
| | | opcolor: [3] 0x210d-0x2112.7 (6)
0x2100| 00 00 | .. | [0]: value 0 0x210d-0x210e.7 (2)
0x2100| 00| .| [1]: value 0 0x210f-0x2110.7 (2)
0x2110|00 |. |
0x2110| 00 00 | .. | [2]: value 0 0x2111-0x2112.7 (2)
| | | [1]: box {} 0x2113-0x2136.7 (36)
0x2110| 00 00 00 24 | ...$ | size: 36 0x2113-0x2116.7 (4)
0x2110| 64 69 6e 66 | dinf | type: "dinf" (Data information box, container) 0x2117-0x211a.7 (4)
| | | boxes: [1] 0x211b-0x2136.7 (28)
| | | [0]: box {} 0x211b-0x2136.7 (28)
0x2110| 00 00 00 1c | .... | size: 28 0x211b-0x211e.7 (4)
0x2110| 64| d| type: "dref" (Data reference box, declares source(s) of media data in track) 0x211f-0x2122.7 (4)
0x2120|72 65 66 |ref |
0x2120| 00 | . | version: 0 0x2123-0x2123.7 (1)
0x2120| 00 00 00 | ... | flags: 0 0x2124-0x2126.7 (3)
0x2120| 00 00 00 01 | .... | entry_count: 1 0x2127-0x212a.7 (4)
| | | boxes: [1] 0x212b-0x2136.7 (12)
| | | [0]: box {} 0x212b-0x2136.7 (12)
0x2120| 00 00 00 0c | .... | size: 12 0x212b-0x212e.7 (4)
0x2120| 75| u| type: "url " 0x212f-0x2132.7 (4)
0x2130|72 6c 20 |rl |
0x2130| 00 | . | version: 0 0x2133-0x2133.7 (1)
0x2130| 00 00 01 | ... | flags: 1 0x2134-0x2136.7 (3)
| | | data: raw bits 0x2137-NA (0)
| | | [2]: box {} 0x2137-0x2246.7 (272)
0x2130| 00 00 01 10 | .... | size: 272 0x2137-0x213a.7 (4)
0x2130| 73 74 62 6c | stbl | type: "stbl" (Sample table box, container for the time/space map) 0x213b-0x213e.7 (4)
| | | boxes: [5] 0x213f-0x2246.7 (264)
| | | [0]: box {} 0x213f-0x21ea.7 (172)
0x2130| 00| .| size: 172 0x213f-0x2142.7 (4)
0x2140|00 00 ac |... |
0x2140| 73 74 73 64 | stsd | type: "stsd" (Sample descriptions (codec types, initialization etc.)) 0x2143-0x2146.7 (4)
0x2140| 00 | . | version: 0 0x2147-0x2147.7 (1)
0x2140| 00 00 00 | ... | flags: 0 0x2148-0x214a.7 (3)
0x2140| 00 00 00 01 | .... | entry_count: 1 0x214b-0x214e.7 (4)
| | | boxes: [1] 0x214f-0x21ea.7 (156)
| | | [0]: box {} 0x214f-0x21ea.7 (156)
0x2140| 00| .| size: 156 0x214f-0x2152.7 (4)
0x2150|00 00 9c |... |
0x2150| 6d 70 34 76 | mp4v | type: "mp4v" 0x2153-0x2156.7 (4)
0x2150| 00 00 00 00 00 00 | ...... | reserved: raw bits 0x2157-0x215c.7 (6)
0x2150| 00 01 | .. | data_reference_index: 1 0x215d-0x215e.7 (2)
0x2150| 00| .| version: 0 0x215f-0x2160.7 (2)
0x2160|00 |. |
0x2160| 00 00 | .. | revision_level: 0 0x2161-0x2162.7 (2)
0x2160| 00 00 00 00 | .... | max_packet_size: 0 0x2163-0x2166.7 (4)
0x2160| 00 00 00 00 | .... | temporal_quality: 0 0x2167-0x216a.7 (4)
0x2160| 00 00 00 00 | .... | spatial_quality: 0 0x216b-0x216e.7 (4)
0x2160| 01| .| width: 320 0x216f-0x2170.7 (2)
0x2170|40 |@ |
0x2170| 00 f0 | .. | height: 240 0x2171-0x2172.7 (2)
0x2170| 00 48 00 00 | .H.. | horizontal_resolution: 72 0x2173-0x2176.7 (4)
0x2170| 00 48 00 00 | .H.. | vertical_resolution: 72 0x2177-0x217a.7 (4)
0x2170| 00 00 00 00 | .... | data_size: 0 0x217b-0x217e.7 (4)
0x2170| 00| .| frame_count: 1 0x217f-0x2180.7 (2)
0x2180|01 |. |
0x2180| 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00| ...............| compressor_name: "" 0x2181-0x21a0.7 (32)
0x2190|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
0x21a0|00 |. |
0x21a0| 00 18 | .. | depth: 24 0x21a1-0x21a2.7 (2)
0x21a0| ff ff | .. | color_table_id: -1 0x21a3-0x21a4.7 (2)
| | | boxes: [3] 0x21a5-0x21ea.7 (70)
| | | [0]: box {} 0x21a5-0x21d0.7 (44)
0x21a0| 00 00 00 2c | ..., | size: 44 0x21a5-0x21a8.7 (4)
0x21a0| 65 73 64 73 | esds | type: "esds" (Elementary stream descriptor) 0x21a9-0x21ac.7 (4)
0x21a0| 00 00 00| ...| version: 0 0x21ad-0x21b0.7 (4)
0x21b0|00 |. |
| | | descriptor: {} (mpeg_es) 0x21b1-0x21d0.7 (32)
0x21b0| 03 | . | tag_id: "ES_DescrTag" (3) 0x21b1-0x21b1.7 (1)
0x21b0| 80 80 80 1b | .... | length: 27 0x21b2-0x21b5.7 (4)
0x21b0| 00 01 | .. | es_id: 1 0x21b6-0x21b7.7 (2)
0x21b0| 00 | . | stream_dependency_flag: false 0x21b8-0x21b8 (0.1)
0x21b0| 00 | . | url_flag: false 0x21b8.1-0x21b8.1 (0.1)
0x21b0| 00 | . | ocr_stream_flag: false 0x21b8.2-0x21b8.2 (0.1)
0x21b0| 00 | . | stream_priority: 0 0x21b8.3-0x21b8.7 (0.5)
| | | dec_config_descr: {} 0x21b9-0x21ca.7 (18)
0x21b0| 04 | . | tag_id: "DecoderConfigDescrTag" (4) 0x21b9-0x21b9.7 (1)
0x21b0| 80 80 80 0d | .... | length: 13 0x21ba-0x21bd.7 (4)
0x21b0| 61 | a | object_type_indication: "MPEGObjectTypeMPEG2VideoMain" (97) 0x21be-0x21be.7 (1)
0x21b0| 11| .| stream_type: "VisualStream" (4) 0x21bf-0x21bf.5 (0.6)
0x21b0| 11| .| upstream: false 0x21bf.6-0x21bf.6 (0.1)
0x21b0| 11| .| specific_info_flag: true 0x21bf.7-0x21bf.7 (0.1)
0x21c0|00 00 00 |... | buffer_size_db: 0 0x21c0-0x21c2.7 (3)
0x21c0| 00 18 97 50 | ...P | max_bit_rate: 1611600 0x21c3-0x21c6.7 (4)
0x21c0| 00 18 97 50 | ...P | avg_bit_rate: 1611600 0x21c7-0x21ca.7 (4)
| | | sl_config_descr: {} 0x21cb-0x21d0.7 (6)
0x21c0| 06 | . | tag_id: "SLConfigDescrTag" (6) 0x21cb-0x21cb.7 (1)
0x21c0| 80 80 80 01| ....| length: 1 0x21cc-0x21cf.7 (4)
0x21d0|02 |. | data: raw bits 0x21d0-0x21d0.7 (1)
| | | [1]: box {} 0x21d1-0x21da.7 (10)
0x21d0| 00 00 00 0a | .... | size: 10 0x21d1-0x21d4.7 (4)
0x21d0| 66 69 65 6c | fiel | type: "fiel" (Video field order) 0x21d5-0x21d8.7 (4)
0x21d0| 01 00 | .. | data: raw bits 0x21d9-0x21da.7 (2)
| | | [2]: box {} 0x21db-0x21ea.7 (16)
0x21d0| 00 00 00 10 | .... | size: 16 0x21db-0x21de.7 (4)
0x21d0| 70| p| type: "pasp" (Pixel aspect ratio) 0x21df-0x21e2.7 (4)
0x21e0|61 73 70 |asp |
0x21e0| 00 00 00 01 | .... | h_spacing: 1 0x21e3-0x21e6.7 (4)
0x21e0| 00 00 00 01 | .... | v_spacing: 1 0x21e7-0x21ea.7 (4)
| | | [1]: box {} 0x21eb-0x2202.7 (24)
0x21e0| 00 00 00 18 | .... | size: 24 0x21eb-0x21ee.7 (4)
0x21e0| 73| s| type: "stts" (Sample time-to-sample) 0x21ef-0x21f2.7 (4)
0x21f0|74 74 73 |tts |
0x21f0| 00 | . | version: 0 0x21f3-0x21f3.7 (1)
0x21f0| 00 00 00 | ... | flags: 0 0x21f4-0x21f6.7 (3)
0x21f0| 00 00 00 01 | .... | entry_count: 1 0x21f7-0x21fa.7 (4)
| | | entries: [1] 0x21fb-0x2202.7 (8)
| | | [0]: entry {} 0x21fb-0x2202.7 (8)
0x21f0| 00 00 00 01 | .... | count: 1 0x21fb-0x21fe.7 (4)
0x21f0| 00| .| delta: 512 0x21ff-0x2202.7 (4)
0x2200|00 02 00 |... |
| | | [2]: box {} 0x2203-0x221e.7 (28)
0x2200| 00 00 00 1c | .... | size: 28 0x2203-0x2206.7 (4)
0x2200| 73 74 73 63 | stsc | type: "stsc" (Sample-to-chunk, partial data-offset information) 0x2207-0x220a.7 (4)
0x2200| 00 | . | version: 0 0x220b-0x220b.7 (1)
0x2200| 00 00 00 | ... | flags: 0 0x220c-0x220e.7 (3)
0x2200| 00| .| entry_count: 1 0x220f-0x2212.7 (4)
0x2210|00 00 01 |... |
| | | entries: [1] 0x2213-0x221e.7 (12)
| | | [0]: entry {} 0x2213-0x221e.7 (12)
0x2210| 00 00 00 01 | .... | first_chunk: 1 0x2213-0x2216.7 (4)
0x2210| 00 00 00 01 | .... | samples_per_chunk: 1 0x2217-0x221a.7 (4)
0x2210| 00 00 00 01 | .... | sample_description_id: 1 0x221b-0x221e.7 (4)
| | | [3]: box {} 0x221f-0x2232.7 (20)
0x2210| 00| .| size: 20 0x221f-0x2222.7 (4)
0x2220|00 00 14 |... |
0x2220| 73 74 73 7a | stsz | type: "stsz" (Sample sizes (framing)) 0x2223-0x2226.7 (4)
0x2220| 00 | . | version: 0 0x2227-0x2227.7 (1)
0x2220| 00 00 00 | ... | flags: 0 0x2228-0x222a.7 (3)
0x2220| 00 00 1f 7a | ...z | sample_size: 8058 0x222b-0x222e.7 (4)
0x2220| 00| .| entry_count: 1 0x222f-0x2232.7 (4)
0x2230|00 00 01 |... |
| | | [4]: box {} 0x2233-0x2246.7 (20)
0x2230| 00 00 00 14 | .... | size: 20 0x2233-0x2236.7 (4)
0x2230| 73 74 63 6f | stco | type: "stco" (Chunk offset, partial data-offset information) 0x2237-0x223a.7 (4)
0x2230| 00 | . | version: 0 0x223b-0x223b.7 (1)
0x2230| 00 00 00 | ... | flags: 0 0x223c-0x223e.7 (3)
0x2230| 00| .| entry_count: 1 0x223f-0x2242.7 (4)
0x2240|00 00 01 |... |
| | | entries: [1] 0x2243-0x2246.7 (4)
0x2240| 00 00 00 2c | ..., | [0]: chunk_offset 44 0x2243-0x2246.7 (4)
| | | [2]: box {} 0x2247-0x22a8.7 (98)
0x2240| 00 00 00 62 | ...b | size: 98 0x2247-0x224a.7 (4)
0x2240| 75 64 74 61 | udta | type: "udta" (User-data) 0x224b-0x224e.7 (4)
| | | boxes: [1] 0x224f-0x22a8.7 (90)
| | | [0]: box {} 0x224f-0x22a8.7 (90)
0x2240| 00| .| size: 90 0x224f-0x2252.7 (4)
0x2250|00 00 5a |..Z |
0x2250| 6d 65 74 61 | meta | type: "meta" (Metadata container) 0x2253-0x2256.7 (4)
0x2250| 00 00 00 00 | .... | maybe_flags: 0 0x2257-0x225a.7 (4)
| | | boxes: [2] 0x225b-0x22a8.7 (78)
| | | [0]: box {} 0x225b-0x227b.7 (33)
0x2250| 00 00 00 21 | ...! | size: 33 0x225b-0x225e.7 (4)
0x2250| 68| h| type: "hdlr" (Handler, declares the media (handler) type) 0x225f-0x2262.7 (4)
0x2260|64 6c 72 |dlr |
0x2260| 00 | . | version: 0 0x2263-0x2263.7 (1)
0x2260| 00 00 00 | ... | flags: 0 0x2264-0x2266.7 (3)
0x2260| 00 00 00 00 | .... | component_type: "" 0x2267-0x226a.7 (4)
0x2260| 6d 64 69 72 | mdir | component_subtype: "mdir" (Metadata) 0x226b-0x226e.7 (4)
0x2260| 61| a| component_manufacturer: "appl" 0x226f-0x2272.7 (4)
0x2270|70 70 6c |ppl |
0x2270| 00 00 00 00 | .... | component_flags: 0 0x2273-0x2276.7 (4)
0x2270| 00 00 00 00 | .... | component_flags_mask: 0 0x2277-0x227a.7 (4)
0x2270| 00 | . | component_name: "" 0x227b-0x227b.7 (1)
| | | [1]: box {} 0x227c-0x22a8.7 (45)
0x2270| 00 00 00 2d| ...-| size: 45 0x227c-0x227f.7 (4)
0x2280|69 6c 73 74 |ilst | type: "ilst" 0x2280-0x2283.7 (4)
| | | boxes: [1] 0x2284-0x22a8.7 (37)
| | | [0]: box {} 0x2284-0x22a8.7 (37)
0x2280| 00 00 00 25 | ...% | size: 37 0x2284-0x2287.7 (4)
0x2280| a9 74 6f 6f | .too | type: "<22>too" 0x2288-0x228b.7 (4)
| | | boxes: [1] 0x228c-0x22a8.7 (29)
| | | [0]: box {} 0x228c-0x22a8.7 (29)
0x2280| 00 00 00 1d| ....| size: 29 0x228c-0x228f.7 (4)
0x2290|64 61 74 61 |data | type: "data" 0x2290-0x2293.7 (4)
0x2290| 00 | . | version: 0 0x2294-0x2294.7 (1)
0x2290| 00 00 01 | ... | flags: 1 0x2295-0x2297.7 (3)
0x2290| 00 00 00 00 | .... | reserved: 0 0x2298-0x229b.7 (4)
0x2290| 4c 61 76 66| Lavf| data: "Lavf58.45.100" 0x229c-0x22a8.7 (13)
0x22a0|35 38 2e 34 35 2e 31 30 30| |58.45.100| |
| | | tracks: [1] 0x2c-0x1fa5.7 (8058)
| | | [0]: track {} 0x2c-0x1fa5.7 (8058)
| | | samples: [1] 0x2c-0x1fa5.7 (8058)
| | | [0]: sample {} (mpeg_pes_packet) 0x2c-0x1fa5.7 (8058)
0x0020| 00 00 01 | ... | prefix: 0b1 (valid) 0x2c-0x2e.7 (3)
0x0020| b3| .| start_code: "SequenceHeader" (0xb3) 0x2f-0x2f.7 (1)
0x0030|14 00 |.. | horizontal_size: 320 0x30-0x31.3 (1.4)
0x0030| 00 f0 | .. | vertical_size: 240 0x31.4-0x32.7 (1.4)
0x0030| 23 | # | aspect_ratio: 2 0x33-0x33.3 (0.4)
0x0030| 23 | # | frame_rate_code: 3 0x33.4-0x33.7 (0.4)
0x0030| ff ff e0 | ... | bit_rate: 262143 0x34-0x36.1 (2.2)
0x0030| e0 | . | marker_bit: 1 0x36.2-0x36.2 (0.1)
0x0030| e0 18 | .. | vbv_buf_size: 3 0x36.3-0x37.4 (1.2)
0x0030| 18 | . | constrained_parameters_flag: 0 0x37.5-0x37.5 (0.1)
0x0030| 18 | . | load_intra_quantizer_matrix: false 0x37.6-0x37.6 (0.1)
0x0030| 18 | . | load_non_intra_quantizer_matrix: false 0x37.7-0x37.7 (0.1)
0x0030| 00 00 01 b5 14 8a 00 01| ........| unknown0: raw bits 0x38-0x1fa5.7 (8046)
0x0040|00 00 00 00 01 b8 00 08 00 40 00 00 01 00 00 0f|.........@......|
* |until 0x1fa5.7 (8046) | |