a question about rtph264pdepay caps

Aaron yanglm488 at hotmail.com
Wed Dec 12 23:14:48 PST 2012


Hi,all!

   I have some questions about the rtph264pdepay.I have the command like
this:gst-launch udpsrc port=5000
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,payload=(int)102,encoding-name=(string)H263-1998" 
! rtph263pdepay  ! omx_h263dec  !  surfaceflingersink  sync=0 . It reports
that the negorate failed when  rtph263pdepay negotiate with omx_h263dec . I
find that the width and height are 0 when the two plugins are negorating. In
the gstrtph263pdepay.c  gst_rtp_h263p_depay_parse_width_height()
function  will  parse width and height from caps.So  i want to know ,How the
rtph263pdepay get the caps which gst_rtp_h263p_depay_parse_width_height
function parsed ? Dose it from the command  or the sdp or the coming video
stream ? 
I find the note in the gstrtph263pdepay.c is "//a-framesize:<payload type
number><width>-<height>,indicates FrameWidth and FrameHeight as defined in
SDP."  and " //a-Width=(string)"integer\;720",
a-Height=(string)"integer\;576"  ." And i set the a-Width and a-Height like
the note but the command report error.What should i do for this mistake?
Thank you!

BR

Aaron





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/a-question-about-rtph264pdepay-caps-tp4657398.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list