# test decode separate frame # ffmpeg -f lavfi -i sine -t 0.01s -f flac pipe:1 | fq - '.frames[0]._bytes' > frame $ fq -d flac_frame verbose /frame |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.: {} /frame (flac_frame) 0x0-0x1ff.7 (512) | | | header: {} 0x0-0x7.7 (8) 0x000|ff f8 |.. | sync: Correct (0x3ffe) 0x0-0x1.5 (1.6) 0x000| f8 | . | reserved0: Correct (0x0) 0x1.6-0x1.6 (0.1) 0x000| f8 | . | blocking_strategy: Fixed (0) 0x1.7-0x1.7 (0.1) 0x000| 79 | y | block_size: end of header (16 bit) (0) 0x2-0x2.3 (0.4) 0x000| 79 | y | sample_rate: 44100 0x2.4-0x2.7 (0.4) 0x000| 08 | . | channel_assignment: mono (1) 0x3-0x3.3 (0.4) 0x000| 08 | . | sample_size: 16 0x3.4-0x3.6 (0.3) 0x000| 08 | . | reserved1: Correct (0x0) 0x3.7-0x3.7 (0.1) | | | end_of_header: {} 0x4-0x6.7 (3) 0x000| 00 | . | frame_number: 0 0x4-0x4.7 (1) 0x000| 01 b8 | .. | block_size: 441 0x5-0x6.7 (2) 0x000| 55 | U | crc: Correct (55) 0x7-0x7.7 (1) | | | subframes: [1] 0x8-0x1fd.2 (501.3) | | | [0]: subframe {} 0x8-0x1fd.2 (501.3) 0x000| 4e | N | zero_bit: Correct (0x0) 0x8-0x8 (0.1) 0x000| 4e | N | subframe_type: LPC (3) 0x8.1-0x8.6 (0.6) | | | lpc_order: 8 0x8.7-NA (0) 0x000| 4e | N | wasted_bits_flag: 0 0x8.7-0x8.7 (0.1) | | | subframe_sample_size: 16 0x9-NA (0) | | | warmup_samples: [8] 0x9-0x18.7 (16) 0x000| 00 00 | .. | [0]: value 0 0x9-0xa.7 (2) 0x000| 01 00 | .. | [1]: value 256 0xb-0xc.7 (2) 0x000| 01 ff | .. | [2]: value 511 0xd-0xe.7 (2) 0x000| 02| .| [3]: value 765 0xf-0x10.7 (2) 0x010|fd |. | 0x010| 03 f8 | .. | [4]: value 1016 0x11-0x12.7 (2) 0x010| 04 ee | .. | [5]: value 1262 0x13-0x14.7 (2) 0x010| 05 e0 | .. | [6]: value 1504 0x15-0x16.7 (2) 0x010| 06 cc | .. | [7]: value 1740 0x17-0x18.7 (2) 0x010| e7 | . | precision: 15 0x19-0x19.3 (0.4) 0x010| e7 b7 | .. | shift: 15 0x19.4-0x1a (0.5) | | | coefficients: [8] 0x1a.1-0x29 (15) 0x010| b7 52 | .R | [0]: value 14162 0x1a.1-0x1b.7 (1.7) 0x010| 5c 9c | \. | [1]: value 11854 0x1c-0x1d.6 (1.7) 0x010| 9c 8d e8| ...| [2]: value 9082 0x1d.7-0x1f.5 (1.7) 0x010| e8| .| [3]: value 5975 0x1f.6-0x21.4 (1.7) 0x020|ba b8 |.. | 0x020| b8 a5 df | ... | [4]: value 2653 0x21.5-0x23.3 (1.7) 0x020| df a3 fc | ... | [5]: value -737 0x23.4-0x25.2 (1.7) 0x020| fc 03 71 | ..q | [6]: value -4083 0x25.3-0x27.1 (1.7) 0x020| 71 e5 80 | q.. | [7]: value -7221 0x27.2-0x29 (1.7) 0x020| 80 | . | residual_coding_method: rice (4) 0x29.1-0x29.2 (0.2) 0x020| 80 | . | partition_order: 0 0x29.3-0x29.6 (0.4) | | | rice_partitions: 1 0x29.7-NA (0) | | | partitions: [1] 0x29.7-0x1fd.2 (467.4) | | | [0]: partition {} 0x29.7-0x1fd.2 (467.4) | | | count: 433 0x29.7-NA (0) 0x020| 80 ee | .. | rice_parameter: 7 0x29.7-0x2a.2 (0.4) 0x020| ee e7 63 a9 cc e0| ..c...| samples: 773b1d4e670369a8cc612e164a64d239... 0x2a.3-0x1fd.2 (467) 0x030|6d 35 19 8c 25 c2 c9 4c 9a 47 20 bd ba 36 b3 2f|m5..%..L.G ..6./| * |until 0x1fd.2 (467) | | 0x1f0| 20 | | byte_align: Correct (0x0) 0x1fd.3-0x1fd.7 (0.5) 0x1f0| 7f ab| ..| footer_crc: Correct (7fab) 0x1fe-0x1ff.7 (2)