could not link udpsrc0 to rtpmp4vdepay0

Aleix Conchillo Flaqué aconchillo at gmail.com
Mon Jan 27 14:48:33 PST 2014


On Mon, Jan 27, 2014 at 11:24 AM, d <dudi017 at gmail.com> wrote:
> Hi all.
>
> this is the commands on the server:
> gst-launch videotestsrc ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink
> host=192.168.1.16 port=5000
>
> on the client:
>  gst-launch udpsrc uri=udp://192.168.1.16:5000 caps="video/x-raw-yuv,
> width=(int)320, height=(int)240, framerate=(fraction)30/1,
> format=(fourcc)I420, color-matrix=(string)sdtv, chroma-site=(string)mpeg2" !
> rtpmp4vdepay ! ffdec_mpeg4 ! autovideosink
>
>
> and I get this error:
> erroneous pipeline: could not link udpsrc0 to rtpmp4vdepay0
>
> do someone know what to do...?
>

The caps on the udpsrc are not right. You are receiving RTP packets
from the server so you should have RTP caps.

Run the server command with -v and it will tell you the caps on the
udpsink which are the caps you should use on the client side, except
ssrc, clock-base and seqnum-base which are always different.

Aleix


More information about the gstreamer-devel mailing list