rtmp流媒体协议分析(h264、aac)


sound format:10, rate:3, size:1, type:1, pkt type:0
audio obj type:2,sample frequency index:3,channel configuration:2
bg57iv3
Nal length 28 start code 4 bytes ,0.001
 ref 3 type 7 Sequence parameter set
   profile: 100
   constaint_set0_flag: 0
   constaint_set1_flag: 0
   constaint_set2_flag: 0
   constaint_set3_flag: 0
   level_idc: 40
   seq parameter set id: 0
   chroma format idx: 1
   bit depth luma minus8: 0
   bit depth chroma minus8: 0
   Qpprime Y Zero Transform Bypass flag: 0
   Seq Scaling Matrix Present Flag: 0
   log2_max_frame_num_minus4: 0
   pic_order_cnt_type: 0
    log2_max_pic_order_cnt_lsb_minus4: 2
   num_ref_frames: 4
   gaps_in_frame_num_value_allowed_flag: 0
   pic_width_in_mbs_minus1: 119 (1920)
   pic_height_in_map_minus1: 67
   frame_mbs_only_flag: 1
     derived height: 1088
   direct_8x8_inference_flag: 1
   frame_cropping_flag: 1
     frame_crop_left_offset: 0
     frame_crop_right_offset: 0
     frame_crop_top_offset: 0
     frame_crop_bottom_offset: 4
   vui_parameters_present_flag: 1
    aspect_ratio_info_present_flag: 0
    overscan_info_present_flag: 0
    video_signal_info_present_flag: 1
     video_format: 5
     video_full_range_flag: 0
     colour_description_present_flag: 1
      colour_primaries: 1
      transfer_characteristics: 13
      matrix_coefficients: 1
    chroma_loc_info_present_flag: 0
    timing_info_present_flag: 1
     num_units_in_tick: 1
     time_scale: 60
     fixed_frame_scale: 1
    nal_hrd_parameters_present_flag: 0
    vcl_hrd_parameters_present_flag: 0
    pic_struct_present_flag: 0
    motion_vectors_over_pic_boundaries_flag: 1
    max_bytes_per_pic_denom: 0
    max_bits_per_mb_denom: 0
    log2_max_mv_length_horizontal: 11
    log2_max_mv_length_vertical: 11
    num_reorder_frames: 2
     max_dec_frame_buffering: 4
Nal length 4 start code 4 bytes 0.058
 ref 3 type 8 Picture parameter set
   pic_parameter_set_id: 0
   seq_parameter_set_id: 0
   entropy_coding_mode_flag: 1
   pic_order_present_flag: 0
   num_slice_groups_minus1: 0
   num_ref_idx_l0_active_minus1: 0
   num_ref_idx_l1_active_minus1: 0
   weighted_pred_flag: 1
   weighted_bipred_idc: 2
   pic_init_qp_minus26: 0
   pic_init_qs_minus26: 0
   chroma_qp_index_offset: 0
   deblocking_filter_control_present_flag: 1
   constrained_intra_pred_flag: 0
   redundant_pic_cnt_present_flag: 0
   transform_8x8_mode_flag: 1
   pic_scaling_matrix_present_flag: 0
   second_chroma_qp_index_offset: 0
Nal length 87575 start code 4 bytes 0.636
 ref 3 type 5 Coded slice of an IDR picture
   first_mb_in_slice: 0
   slice_type: 7 (I)
   pic_parameter_set_id: 0
   frame_num: 0 (4 bits)
   idr_pic_id: 0
   pic_order_cnt_lsb: 0
   Nal is new picture, frame_num:0,au_num:1


sound format:10, rate:3, size:1, type:1, pkt type:1
 audio pkt payload:9


sound format:10, rate:3, size:1, type:1, pkt type:1
 audio pkt payload:9


Nal length 3236 start code 4 bytes 33.718
 ref 2 type 1 Coded slice of non-IDR picture
   first_mb_in_slice: 0
   slice_type: 5 (P)
   pic_parameter_set_id: 0
   frame_num: 1 (4 bits)
   pic_order_cnt_lsb: 8

   Nal is new picture, frame_num:1,au_num:2


posted @ 2018-01-18 21:32  BiG5  阅读(431)  评论(0编辑  收藏  举报