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

Wim Taymans wim.taymans at gmail.com
Fri Sep 3 10:10:32 CEST 2010


On Thu, 2010-09-02 at 23:54 -0500, Bert Douglas wrote:
> Tristan tried to help me.  I tried setting caps as recommended. Still
> not working.

You're doing it wrong. read the instructions in this document carefully:

http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251

Wim


> 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 ...
> 
> 
> 
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
> 
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel






More information about the gstreamer-devel mailing list