2020-06-08 03:29:51 +03:00
|
|
|
# ffmpeg -f lavfi -i sine -t 10ms test.mp3
|
|
|
|
/test.mp3:
|
2021-08-13 17:40:28 +03:00
|
|
|
$ fq -d mp3 '._bits[0:(16+8)*8] | hexdump' /test.mp3
|
2021-09-28 00:14:08 +03:00
|
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|
|
|
|
|
0x00|49 44 33 04 00 00 00 00 00 23 54 53 53 45 00 00|ID3......#TSSE..|.: none (192 bits)
|
2020-06-08 03:29:51 +03:00
|
|
|
0x10|00 0f 00 00 03 4c 61 76 |.....Lav |
|
2021-08-13 17:40:28 +03:00
|
|
|
$ fq -d mp3 '.frames[1].header.layer | hexdump' /test.mp3
|
2021-09-28 00:14:08 +03:00
|
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|
|
|
|
|
0xe0| fb | . |.frames[1].header.layer: Layer 3 (3)
|
2021-08-13 17:40:28 +03:00
|
|
|
$ fq -d mp3 '.frames[1].header.layer._bytes | hexdump' /test.mp3
|
2021-09-28 00:14:08 +03:00
|
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|
|
|
|
|
0x0|40| |@| |.: none (0 bytes)
|