[gst-devel] Cannot set caps on udpsrc0 to application/x-rtp under OS X

Matthew Braun mjbraun at leydenjar.com
Tue Dec 14 17:42:21 CET 2010


Greetings!

I'm streaming from a webcam attached to a BeagleBoard using:
 gst-launch -v v4l2src ! video/x-raw-yuv, width=640, height=480 !
ffmpegcolorspace ! TIVidenc1 codecName=h264enc engineName=codecServer !
rtph264pay pt=96 ! udpsink host=<DEST> port=5000

Which runs and outputs caps of:
 caps = application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264,
sprop-parameter-sets=(string)\"Z0KAHukBQHpCAAAH0AAB1MAIAA\\=\\=\\,aM48gAA\\
=\", payload=(int)96, ssrc=(uint)1421770711, clock-base=(uint)3676471020,
seqnum-base=(uint)12939


But when I run gst-launch on my OS X destination with
 % CAPS="application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264,
sprop-parameter-sets=(string)\"Z0KAHukBQHpCAAAH0AAB1MAIAA\\=\\=\\,aM48gAA\\
=\", payload=(int)96, ssrc=(uint)3775499150, clock-base=(uint)2462209911,
seqnum-base=(uint)27054"
 %  gst-launch -v udpsrc caps=$CAPS port=5000 ! rtph264depay ! ffdec_h264
! Autovideosink

I get 

WARNING: erroneous pipeline: could not set property "caps" in element
"udpsrc0" to "application/x-rtp,"

Trying without caps gives:
 "Input buffers need to have RTP caps set on them. This is usually
achieved by setting the 'caps' property of the upstream source element
(often udpsrc or appsrc), or by putting a capsfilter element before the
depayloader and setting the 'caps' property on that. Also see
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README"

Any ideas as to what I'm missing? Thanks for any guidance and/or
suggestions!


(% gst-launch --version
 gst-launch-0.10 version 0.10.31
 GStreamer 0.10.31
)

 
--
Matthew Braun
mjbraun at leydenjar.com









More information about the gstreamer-devel mailing list