gstreamer-1.0 profile-level-id and pic_order_cnt_type

bazigg aparshina93 at gmail.com
Fri Jul 8 20:54:11 UTC 2016


Thank you for your answer!

I've tried this pipeline:

videotestsrc is-live=true ! video/x-raw,width=640,height=480,framerate=15/1
! x264enc bitrate=40000 bframes=0 cabac=false dct8x8=false b-adapt=false
speed-preset=1 tune=0x00000004 byte-stream=true intra-refresh=true !
rtph264pay name=pay0 pt=96
sprop-parameter-sets=Z0IAKeNQFAe2AtwEBAaQeJEV\\,aM48gA\\=\\=

But I got the same error:
IsTerminating: False, System.InvalidOperationException: Unsupported
pic_order_cnt_type encountered⁠⁠⁠⁠ 



Here is delailed parameters of h264 which the client requieres:
======= SPS =======
 profile_idc : 66 
 constraint_set0_flag : 0 
 constraint_set1_flag : 0 
 constraint_set2_flag : 0 
 constraint_set3_flag : 0 
 constraint_set4_flag : 0 
 constraint_set5_flag : 0 
 reserved_zero_2bits : 0 
 level_idc : 41 
 seq_parameter_set_id : 0 
 chroma_format_idc : 1 
 residual_colour_transform_flag : 0 
 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 : 12 
   delta_pic_order_always_zero_flag : 0 
   offset_for_non_ref_pic : 0 
   offset_for_top_to_bottom_field : 0 
   num_ref_frames_in_pic_order_cnt_cycle : 0 
 num_ref_frames : 1 
 gaps_in_frame_num_value_allowed_flag : 0 
 pic_width_in_mbs_minus1 : 39 
 pic_height_in_map_units_minus1 : 29 
 frame_mbs_only_flag : 1 
 mb_adaptive_frame_field_flag : 0 
 direct_8x8_inference_flag : 1 
 frame_cropping_flag : 0 
   frame_crop_left_offset : 0 
   frame_crop_right_offset : 0 
   frame_crop_top_offset : 0 
   frame_crop_bottom_offset : 0 
 vui_parameters_present_flag : 1 




I think that the main problem is to set  pic_order_cnt_type = 0

How exactly can I set this parameter in pipeline?




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-1-0-profile-level-id-and-pic-order-cnt-type-tp4678385p4678558.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list