gst rtp caps not good?

dv dv at pseudoterminal.org
Thu Aug 2 05:02:04 PDT 2012


On 08/02/12 13:45, Markus wrote:
> Right, im new to gstreamer I wasnt sure about that. I changed to :
>
> client :
> gst-launch -v udpsrc port=5000 ! caps="application/x-rtp ,
> media=(string)video, \
> clock-rate=(int)90000 , encoding-name=(string)H264 , ssrc=(guint)1\
> , payload=(int)96, clock-base=(guint)751940475, seqnum-base=(guint)56645" \
> ! rtphdepay ! nv_omx_h264dec ! ffmpegcolorspace ! nv_gl_videosink
>
> im getting Warning :erroneous pipeline :link without source element.
>
>

You dont use "caps=" with capsfilters. You can use two approaches:

1. gst-launch -v udpsrc port=5000 ! "application/x-rtp , ...

2. gst-launch -v udpsrc port=5000 caps="application/x-rtp , ...

(note the missing "!" in option (2))

The first one uses a capsfilter after udpsrc, the second tells udpsrc to 
use the specified caps for its srcpad.


More information about the gstreamer-devel mailing list