[gst-devel] simple raw video RTP -- still no joy

Bert Douglas bertd at tplogic.com
Fri Sep 3 06:54:37 CEST 2010


Tristan tried to help me.  I tried setting caps as recommended. Still not
working.
Thanks for looking.

# rtp-server
gst-launch  \
      videotestsrc pattern=red \
   !  video/x-raw-rgb, format=\(fourcc\)RGB, width=4, height=4,
frame-rate=1/1 \
   !  rtpvrawpay \
   !  udpsink host=127.0.0.1 port=51234

# rtp-client
CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)RAW,"
CAPS=$CAPS"sampling=(string)RGB,depth=(int)8,width=(int)4,height=(int)4"
gst-launch  \
      udpsrc uri=udp://127.0.0.1:51234 caps=$CAPS \
   !  rtpvrawdepay \
   !  video/x-raw-rgb, format=\(fourcc\)RGB, width=4, height=4,
frame-rate=1/1 \
   !  ffmpegcolorspace \
   !  ximagesink

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.056868267 14918      0x1188c90 ERROR           rtpvrawdepay
gstrtpvrawdepay.c:240:gst_rtp_vraw_depay_setcaps:<rtpvrawdepay0> no width
specified
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2562): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 18091128 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100902/b4a9436a/attachment.htm>


More information about the gstreamer-devel mailing list