1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 13:22:58 +03:00
fq/format/mp3/testdata/mp3_frame_info.fqtest

134 lines
14 KiB
Plaintext

# ffmpeg -y -f lavfi -i sine -ac 2 -t 10ms -f mp3 temp.mp3 && fq temp.mp3 '.frames[0].tag | tobits' > mp3_frame_info
$ fq -d mp3_frame_xing dv mp3_frame_info
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: mp3_frame_info (mp3_frame_xing) 0x0-0x9b.7 (156)
0x00|49 6e 66 6f |Info | header: "Info" (valid) 0x0-0x3.7 (4)
| | | present_flags{}: 0x4-0x7.7 (4)
0x00| 00 00 00 0f | .... | unused: 0 0x4-0x7.3 (3.4)
0x00| 0f | . | quality: true 0x7.4-0x7.4 (0.1)
0x00| 0f | . | toc: true 0x7.5-0x7.5 (0.1)
0x00| 0f | . | bytes: true 0x7.6-0x7.6 (0.1)
0x00| 0f | . | frames: true 0x7.7-0x7.7 (0.1)
0x00| 00 00 00 02 | .... | frames: 2 0x8-0xb.7 (4)
0x00| 00 00 04 13| ....| bytes: 1043 0xc-0xf.7 (4)
| | | toc[0:100]: 0x10-0x73.7 (100)
0x10|00 |. | [0]: 0 entry 0x10-0x10.7 (1)
0x10| 99 | . | [1]: 153 entry 0x11-0x11.7 (1)
0x10| 99 | . | [2]: 153 entry 0x12-0x12.7 (1)
0x10| 99 | . | [3]: 153 entry 0x13-0x13.7 (1)
0x10| 99 | . | [4]: 153 entry 0x14-0x14.7 (1)
0x10| 99 | . | [5]: 153 entry 0x15-0x15.7 (1)
0x10| 99 | . | [6]: 153 entry 0x16-0x16.7 (1)
0x10| 99 | . | [7]: 153 entry 0x17-0x17.7 (1)
0x10| 99 | . | [8]: 153 entry 0x18-0x18.7 (1)
0x10| 99 | . | [9]: 153 entry 0x19-0x19.7 (1)
0x10| 99 | . | [10]: 153 entry 0x1a-0x1a.7 (1)
0x10| 99 | . | [11]: 153 entry 0x1b-0x1b.7 (1)
0x10| 99 | . | [12]: 153 entry 0x1c-0x1c.7 (1)
0x10| 99 | . | [13]: 153 entry 0x1d-0x1d.7 (1)
0x10| 99 | . | [14]: 153 entry 0x1e-0x1e.7 (1)
0x10| 99| .| [15]: 153 entry 0x1f-0x1f.7 (1)
0x20|99 |. | [16]: 153 entry 0x20-0x20.7 (1)
0x20| 99 | . | [17]: 153 entry 0x21-0x21.7 (1)
0x20| 99 | . | [18]: 153 entry 0x22-0x22.7 (1)
0x20| 99 | . | [19]: 153 entry 0x23-0x23.7 (1)
0x20| 99 | . | [20]: 153 entry 0x24-0x24.7 (1)
0x20| 99 | . | [21]: 153 entry 0x25-0x25.7 (1)
0x20| 99 | . | [22]: 153 entry 0x26-0x26.7 (1)
0x20| 99 | . | [23]: 153 entry 0x27-0x27.7 (1)
0x20| 99 | . | [24]: 153 entry 0x28-0x28.7 (1)
0x20| 99 | . | [25]: 153 entry 0x29-0x29.7 (1)
0x20| 99 | . | [26]: 153 entry 0x2a-0x2a.7 (1)
0x20| 99 | . | [27]: 153 entry 0x2b-0x2b.7 (1)
0x20| 99 | . | [28]: 153 entry 0x2c-0x2c.7 (1)
0x20| 99 | . | [29]: 153 entry 0x2d-0x2d.7 (1)
0x20| 99 | . | [30]: 153 entry 0x2e-0x2e.7 (1)
0x20| 99| .| [31]: 153 entry 0x2f-0x2f.7 (1)
0x30|99 |. | [32]: 153 entry 0x30-0x30.7 (1)
0x30| 99 | . | [33]: 153 entry 0x31-0x31.7 (1)
0x30| 99 | . | [34]: 153 entry 0x32-0x32.7 (1)
0x30| 99 | . | [35]: 153 entry 0x33-0x33.7 (1)
0x30| 99 | . | [36]: 153 entry 0x34-0x34.7 (1)
0x30| 99 | . | [37]: 153 entry 0x35-0x35.7 (1)
0x30| 99 | . | [38]: 153 entry 0x36-0x36.7 (1)
0x30| 99 | . | [39]: 153 entry 0x37-0x37.7 (1)
0x30| 99 | . | [40]: 153 entry 0x38-0x38.7 (1)
0x30| 99 | . | [41]: 153 entry 0x39-0x39.7 (1)
0x30| 99 | . | [42]: 153 entry 0x3a-0x3a.7 (1)
0x30| 99 | . | [43]: 153 entry 0x3b-0x3b.7 (1)
0x30| 99 | . | [44]: 153 entry 0x3c-0x3c.7 (1)
0x30| 99 | . | [45]: 153 entry 0x3d-0x3d.7 (1)
0x30| 99 | . | [46]: 153 entry 0x3e-0x3e.7 (1)
0x30| 99| .| [47]: 153 entry 0x3f-0x3f.7 (1)
0x40|99 |. | [48]: 153 entry 0x40-0x40.7 (1)
0x40| 99 | . | [49]: 153 entry 0x41-0x41.7 (1)
0x40| ff | . | [50]: 255 entry 0x42-0x42.7 (1)
0x40| ff | . | [51]: 255 entry 0x43-0x43.7 (1)
0x40| ff | . | [52]: 255 entry 0x44-0x44.7 (1)
0x40| ff | . | [53]: 255 entry 0x45-0x45.7 (1)
0x40| ff | . | [54]: 255 entry 0x46-0x46.7 (1)
0x40| ff | . | [55]: 255 entry 0x47-0x47.7 (1)
0x40| ff | . | [56]: 255 entry 0x48-0x48.7 (1)
0x40| ff | . | [57]: 255 entry 0x49-0x49.7 (1)
0x40| ff | . | [58]: 255 entry 0x4a-0x4a.7 (1)
0x40| ff | . | [59]: 255 entry 0x4b-0x4b.7 (1)
0x40| ff | . | [60]: 255 entry 0x4c-0x4c.7 (1)
0x40| ff | . | [61]: 255 entry 0x4d-0x4d.7 (1)
0x40| ff | . | [62]: 255 entry 0x4e-0x4e.7 (1)
0x40| ff| .| [63]: 255 entry 0x4f-0x4f.7 (1)
0x50|ff |. | [64]: 255 entry 0x50-0x50.7 (1)
0x50| ff | . | [65]: 255 entry 0x51-0x51.7 (1)
0x50| ff | . | [66]: 255 entry 0x52-0x52.7 (1)
0x50| ff | . | [67]: 255 entry 0x53-0x53.7 (1)
0x50| ff | . | [68]: 255 entry 0x54-0x54.7 (1)
0x50| ff | . | [69]: 255 entry 0x55-0x55.7 (1)
0x50| ff | . | [70]: 255 entry 0x56-0x56.7 (1)
0x50| ff | . | [71]: 255 entry 0x57-0x57.7 (1)
0x50| ff | . | [72]: 255 entry 0x58-0x58.7 (1)
0x50| ff | . | [73]: 255 entry 0x59-0x59.7 (1)
0x50| ff | . | [74]: 255 entry 0x5a-0x5a.7 (1)
0x50| ff | . | [75]: 255 entry 0x5b-0x5b.7 (1)
0x50| ff | . | [76]: 255 entry 0x5c-0x5c.7 (1)
0x50| ff | . | [77]: 255 entry 0x5d-0x5d.7 (1)
0x50| ff | . | [78]: 255 entry 0x5e-0x5e.7 (1)
0x50| ff| .| [79]: 255 entry 0x5f-0x5f.7 (1)
0x60|ff |. | [80]: 255 entry 0x60-0x60.7 (1)
0x60| ff | . | [81]: 255 entry 0x61-0x61.7 (1)
0x60| ff | . | [82]: 255 entry 0x62-0x62.7 (1)
0x60| ff | . | [83]: 255 entry 0x63-0x63.7 (1)
0x60| ff | . | [84]: 255 entry 0x64-0x64.7 (1)
0x60| ff | . | [85]: 255 entry 0x65-0x65.7 (1)
0x60| ff | . | [86]: 255 entry 0x66-0x66.7 (1)
0x60| ff | . | [87]: 255 entry 0x67-0x67.7 (1)
0x60| ff | . | [88]: 255 entry 0x68-0x68.7 (1)
0x60| ff | . | [89]: 255 entry 0x69-0x69.7 (1)
0x60| ff | . | [90]: 255 entry 0x6a-0x6a.7 (1)
0x60| ff | . | [91]: 255 entry 0x6b-0x6b.7 (1)
0x60| ff | . | [92]: 255 entry 0x6c-0x6c.7 (1)
0x60| ff | . | [93]: 255 entry 0x6d-0x6d.7 (1)
0x60| ff | . | [94]: 255 entry 0x6e-0x6e.7 (1)
0x60| ff| .| [95]: 255 entry 0x6f-0x6f.7 (1)
0x70|ff |. | [96]: 255 entry 0x70-0x70.7 (1)
0x70| ff | . | [97]: 255 entry 0x71-0x71.7 (1)
0x70| ff | . | [98]: 255 entry 0x72-0x72.7 (1)
0x70| ff | . | [99]: 255 entry 0x73-0x73.7 (1)
0x70| 00 00 00 00 | .... | quality: 0 0x74-0x77.7 (4)
0x70| 4c 61 76 63 35 38 2e 39| Lavc58.9| encoder: "Lavc58.91" 0x78-0x80.7 (9)
0x80|31 |1 |
0x80| 00 | . | tag_revision: 0 0x81-0x81.3 (0.4)
0x80| 00 | . | vbr_method: 0 0x81.4-0x81.7 (0.4)
0x80| 00 | . | lowpass_filter: 0 0x82-0x82.7 (1)
0x80| 00 00 00 00 | .... | replay_gain_peak: 0 0x83-0x86.7 (4)
0x80| 00 00 | .. | radio_replay_gain: 0 0x87-0x88.7 (2)
0x80| 00 00 | .. | audiophile_replay_gain: 0 0x89-0x8a.7 (2)
0x80| 00 | . | lame_flags: 0 0x8b-0x8b.3 (0.4)
0x80| 00 | . | lame_ath_type: 0 0x8b.4-0x8b.7 (0.4)
0x80| 00 | . | abr_vbr: 0 0x8c-0x8c.7 (1)
0x80| 24 05 | $. | encoder_delay: 576 0x8d-0x8e.3 (1.4)
0x80| 05 07| ..| encoder_padding: 1287 0x8e.4-0x8f.7 (1.4)
0x90|00 |. | misc: 0 0x90-0x90.7 (1)
0x90| 00 | . | mp3_gain: 0 0x91-0x91.7 (1)
0x90| 00 00 | .. | preset: 0 0x92-0x93.7 (2)
0x90| 00 00 04 13 | .... | length: 1043 0x94-0x97.7 (4)
0x90| c2 aa | .. | music_crc: 49834 0x98-0x99.7 (2)
0x90| 92 0f| | ..| | tag_crc: 37391 0x9a-0x9b.7 (2)