[gst-devel] Segmentation fault in sending raw video through RTP (via rtpbin)

Antonio Marqués amm at tid.es
Mon May 11 13:15:14 CEST 2009


Hello,

I got some problems in sending raw video through rtpbin plugin. I am
using rtpvrawpay and rtpvrawdepay plugins in order to payload YUV video.
It seems to work ok but after a few seconds, the receiver gets a
segmentation fault and stops playing the video.
I have tested it with a single video (videotestsrc) and it fails.
However, if I don't add the RTCP part there is no segmentation fault.
Any idea of what is happening? Those are the pipelines launched:

Sending pipeline:
gst-launch  gstrtpbin name=rtpbin videotestsrc ! queue !
ffmpegcolorspace !
video/x-raw-yuv,format="(fourcc)I420",width=640,height=480,framerate=15/1 ! queue ! rtpvrawpay mtu=8000 ! queue ! rtpbin.send_rtp_sink_0 udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0  rtpbin.send_rtp_src_0 ! queue ! udpsink host=captura4 port=5000 rtpbin.send_rtcp_src_0 ! queue ! udpsink host=captura4 port=5001 async=false qos=false sync=false

Reception pipeline:
gst-launch -v  gstrtpbin latency=500 name=rtpbin udpsrc port=5000
typefind=true
caps="application/x-rtp,media=video,clock-rate=90000,encoding-name=RAW,sampling=YCbCr-4:2:0,depth=8,width=(string)640,height=(string)480" ! queue ! rtpbin.recv_rtp_sink_0 udpsrc udpsrc port=5001 ! queue ! rtpbin.recv_rtcp_sink_0  rtpbin. ! queue ! rtpvrawdepay ! ffmpegcolorspace ! ximagesink  
rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=captura4 sync=false
async=false qos=false


Thanks in advance.
-- 
Toni Marqués Marqués
Telefónica I+D
División de Tecnologías de Video
amm at tid.es
933653188








More information about the gstreamer-devel mailing list