mirror of
https://github.com/wader/fq.git
synced 2024-11-23 18:56:52 +03:00
1b32b42f93
Generate more code More generic and comfortable API Improve and Update format decoder to new API Add some more format tests
33 lines
3.1 KiB
Plaintext
33 lines
3.1 KiB
Plaintext
# ffmpeg -f lavfi -i sine -t 10ms -ac 2 stereo.wav
|
|
$ fq -d wav verbose /stereo.wav
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.: {} /stereo.wav (wav) 0x0-0x731.7 (1842)
|
|
0x000|52 49 46 46 |RIFF | id: "RIFF" 0x0-0x3.7 (4)
|
|
0x000| 2a 07 00 00 | *... | size: 1834 0x4-0x7.7 (4)
|
|
0x000| 57 41 56 45 | WAVE | format: "WAVE" 0x8-0xb.7 (4)
|
|
| | | chunks: [3] 0xc-0x731.7 (1830)
|
|
| | | [0]: chunk {} 0xc-0x23.7 (24)
|
|
0x000| 66 6d 74 20| fmt | id: "fmt" 0xc-0xf.7 (4)
|
|
0x010|10 00 00 00 |.... | size: 16 0x10-0x13.7 (4)
|
|
0x010| 01 00 | .. | audio_format: "PCM" (1) 0x14-0x15.7 (2)
|
|
0x010| 02 00 | .. | num_channels: 2 0x16-0x17.7 (2)
|
|
0x010| 44 ac 00 00 | D... | sample_rate: 44100 0x18-0x1b.7 (4)
|
|
0x010| 10 b1 02 00| ....| byte_rate: 176400 0x1c-0x1f.7 (4)
|
|
0x020|04 00 |.. | block_align: 4 0x20-0x21.7 (2)
|
|
0x020| 10 00 | .. | bits_per_sample: 16 0x22-0x23.7 (2)
|
|
| | | [1]: chunk {} 0x24-0x45.7 (34)
|
|
0x020| 4c 49 53 54 | LIST | id: "LIST" 0x24-0x27.7 (4)
|
|
0x020| 1a 00 00 00 | .... | size: 26 0x28-0x2b.7 (4)
|
|
0x020| 49 4e 46 4f| INFO| list_type: "INFO" 0x2c-0x2f.7 (4)
|
|
| | | chunks: [1] 0x30-0x45.7 (22)
|
|
| | | [0]: chunk {} 0x30-0x45.7 (22)
|
|
0x030|49 53 46 54 |ISFT | id: "ISFT" 0x30-0x33.7 (4)
|
|
0x030| 0e 00 00 00 | .... | size: 14 0x34-0x37.7 (4)
|
|
0x030| 4c 61 76 66 35 38 2e 32| Lavf58.2| data: "Lavf58.29.100" 0x38-0x45.7 (14)
|
|
0x040|39 2e 31 30 30 00 |9.100. |
|
|
| | | [2]: chunk {} 0x46-0x731.7 (1772)
|
|
0x040| 64 61 74 61 | data | id: "data" 0x46-0x49.7 (4)
|
|
0x040| e4 06 00 00 | .... | size: 1764 0x4a-0x4d.7 (4)
|
|
0x040| 00 00| ..| samples: raw bits 0x4e-0x731.7 (1764)
|
|
0x050|00 00 b5 00 b5 00 69 01 69 01 1d 02 1d 02 ce 02|......i.i.......|
|
|
* |until 0x731.7 (end) (1764) | |
|