[gst-devel] video on rtp with gstreamer

ye nan bucketxp at hotmail.com
Fri May 5 20:03:28 CEST 2006


Hi,
  I try to build up a video stream with rtpbin in gst-plugins-farsight.
  Sender:
  gst-launch-0.10 v4lsrc ! video/x-raw-yuv,width=320,height=240 ! 
ffmpegcolorspace ! video/x-raw-yuv,width=320,height=240 ! ffenc_h263p ! 
rtph263ppay ! rtpbin localport=10000 destinations=127.0.0.1:10002
  Receiver:
  gst-launch-0.10 rtpbin localport=10002 ! rtph263pdepay ! ffdec_h263 ! 
ffmpegcolorspace ! ximagesink
  When I started the receiver, I got a error:
  ** (gst-launch-0.10:29147): CRITICAL **: gst_base_rtp_depayload_chain: 
assertion `filter->clock_rate > 0' failed
  I also try to ff***_mpeg4 codecs and rtpmp4v** payloader, but got the 
same failure.
  I use the gst-inspect to check more information about rtpbin and then add 
a capsfilter between rtpbin and rtph263pday in receiving side: 
application/x-rtp, clock-rate=????. I have no idea about how to set the 
clock-rate for x-rtp. I just tried to set to 10000 for a test, then I got 
another error:

Setting pipeline to PAUSED ...
/pipeline0/rtpbin0/rtcpsrcelement: port = 10003
ERROR: Pipeline can't PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/pipeline0/capsfilter0.sink: caps = application/x-rtp, 
clock-rate=(int)10000, media=(string)video, encoding-name=(string)MP4V-ES
/pipeline0/capsfilter0.src: caps = application/x-rtp, 
clock-rate=(int)10000, media=(string)video, encoding-name=(string)MP4V-ES
/pipeline0/rtpmp4vdepay0.sink: caps = application/x-rtp, 
clock-rate=(int)10000, media=(string)video, encoding-name=(string)MP4V-ES
ERROR: from element /pipeline0/ffdec_mpeg40: Internal GStreamer error: 
negotiation problem.  Please file a bug at 
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstffmpegdec.c(1215): gst_ffmpegdec_chain: /pipeline0/ffdec_mpeg40:
ffdec_mpeg4: input format was not set before data start
Execution ended after 85901000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/pipeline0/capsfilter0.src: caps = NULL
/pipeline0/capsfilter0.sink: caps = NULL
Setting pipeline to NULL ...
FREEING pipeline ...

  Thanks.

Best regard,
Nan.Ye

_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  





More information about the gstreamer-devel mailing list