mirror of
https://github.com/wader/fq.git
synced 2024-11-30 09:58:13 +03:00
051a70bd4b
All other ranges and slicing uses exclusive end so i think it make sense to make it consistent. Update docs and add additional example for non-byte-aligned field. Also fixes issue showing zero bit ranges as start-NA.
135 lines
14 KiB
Plaintext
135 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-0x9c (156)
|
|
0x00|49 6e 66 6f |Info | header: "Info" (valid) 0x0-0x4 (4)
|
|
| | | present_flags{}: 0x4-0x8 (4)
|
|
0x00| 00 00 00 0f | .... | unused: 0 0x4-0x7.3 (3.3)
|
|
0x00| 0f | . | lame: false 0x7.3-0x7.4 (0.1)
|
|
0x00| 0f | . | quality: true 0x7.4-0x7.5 (0.1)
|
|
0x00| 0f | . | toc: true 0x7.5-0x7.6 (0.1)
|
|
0x00| 0f | . | bytes: true 0x7.6-0x7.7 (0.1)
|
|
0x00| 0f | . | frames: true 0x7.7-0x8 (0.1)
|
|
0x00| 00 00 00 02 | .... | frames: 2 0x8-0xc (4)
|
|
0x00| 00 00 04 13| ....| bytes: 1043 0xc-0x10 (4)
|
|
| | | toc[0:100]: 0x10-0x74 (100)
|
|
0x10|00 |. | [0]: 0 entry 0x10-0x11 (1)
|
|
0x10| 99 | . | [1]: 153 entry 0x11-0x12 (1)
|
|
0x10| 99 | . | [2]: 153 entry 0x12-0x13 (1)
|
|
0x10| 99 | . | [3]: 153 entry 0x13-0x14 (1)
|
|
0x10| 99 | . | [4]: 153 entry 0x14-0x15 (1)
|
|
0x10| 99 | . | [5]: 153 entry 0x15-0x16 (1)
|
|
0x10| 99 | . | [6]: 153 entry 0x16-0x17 (1)
|
|
0x10| 99 | . | [7]: 153 entry 0x17-0x18 (1)
|
|
0x10| 99 | . | [8]: 153 entry 0x18-0x19 (1)
|
|
0x10| 99 | . | [9]: 153 entry 0x19-0x1a (1)
|
|
0x10| 99 | . | [10]: 153 entry 0x1a-0x1b (1)
|
|
0x10| 99 | . | [11]: 153 entry 0x1b-0x1c (1)
|
|
0x10| 99 | . | [12]: 153 entry 0x1c-0x1d (1)
|
|
0x10| 99 | . | [13]: 153 entry 0x1d-0x1e (1)
|
|
0x10| 99 | . | [14]: 153 entry 0x1e-0x1f (1)
|
|
0x10| 99| .| [15]: 153 entry 0x1f-0x20 (1)
|
|
0x20|99 |. | [16]: 153 entry 0x20-0x21 (1)
|
|
0x20| 99 | . | [17]: 153 entry 0x21-0x22 (1)
|
|
0x20| 99 | . | [18]: 153 entry 0x22-0x23 (1)
|
|
0x20| 99 | . | [19]: 153 entry 0x23-0x24 (1)
|
|
0x20| 99 | . | [20]: 153 entry 0x24-0x25 (1)
|
|
0x20| 99 | . | [21]: 153 entry 0x25-0x26 (1)
|
|
0x20| 99 | . | [22]: 153 entry 0x26-0x27 (1)
|
|
0x20| 99 | . | [23]: 153 entry 0x27-0x28 (1)
|
|
0x20| 99 | . | [24]: 153 entry 0x28-0x29 (1)
|
|
0x20| 99 | . | [25]: 153 entry 0x29-0x2a (1)
|
|
0x20| 99 | . | [26]: 153 entry 0x2a-0x2b (1)
|
|
0x20| 99 | . | [27]: 153 entry 0x2b-0x2c (1)
|
|
0x20| 99 | . | [28]: 153 entry 0x2c-0x2d (1)
|
|
0x20| 99 | . | [29]: 153 entry 0x2d-0x2e (1)
|
|
0x20| 99 | . | [30]: 153 entry 0x2e-0x2f (1)
|
|
0x20| 99| .| [31]: 153 entry 0x2f-0x30 (1)
|
|
0x30|99 |. | [32]: 153 entry 0x30-0x31 (1)
|
|
0x30| 99 | . | [33]: 153 entry 0x31-0x32 (1)
|
|
0x30| 99 | . | [34]: 153 entry 0x32-0x33 (1)
|
|
0x30| 99 | . | [35]: 153 entry 0x33-0x34 (1)
|
|
0x30| 99 | . | [36]: 153 entry 0x34-0x35 (1)
|
|
0x30| 99 | . | [37]: 153 entry 0x35-0x36 (1)
|
|
0x30| 99 | . | [38]: 153 entry 0x36-0x37 (1)
|
|
0x30| 99 | . | [39]: 153 entry 0x37-0x38 (1)
|
|
0x30| 99 | . | [40]: 153 entry 0x38-0x39 (1)
|
|
0x30| 99 | . | [41]: 153 entry 0x39-0x3a (1)
|
|
0x30| 99 | . | [42]: 153 entry 0x3a-0x3b (1)
|
|
0x30| 99 | . | [43]: 153 entry 0x3b-0x3c (1)
|
|
0x30| 99 | . | [44]: 153 entry 0x3c-0x3d (1)
|
|
0x30| 99 | . | [45]: 153 entry 0x3d-0x3e (1)
|
|
0x30| 99 | . | [46]: 153 entry 0x3e-0x3f (1)
|
|
0x30| 99| .| [47]: 153 entry 0x3f-0x40 (1)
|
|
0x40|99 |. | [48]: 153 entry 0x40-0x41 (1)
|
|
0x40| 99 | . | [49]: 153 entry 0x41-0x42 (1)
|
|
0x40| ff | . | [50]: 255 entry 0x42-0x43 (1)
|
|
0x40| ff | . | [51]: 255 entry 0x43-0x44 (1)
|
|
0x40| ff | . | [52]: 255 entry 0x44-0x45 (1)
|
|
0x40| ff | . | [53]: 255 entry 0x45-0x46 (1)
|
|
0x40| ff | . | [54]: 255 entry 0x46-0x47 (1)
|
|
0x40| ff | . | [55]: 255 entry 0x47-0x48 (1)
|
|
0x40| ff | . | [56]: 255 entry 0x48-0x49 (1)
|
|
0x40| ff | . | [57]: 255 entry 0x49-0x4a (1)
|
|
0x40| ff | . | [58]: 255 entry 0x4a-0x4b (1)
|
|
0x40| ff | . | [59]: 255 entry 0x4b-0x4c (1)
|
|
0x40| ff | . | [60]: 255 entry 0x4c-0x4d (1)
|
|
0x40| ff | . | [61]: 255 entry 0x4d-0x4e (1)
|
|
0x40| ff | . | [62]: 255 entry 0x4e-0x4f (1)
|
|
0x40| ff| .| [63]: 255 entry 0x4f-0x50 (1)
|
|
0x50|ff |. | [64]: 255 entry 0x50-0x51 (1)
|
|
0x50| ff | . | [65]: 255 entry 0x51-0x52 (1)
|
|
0x50| ff | . | [66]: 255 entry 0x52-0x53 (1)
|
|
0x50| ff | . | [67]: 255 entry 0x53-0x54 (1)
|
|
0x50| ff | . | [68]: 255 entry 0x54-0x55 (1)
|
|
0x50| ff | . | [69]: 255 entry 0x55-0x56 (1)
|
|
0x50| ff | . | [70]: 255 entry 0x56-0x57 (1)
|
|
0x50| ff | . | [71]: 255 entry 0x57-0x58 (1)
|
|
0x50| ff | . | [72]: 255 entry 0x58-0x59 (1)
|
|
0x50| ff | . | [73]: 255 entry 0x59-0x5a (1)
|
|
0x50| ff | . | [74]: 255 entry 0x5a-0x5b (1)
|
|
0x50| ff | . | [75]: 255 entry 0x5b-0x5c (1)
|
|
0x50| ff | . | [76]: 255 entry 0x5c-0x5d (1)
|
|
0x50| ff | . | [77]: 255 entry 0x5d-0x5e (1)
|
|
0x50| ff | . | [78]: 255 entry 0x5e-0x5f (1)
|
|
0x50| ff| .| [79]: 255 entry 0x5f-0x60 (1)
|
|
0x60|ff |. | [80]: 255 entry 0x60-0x61 (1)
|
|
0x60| ff | . | [81]: 255 entry 0x61-0x62 (1)
|
|
0x60| ff | . | [82]: 255 entry 0x62-0x63 (1)
|
|
0x60| ff | . | [83]: 255 entry 0x63-0x64 (1)
|
|
0x60| ff | . | [84]: 255 entry 0x64-0x65 (1)
|
|
0x60| ff | . | [85]: 255 entry 0x65-0x66 (1)
|
|
0x60| ff | . | [86]: 255 entry 0x66-0x67 (1)
|
|
0x60| ff | . | [87]: 255 entry 0x67-0x68 (1)
|
|
0x60| ff | . | [88]: 255 entry 0x68-0x69 (1)
|
|
0x60| ff | . | [89]: 255 entry 0x69-0x6a (1)
|
|
0x60| ff | . | [90]: 255 entry 0x6a-0x6b (1)
|
|
0x60| ff | . | [91]: 255 entry 0x6b-0x6c (1)
|
|
0x60| ff | . | [92]: 255 entry 0x6c-0x6d (1)
|
|
0x60| ff | . | [93]: 255 entry 0x6d-0x6e (1)
|
|
0x60| ff | . | [94]: 255 entry 0x6e-0x6f (1)
|
|
0x60| ff| .| [95]: 255 entry 0x6f-0x70 (1)
|
|
0x70|ff |. | [96]: 255 entry 0x70-0x71 (1)
|
|
0x70| ff | . | [97]: 255 entry 0x71-0x72 (1)
|
|
0x70| ff | . | [98]: 255 entry 0x72-0x73 (1)
|
|
0x70| ff | . | [99]: 255 entry 0x73-0x74 (1)
|
|
0x70| 00 00 00 00 | .... | quality: 0 0x74-0x78 (4)
|
|
0x70| 4c 61 76 63 35 38 2e 39| Lavc58.9| encoder: "Lavc58.91" 0x78-0x81 (9)
|
|
0x80|31 |1 |
|
|
0x80| 00 | . | tag_revision: 0 0x81-0x81.4 (0.4)
|
|
0x80| 00 | . | vbr_method: 0 0x81.4-0x82 (0.4)
|
|
0x80| 00 | . | lowpass_filter: 0 0x82-0x83 (1)
|
|
0x80| 00 00 00 00 | .... | replay_gain_peak: 0 0x83-0x87 (4)
|
|
0x80| 00 00 | .. | radio_replay_gain: 0 0x87-0x89 (2)
|
|
0x80| 00 00 | .. | audiophile_replay_gain: 0 0x89-0x8b (2)
|
|
0x80| 00 | . | lame_flags: 0 0x8b-0x8b.4 (0.4)
|
|
0x80| 00 | . | lame_ath_type: 0 0x8b.4-0x8c (0.4)
|
|
0x80| 00 | . | abr_vbr: 0 0x8c-0x8d (1)
|
|
0x80| 24 05 | $. | encoder_delay: 576 0x8d-0x8e.4 (1.4)
|
|
0x80| 05 07| ..| encoder_padding: 1287 0x8e.4-0x90 (1.4)
|
|
0x90|00 |. | misc: 0 0x90-0x91 (1)
|
|
0x90| 00 | . | mp3_gain: 0 0x91-0x92 (1)
|
|
0x90| 00 00 | .. | preset: 0 0x92-0x94 (2)
|
|
0x90| 00 00 04 13 | .... | length: 1043 0x94-0x98 (4)
|
|
0x90| c2 aa | .. | music_crc: 49834 0x98-0x9a (2)
|
|
0x90| 92 0f| | ..| | tag_crc: 37391 0x9a-0x9c (2)
|