1
1
mirror of https://github.com/wader/fq.git synced 2024-12-03 13:46:37 +03:00
fq/format/mp3/testdata/unknown.fqtest
Mattias Wadman 377af133e0 fqtest: Cleanup path usage
Make cwd for a test script the directory where the script is.
Use relative paths
2022-05-21 20:03:25 +02: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: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[0: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:0]:
0x340| 63 63 63 63 63| | ccccc|| unknown2: raw bits