1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 14:14:58 +03:00
fq/format/mpeg/testdata/adts.fqtest
2021-11-22 17:02:07 +01:00

88 lines
9.6 KiB
Plaintext

# ffmpeg -y -f lavfi -i sine -ac 2 -t 40ms -f adts adts
$ fq -d adts verbose /adts
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.: [3] /adts (adts) 0x0-0x406.7 (1031)
| | | [0]: frame {} (adts_frame) 0x0-0x153.7 (340)
0x000|ff f1 |.. | syncword: 0b111111111111 (valid) 0x0-0x1.3 (1.4)
0x000| f1 | . | mpeg_version: "MPEG-4" (0) 0x1.4-0x1.4 (0.1)
0x000| f1 | . | layer: 0 (valid) 0x1.5-0x1.6 (0.2)
0x000| f1 | . | protection_absent: true (No CRC) 0x1.7-0x1.7 (0.1)
0x000| 50 | P | profile: "aac_lc" (2) (AAC Low Complexity)) 0x2-0x2.1 (0.2)
0x000| 50 | P | sampling_frequency: 44100 (4) 0x2.2-0x2.5 (0.4)
0x000| 50 | P | private_bit: 0 0x2.6-0x2.6 (0.1)
0x000| 50 80 | P. | channel_configuration: 2 (front-left, front-right) 0x2.7-0x3.1 (0.3)
0x000| 80 | . | originality: 0 0x3.2-0x3.2 (0.1)
0x000| 80 | . | home: 0 0x3.3-0x3.3 (0.1)
0x000| 80 | . | copyrighted: 0 0x3.4-0x3.4 (0.1)
0x000| 80 | . | copyright: 0 0x3.5-0x3.5 (0.1)
0x000| 80 2a 9f | .*. | frame_length: 340 0x3.6-0x5.2 (1.5)
0x000| 9f fc | .. | buffer_fullness: 2047 0x5.3-0x6.5 (1.3)
0x000| fc | . | number_of_rdbs: 1 0x6.6-0x6.7 (0.2)
| | | raw_data_blocks: [1] 0x7-0x153.7 (333)
| | | [0]: raw_data_block [4] (aac_frame) 0x7-0x153.7 (333)
| | | [0]: element {} 0x7-0x18.6 (17.7)
0x000| de | . | syntax_element: "FIL" (6) 0x7-0x7.2 (0.3)
| | | cnt: {} 0x7.3-0x8.6 (1.4)
0x000| de | . | count: 15 0x7.3-0x7.6 (0.4)
0x000| de 04 | .. | esc_count: 2 0x7.7-0x8.6 (1)
| | | payload_length: 16 0x8.7-NA (0)
| | | extension_payload: {} 0x8.7-0x18.6 (16)
0x000| 04 00 | .. | extension_type: "EXT_FILL" (0) 0x8.7-0x9.2 (0.4)
0x000| 00 | . | fill_nibble: 0 0x9.3-0x9.6 (0.4)
0x000| 00 4c 61 76 63 35 38| .Lavc58| fill_byte: raw bits 0x9.7-0x18.6 (15)
0x010|2e 31 33 34 2e 31 30 30 00 |.134.100. |
| | | [1]: element {} 0x18.7-0x19.1 (0.3)
0x010| 00 42 | .B | syntax_element: "CPE" (1) 0x18.7-0x19.1 (0.3)
0x010| 42 | B | [2]: byte_align raw bits 0x19.2-0x19.7 (0.6)
0x010| 55 9f ff ff ff c0| U.....| [3]: data raw bits 0x1a-0x153.7 (314)
0x020|01 29 68 a7 33 11 20 02 6a e5 c4 96 89 11 11 04|.)h.3. .j.......|
* |until 0x153.7 (314) | |
| | | [1]: frame {} (adts_frame) 0x154-0x2be.7 (363)
0x150| ff f1 | .. | syncword: 0b111111111111 (valid) 0x154-0x155.3 (1.4)
0x150| f1 | . | mpeg_version: "MPEG-4" (0) 0x155.4-0x155.4 (0.1)
0x150| f1 | . | layer: 0 (valid) 0x155.5-0x155.6 (0.2)
0x150| f1 | . | protection_absent: true (No CRC) 0x155.7-0x155.7 (0.1)
0x150| 50 | P | profile: "aac_lc" (2) (AAC Low Complexity)) 0x156-0x156.1 (0.2)
0x150| 50 | P | sampling_frequency: 44100 (4) 0x156.2-0x156.5 (0.4)
0x150| 50 | P | private_bit: 0 0x156.6-0x156.6 (0.1)
0x150| 50 80 | P. | channel_configuration: 2 (front-left, front-right) 0x156.7-0x157.1 (0.3)
0x150| 80 | . | originality: 0 0x157.2-0x157.2 (0.1)
0x150| 80 | . | home: 0 0x157.3-0x157.3 (0.1)
0x150| 80 | . | copyrighted: 0 0x157.4-0x157.4 (0.1)
0x150| 80 | . | copyright: 0 0x157.5-0x157.5 (0.1)
0x150| 80 2d 7f | .-. | frame_length: 363 0x157.6-0x159.2 (1.5)
0x150| 7f fc | .. | buffer_fullness: 2047 0x159.3-0x15a.5 (1.3)
0x150| fc | . | number_of_rdbs: 1 0x15a.6-0x15a.7 (0.2)
| | | raw_data_blocks: [1] 0x15b-0x2be.7 (356)
| | | [0]: raw_data_block [3] (aac_frame) 0x15b-0x2be.7 (356)
| | | [0]: element {} 0x15b-0x15b.2 (0.3)
0x150| 21 | ! | syntax_element: "CPE" (1) 0x15b-0x15b.2 (0.3)
0x150| 21 | ! | [1]: byte_align raw bits 0x15b.3-0x15b.7 (0.5)
0x150| 4c 6c fe 07| Ll..| [2]: data raw bits 0x15c-0x2be.7 (355)
0x160|fc 7f c7 fc 41 db 47 ba dc 24 80 ed 57 0c ef 43|....A.G..$..W..C|
* |until 0x2be.7 (355) | |
| | | [2]: frame {} (adts_frame) 0x2bf-0x406.7 (328)
0x2b0| ff| .| syncword: 0b111111111111 (valid) 0x2bf-0x2c0.3 (1.4)
0x2c0|f1 |. |
0x2c0|f1 |. | mpeg_version: "MPEG-4" (0) 0x2c0.4-0x2c0.4 (0.1)
0x2c0|f1 |. | layer: 0 (valid) 0x2c0.5-0x2c0.6 (0.2)
0x2c0|f1 |. | protection_absent: true (No CRC) 0x2c0.7-0x2c0.7 (0.1)
0x2c0| 50 | P | profile: "aac_lc" (2) (AAC Low Complexity)) 0x2c1-0x2c1.1 (0.2)
0x2c0| 50 | P | sampling_frequency: 44100 (4) 0x2c1.2-0x2c1.5 (0.4)
0x2c0| 50 | P | private_bit: 0 0x2c1.6-0x2c1.6 (0.1)
0x2c0| 50 80 | P. | channel_configuration: 2 (front-left, front-right) 0x2c1.7-0x2c2.1 (0.3)
0x2c0| 80 | . | originality: 0 0x2c2.2-0x2c2.2 (0.1)
0x2c0| 80 | . | home: 0 0x2c2.3-0x2c2.3 (0.1)
0x2c0| 80 | . | copyrighted: 0 0x2c2.4-0x2c2.4 (0.1)
0x2c0| 80 | . | copyright: 0 0x2c2.5-0x2c2.5 (0.1)
0x2c0| 80 29 1f | .). | frame_length: 328 0x2c2.6-0x2c4.2 (1.5)
0x2c0| 1f fc | .. | buffer_fullness: 2047 0x2c4.3-0x2c5.5 (1.3)
0x2c0| fc | . | number_of_rdbs: 1 0x2c5.6-0x2c5.7 (0.2)
| | | raw_data_blocks: [1] 0x2c6-0x406.7 (321)
| | | [0]: raw_data_block [3] (aac_frame) 0x2c6-0x406.7 (321)
| | | [0]: element {} 0x2c6-0x2c6.2 (0.3)
0x2c0| 21 | ! | syntax_element: "CPE" (1) 0x2c6-0x2c6.2 (0.3)
0x2c0| 21 | ! | [1]: byte_align raw bits 0x2c6.3-0x2c6.7 (0.5)
0x2c0| 4c da ff c0 00 00 03 fd fa| L........| [2]: data raw bits 0x2c7-0x406.7 (320)
0x2d0|1e 87 a5 fc 68 00 23 77 a0 90 f1 ef 6d 27 b8 8e|....h.#w....m'..|
* |until 0x406.7 (end) (320) | |