1
1
mirror of https://github.com/wader/fq.git synced 2024-11-28 03:02:55 +03:00
fq/format/mp4/testdata/colr_box.fqtest
Mattias Wadman f8fd6b7f48 mp4: Add more HEIF boxes
Add scalar.*ToDesceription mapper and refactor to use it
2022-04-07 19:11:49 +02:00

18 lines
2.0 KiB
Plaintext

$ fq -n '"000000106674797069736f6d0000020000000013636f6c726e636c7800010001000100" | hex | mp4 | dv'
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: (mp4) 0x0-0x22.7 (35)
| | | boxes[0:2]: 0x0-0x22.7 (35)
| | | [0]{}: box 0x0-0xf.7 (16)
0x00|00 00 00 10 |.... | size: 16 0x0-0x3.7 (4)
0x00| 66 74 79 70 | ftyp | type: "ftyp" (File type and compatibility) 0x4-0x7.7 (4)
0x00| 69 73 6f 6d | isom | major_brand: "isom" 0x8-0xb.7 (4)
0x00| 00 00 02 00| ....| minor_version: 512 0xc-0xf.7 (4)
| | | brands[0:0]: 0x10-NA (0)
| | | [1]{}: box 0x10-0x22.7 (19)
0x10|00 00 00 13 |.... | size: 19 0x10-0x13.7 (4)
0x10| 63 6f 6c 72 | colr | type: "colr" (Specifies the colourspace of the image) 0x14-0x17.7 (4)
0x10| 6e 63 6c 78 | nclx | parameter_type: "nclx" 0x18-0x1b.7 (4)
0x10| 00 01 | .. | primaries_index: "bt709" (1) (ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP 177 Annex B) 0x1c-0x1d.7 (2)
0x10| 00 01| ..| transfer_function_index: "bt709" (1) (ITU-R BT1361) 0x1e-0x1f.7 (2)
0x20|00 01 |.. | matrix_index: "bt709" (1) (ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / derived in SMPTE RP 177 Annex B) 0x20-0x21.7 (2)
0x20| 00| | .| | color_range: 0 0x22-0x22.7 (1)