1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 14:14:58 +03:00
fq/format/mp3/testdata/unknown.fqtest
Mattias Wadman 691688022f fqtest: Refactor our script part to own package
Hopefully can be reused for docs generation
2021-10-06 18:49:03 +02:00

12 lines
890 B
Plaintext

# fq '"aaaa", .frames[0], "bbbb", .frames[0], "ccccc" | tobytes' test.mp3 > unknown.mp3
$ fq -d mp3 . /unknown.mp3
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.: {} /unknown.mp3 (mp3)
| | | headers: [0]
0x000|61 61 61 61 |aaaa | unknown0: 61616161
0x000| ff fb 90 64 00 00 02 6b 0b ce 9d 60| ...d...k...`| frames: [2]
0x010|60 00 00 00 0d 20 a0 00 01 18 c9 99 51 b9 a7 80|`.... ......Q...|
* |until 0x349.7 (838) | |
0x1a0| 62 62 62 62 | bbbb | unknown1: 62626262
| | | footers: [0]
0x340| 63 63 63 63 63| | ccccc|| unknown2: 6363636363