1
1
mirror of https://github.com/wader/fq.git synced 2024-12-19 11:21:47 +03:00
fq/format/mpeg/testdata/avc_annexb.fqtest
2022-03-18 12:22:08 +01:00

118 lines
14 KiB
Plaintext

# ffmpeg -y -f lavfi -i testsrc -t 10ms -f h264 avc_annexb
$ fq -d avc_annexb dv /avc_annexb
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.[0:8]: /avc_annexb (avc_annexb) 0x0-0xae4.7 (2789)
0x0000|00 00 00 01 |.... | [0]: raw bits start_code 0x0-0x3.7 (4)
| | | [1]{}: nalu (avc_nalu) 0x4-0x1c.7 (25)
| | | sps{}: (avc_sps) 0x0-0x15.7 (22)
0x000|f4 |. | profile_idc: "High 4:4:4 Predictive Profile" (244) 0x0-0x0.7 (1)
0x000| 00 | . | constraint_set0_flag: false 0x1-0x1 (0.1)
0x000| 00 | . | constraint_set1_flag: false 0x1.1-0x1.1 (0.1)
0x000| 00 | . | constraint_set2_flag: false 0x1.2-0x1.2 (0.1)
0x000| 00 | . | constraint_set3_flag: false 0x1.3-0x1.3 (0.1)
0x000| 00 | . | constraint_set4_flag: false 0x1.4-0x1.4 (0.1)
0x000| 00 | . | constraint_set5_flag: false 0x1.5-0x1.5 (0.1)
0x000| 00 | . | reserved_zero_2bits: 0 0x1.6-0x1.7 (0.2)
0x000| 0d | . | level_idc: "1.3" (13) 0x2-0x2.7 (1)
0x000| 91 | . | seq_parameter_set_id: 0 0x3-0x3 (0.1)
0x000| 91 | . | chroma_format_idc: "4:4:4" (3) 0x3.1-0x3.5 (0.5)
0x000| 91 | . | separate_colour_plane_flag: false 0x3.6-0x3.6 (0.1)
0x000| 91 | . | bit_depth_luma: 8 0x3.7-0x3.7 (0.1)
0x000| 9b | . | bit_depth_chroma: 8 0x4-0x4 (0.1)
0x000| 9b | . | qpprime_y_zero_transform_bypass_flag: false 0x4.1-0x4.1 (0.1)
0x000| 9b | . | seq_scaling_matrix_present_flag: false 0x4.2-0x4.2 (0.1)
0x000| 9b | . | log2_max_frame_num: 4 0x4.3-0x4.3 (0.1)
0x000| 9b | . | pic_order_cnt_type: 0 0x4.4-0x4.4 (0.1)
0x000| 9b | . | log2_max_pic_order_cnt_lsb: 6 0x4.5-0x4.7 (0.3)
0x000| 28 | ( | max_num_ref_frames: 4 0x5-0x5.4 (0.5)
0x000| 28 | ( | gaps_in_frame_num_value_allowed_flag: false 0x5.5-0x5.5 (0.1)
0x000| 28 28 | (( | pic_width_in_mbs: 20 0x5.6-0x6.6 (1.1)
0x000| 28 3f | (? | pic_height_in_map_units: 15 0x6.7-0x7.5 (0.7)
0x000| 3f | ? | frame_mbs_only_flag: true 0x7.6-0x7.6 (0.1)
0x000| 3f | ? | direct_8x8_inference_flag: true 0x7.7-0x7.7 (0.1)
0x000| 60 | ` | frame_cropping_flag: false 0x8-0x8 (0.1)
0x000| 60 | ` | vui_parameters_present_flag: true 0x8.1-0x8.1 (0.1)
| | | vui_parameters{}: 0x8.2-0x15.4 (13.3)
0x000| 60 | ` | aspect_ratio_info_present_flag: true 0x8.2-0x8.2 (0.1)
0x000| 60 22 | `" | aspect_ratio_idc: "1:1" (1) 0x8.3-0x9.2 (1)
0x000| 22 | " | overscan_info_present_flag: false 0x9.3-0x9.3 (0.1)
0x000| 22 | " | video_signal_type_present_flag: false 0x9.4-0x9.4 (0.1)
0x000| 22 | " | chroma_loc_info_present_flag: false 0x9.5-0x9.5 (0.1)
0x000| 22 | " | timing_info_present_flag: true 0x9.6-0x9.6 (0.1)
0x000| 22 00 00 00 02 | ".... | num_units_in_tick: 1 0x9.7-0xd.6 (4)
0x000| 02 00 00| ...| time_scale: 50 0xd.7-0x11.6 (4)
0x010|00 64 |.d |
0x010| 64 | d | fixed_frame_rate_flag: false 0x11.7-0x11.7 (0.1)
0x010| 1e | . | nal_hrd_parameters_present_flag: false 0x12-0x12 (0.1)
0x010| 1e | . | vcl_hrd_parameters_present_flag: false 0x12.1-0x12.1 (0.1)
0x010| 1e | . | pic_struct_present_flag: false 0x12.2-0x12.2 (0.1)
0x010| 1e | . | bitstream_restriction_flag: true 0x12.3-0x12.3 (0.1)
0x010| 1e | . | motion_vectors_over_pic_boundaries_flag: true 0x12.4-0x12.4 (0.1)
0x010| 1e | . | max_bytes_per_pic_denom: 0 0x12.5-0x12.5 (0.1)
0x010| 1e | . | max_bits_per_mb_denom: 0 0x12.6-0x12.6 (0.1)
0x010| 1e 28 | .( | log2_max_mv_length_horizontal: 9 0x12.7-0x13.5 (0.7)
0x010| 28 53 | (S | log2_max_mv_length_vertical: 9 0x13.6-0x14.4 (0.7)
0x010| 53 | S | max_num_reorder_frames: 2 0x14.5-0x14.7 (0.3)
0x010| 2c| | ,| | max_dec_frame_buffering: 4 0x15-0x15.4 (0.5)
0x010| 2c| | ,| | rbsp_trailing_bits: raw bits 0x15.5-0x15.7 (0.3)
0x0000| 67 | g | forbidden_zero_bit: false 0x4-0x4 (0.1)
0x0000| 67 | g | nal_ref_idc: 3 0x4.1-0x4.2 (0.2)
0x0000| 67 | g | nal_unit_type: "SPS" (7) (Sequence parameter set) 0x4.3-0x4.7 (0.5)
0x0000| f4 00 0d 91 9b 28 28 3f 60 22 00| .....((?`".| data: raw bits 0x5-0x1c.7 (24)
0x0010|00 03 00 02 00 00 03 00 64 1e 28 53 2c |........d.(S, |
0x0010| 00 00 00| ...| [2]: raw bits start_code 0x1d-0x20.7 (4)
0x0020|01 |. |
| | | [3]{}: nalu (avc_nalu) 0x21-0x26.7 (6)
| | | pps{}: (avc_pps) 0x0-0x4.7 (5)
0x000|eb |. | pic_parameter_set_id: 0 0x0-0x0 (0.1)
0x000|eb |. | seq_parameter_set_id: 0 0x0.1-0x0.1 (0.1)
0x000|eb |. | entropy_coding_mode_flag: true 0x0.2-0x0.2 (0.1)
0x000|eb |. | bottom_field_pic_order_in_frame_present_flag: false 0x0.3-0x0.3 (0.1)
0x000|eb |. | num_slice_groups: 1 0x0.4-0x0.4 (0.1)
0x000|eb |. | num_ref_idx_l0_default_active: 3 0x0.5-0x0.7 (0.3)
0x000| e3 | . | num_ref_idx_l1_default_active: 1 0x1-0x1 (0.1)
0x000| e3 | . | weighted_pred_flag: true 0x1.1-0x1.1 (0.1)
0x000| e3 | . | weighted_bipred_idc: 2 0x1.2-0x1.3 (0.2)
0x000| e3 c4 | .. | pic_init_qp: 23 0x1.4-0x2 (0.5)
0x000| c4 | . | pic_init_qs: 26 0x2.1-0x2.1 (0.1)
0x000| c4 48 | .H | chroma_qp_index_offset: 4 0x2.2-0x3 (0.7)
0x000| 48 | H | deblocking_filter_control_present_flag: true 0x3.1-0x3.1 (0.1)
0x000| 48 | H | constrained_intra_pred_flag: false 0x3.2-0x3.2 (0.1)
0x000| 48 | H | redundant_pic_cnt_present_flag: false 0x3.3-0x3.3 (0.1)
0x000| 48 | H | transform_8x8_mode_flag: true 0x3.4-0x3.4 (0.1)
0x000| 48 | H | pic_scaling_matrix_present_flag: false 0x3.5-0x3.5 (0.1)
0x000| 48 44| | HD| | second_chroma_qp_index_offset: 4 0x3.6-0x4.4 (0.7)
0x000| 44| | D| | rbsp_trailing_bits: raw bits 0x4.5-0x4.7 (0.3)
0x0020| 68 | h | forbidden_zero_bit: false 0x21-0x21 (0.1)
0x0020| 68 | h | nal_ref_idc: 3 0x21.1-0x21.2 (0.2)
0x0020| 68 | h | nal_unit_type: "PPS" (8) (Picture parameter set) 0x21.3-0x21.7 (0.5)
0x0020| eb e3 c4 48 44 | ...HD | data: raw bits 0x22-0x26.7 (5)
0x0020| 00 00 01 | ... | [4]: raw bits start_code 0x27-0x29.7 (3)
| | | [5]{}: nalu (avc_nalu) 0x2a-0x2d6.7 (685)
| | | sei{}: (avc_sei) 0x0-0x2ab.7 (684)
0x000|05 |. | payload_type: "user_data_unregistered" (5) 0x0-0x0.7 (1)
0x000| ff ff a9 | ... | payload_size: 679 0x1-0x3.7 (3)
0x000| dc 45 e9 bd e6 d9 48 b7 96 2c d8 20| .E....H..,. | uuid: "x264" (raw bits) 0x4-0x13.7 (16)
0x010|d9 23 ee ef |.#.. |
0x010| 78 32 36 34 20 2d 20 63 6f 72 65 20| x264 - core | data: raw bits 0x14-0x2aa.7 (663)
0x020|31 36 31 20 72 33 30 33 39 20 35 34 34 63 36 31|161 r3039 544c61|
* |until 0x2aa.7 (663) | |
0x2a0| 80| | .| | rbsp_trailing_bits: raw bits 0x2ab-0x2ab.7 (1)
0x0020| 06 | . | forbidden_zero_bit: false 0x2a-0x2a (0.1)
0x0020| 06 | . | nal_ref_idc: 0 0x2a.1-0x2a.2 (0.2)
0x0020| 06 | . | nal_unit_type: "SEI" (6) (Supplemental enhancement information) 0x2a.3-0x2a.7 (0.5)
0x0020| 05 ff ff a9 dc| .....| data: raw bits 0x2b-0x2d6.7 (684)
0x0030|45 e9 bd e6 d9 48 b7 96 2c d8 20 d9 23 ee ef 78|E....H..,. .#..x|
* |until 0x2d6.7 (684) | |
0x02d0| 00 00 01 | ... | [6]: raw bits start_code 0x2d7-0x2d9.7 (3)
| | | [7]{}: nalu (avc_nalu) 0x2da-0xae4.7 (2059)
0x02d0| 65 | e | forbidden_zero_bit: false 0x2da-0x2da (0.1)
0x02d0| 65 | e | nal_ref_idc: 3 0x2da.1-0x2da.2 (0.2)
0x02d0| 65 | e | nal_unit_type: "IDR_SLICE" (5) (Coded slice of an IDR picture) 0x2da.3-0x2da.7 (0.5)
| | | slice_header{}: 0x2db-0x2dc (1.1)
0x02d0| 88 | . | first_mb_in_slice: 0 0x2db-0x2db (0.1)
0x02d0| 88 | . | slice_type: "I" (7) 0x2db.1-0x2db.7 (0.7)
0x02d0| 84 | . | pic_parameter_set_id: 0 0x2dc-0x2dc (0.1)
0x02d0| 84 00 2b ff| ..+.| data: raw bits 0x2dc.1-0xae4.7 (2056.7)
0x02e0|fe f5 db f3 2c ac 66 67 3d ff ed 3b 60 00 21 74|....,.fg=..;`.!t|
* |until 0xae4.7 (end) (2057) | |