[gst-devel] Cannot set caps on udpsrc0 to application/x-rtp under OS X
gibrovacco at gmail.com
Wed Dec 15 08:30:09 CET 2010
I've never used a MAC, but maybe a general comment will help you..
On Tue, Dec 14, 2010 at 6:42 PM, Matthew Braun <mjbraun at leydenjar.com> wrote:
> 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,
> =\", payload=(int)96, ssrc=(uint)1421770711, clock-base=(uint)3676471020,
it's unlikely the real cause of your issue, but sprop-paramerters-set
may change from session to session, more or less like ssrc, clock base
and seqnum-base. A pipeline with such caps won't work more than once
unless you copy and paste those details each time. As a suggestion,
it's better not to specify them and let the RTP stack doing its work.
> But when I run gst-launch on my OS X destination with
> % CAPS="application/x-rtp, media=(string)video, clock-rate=(int)90000,
> =\", payload=(int)96, ssrc=(uint)3775499150, clock-base=(uint)2462209911,
should be enough
> % 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,"
It looks like your caps have been cut right after the comma (,). Maybe
you've a CLI syntactical issue with the way you specify them.
> 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
> Any ideas as to what I'm missing? Thanks for any guidance and/or
> (% gst-launch --version
> gst-launch-0.10 version 0.10.31
> GStreamer 0.10.31
> Matthew Braun
> mjbraun at leydenjar.com
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
More information about the gstreamer-devel