mirror of
https://github.com/wader/fq.git
synced 2024-11-27 14:14:58 +03:00
1b32b42f93
Generate more code More generic and comfortable API Improve and Update format decoder to new API Add some more format tests
47 lines
4.8 KiB
Plaintext
47 lines
4.8 KiB
Plaintext
# ffmpeg -y -f lavfi -i testsrc -t 10ms -f hevc hevc_annexb
|
|
$ fq -d hevc_annexb verbose /hevc_annexb
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.: [10] /hevc_annexb (hevc_annexb) 0x0-0x1193.7 (4500)
|
|
0x0000|00 00 00 01 |.... | [0]: start_code raw bits 0x0-0x3.7 (4)
|
|
| | | [1]: nalu {} (hevc_nalu) 0x4-0x1a.7 (23)
|
|
0x0000| 40 | @ | forbidden_zero_bit: false 0x4-0x4 (0.1)
|
|
0x0000| 40 | @ | nal_unit_type: "VPS_NUT" (32) 0x4.1-0x4.6 (0.6)
|
|
0x0000| 40 01 | @. | nuh_layer_id: 0 0x4.7-0x5.4 (0.6)
|
|
0x0000| 01 | . | nuh_temporal_id_plus1: 1 0x5.5-0x5.7 (0.3)
|
|
0x0000| 0c 01 ff ff 04 08 00 00 03 00| ..........| data: raw bits 0x6-0x1a.7 (21)
|
|
0x0010|9e 08 00 00 03 00 00 3c 95 98 09 |.......<... |
|
|
0x0010| 00 00 00 01 | .... | [2]: start_code raw bits 0x1b-0x1e.7 (4)
|
|
| | | [3]: nalu {} (hevc_nalu) 0x1f-0x49.7 (43)
|
|
0x0010| 42| B| forbidden_zero_bit: false 0x1f-0x1f (0.1)
|
|
0x0010| 42| B| nal_unit_type: "SPS_NUT" (33) 0x1f.1-0x1f.6 (0.6)
|
|
0x0010| 42| B| nuh_layer_id: 0 0x1f.7-0x20.4 (0.6)
|
|
0x0020|01 |. |
|
|
0x0020|01 |. | nuh_temporal_id_plus1: 1 0x20.5-0x20.7 (0.3)
|
|
0x0020| 01 04 08 00 00 03 00 9e 08 00 00 03 00 00 3c| ..............<| data: raw bits 0x21-0x49.7 (41)
|
|
0x0030|90 01 41 01 e2 cb 2b 34 92 65 78 0b 70 20 20 00|..A...+4.ex.p .|
|
|
0x0040|40 00 00 03 00 40 00 00 06 42 |@....@...B |
|
|
0x0040| 00 00 00 01 | .... | [4]: start_code raw bits 0x4a-0x4d.7 (4)
|
|
| | | [5]: nalu {} (hevc_nalu) 0x4e-0x55.7 (8)
|
|
0x0040| 44 | D | forbidden_zero_bit: false 0x4e-0x4e (0.1)
|
|
0x0040| 44 | D | nal_unit_type: "PPS_NUT" (34) 0x4e.1-0x4e.6 (0.6)
|
|
0x0040| 44 01| D.| nuh_layer_id: 0 0x4e.7-0x4f.4 (0.6)
|
|
0x0040| 01| .| nuh_temporal_id_plus1: 1 0x4f.5-0x4f.7 (0.3)
|
|
0x0050|c1 72 86 0c 46 24 |.r..F$ | data: raw bits 0x50-0x55.7 (6)
|
|
0x0050| 00 00 01 | ... | [6]: start_code raw bits 0x56-0x58.7 (3)
|
|
| | | [7]: nalu {} (hevc_nalu) 0x59-0x93f.7 (2279)
|
|
0x0050| 4e | N | forbidden_zero_bit: false 0x59-0x59 (0.1)
|
|
0x0050| 4e | N | nal_unit_type: "PREFIX_SEI_NUT" (39) 0x59.1-0x59.6 (0.6)
|
|
0x0050| 4e 01 | N. | nuh_layer_id: 0 0x59.7-0x5a.4 (0.6)
|
|
0x0050| 01 | . | nuh_temporal_id_plus1: 1 0x5a.5-0x5a.7 (0.3)
|
|
0x0050| 05 ff ff ff ff| .....| data: raw bits 0x5b-0x93f.7 (2277)
|
|
0x0060|ff ff ff ff e2 2c a2 de 09 b5 17 47 db bb 55 a4|.....,.....G..U.|
|
|
* |until 0x93f.7 (2277) | |
|
|
0x0940|00 00 01 |... | [8]: start_code raw bits 0x940-0x942.7 (3)
|
|
| | | [9]: nalu {} (hevc_nalu) 0x943-0x1193.7 (2129)
|
|
0x0940| 28 | ( | forbidden_zero_bit: false 0x943-0x943 (0.1)
|
|
0x0940| 28 | ( | nal_unit_type: "IDR_N_LP" (20) 0x943.1-0x943.6 (0.6)
|
|
0x0940| 28 01 | (. | nuh_layer_id: 0 0x943.7-0x944.4 (0.6)
|
|
0x0940| 01 | . | nuh_temporal_id_plus1: 1 0x944.5-0x944.7 (0.3)
|
|
0x0940| af 1d 20 aa 55 b7 88 a0 62 7f ff| .. .U...b..| data: raw bits 0x945-0x1193.7 (2127)
|
|
0x0950|fa 2c 46 fd a9 78 83 ff fb 75 6c 0b 3f ff 94 ce|.,F..x...ul.?...|
|
|
* |until 0x1193.7 (end) (2127) | |
|