1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 00:57:15 +03:00
fq/format/riff/testdata/stereo.fqtest
2023-11-25 15:02:09 +01:00

33 lines
3.2 KiB
Plaintext

# ffmpeg -f lavfi -i sine -t 10ms -ac 2 stereo.wav
$ fq -d wav dv stereo.wav
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: stereo.wav (wav) 0x0-0x732 (1842)
0x000|52 49 46 46 |RIFF | id: "RIFF" 0x0-0x4 (4)
0x000| 2a 07 00 00 | *... | size: 1834 0x4-0x8 (4)
0x000| 57 41 56 45 | WAVE | format: "WAVE" (valid) 0x8-0xc (4)
| | | chunks[0:3]: 0xc-0x732 (1830)
| | | [0]{}: chunk 0xc-0x24 (24)
0x000| 66 6d 74 20| fmt | id: "fmt" 0xc-0x10 (4)
0x010|10 00 00 00 |.... | size: 16 0x10-0x14 (4)
0x010| 01 00 | .. | audio_format: "pcm_s16le" (1) 0x14-0x16 (2)
0x010| 02 00 | .. | num_channels: 2 0x16-0x18 (2)
0x010| 44 ac 00 00 | D... | sample_rate: 44100 0x18-0x1c (4)
0x010| 10 b1 02 00| ....| byte_rate: 176400 0x1c-0x20 (4)
0x020|04 00 |.. | block_align: 4 0x20-0x22 (2)
0x020| 10 00 | .. | bits_per_sample: 16 0x22-0x24 (2)
| | | [1]{}: chunk 0x24-0x46 (34)
0x020| 4c 49 53 54 | LIST | id: "LIST" (Chunk list) 0x24-0x28 (4)
0x020| 1a 00 00 00 | .... | size: 26 0x28-0x2c (4)
0x020| 49 4e 46 4f| INFO| type: "INFO" 0x2c-0x30 (4)
| | | chunks[0:1]: 0x30-0x46 (22)
| | | [0]{}: chunk 0x30-0x46 (22)
0x030|49 53 46 54 |ISFT | id: "ISFT" (Software. Identifies the name of the software package used to create the file) 0x30-0x34 (4)
0x030| 0e 00 00 00 | .... | size: 14 0x34-0x38 (4)
0x030| 4c 61 76 66 35 38 2e 32| Lavf58.2| value: "Lavf58.29.100" 0x38-0x46 (14)
0x040|39 2e 31 30 30 00 |9.100. |
| | | [2]{}: chunk 0x46-0x732 (1772)
0x040| 64 61 74 61 | data | id: "data" 0x46-0x4a (4)
0x040| e4 06 00 00 | .... | size: 1764 0x4a-0x4e (4)
0x040| 00 00| ..| samples: raw bits 0x4e-0x732 (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) | |