1
1
mirror of https://github.com/wader/fq.git synced 2024-12-26 23:15:04 +03:00
fq/format/mp3/testdata/unknown.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

12 lines
888 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: raw bits
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: raw bits
| | | footers: [0]
0x340| 63 63 63 63 63| | ccccc|| unknown2: raw bits