Why the capsfilter

Arnaud Loonstra arnaud at sphaero.org
Tue Jun 3 04:39:55 PDT 2014


I was wondering, in the case of a simple streaming example using udp, 
this doesn't work:

udpsink ! rtpjpegdepay ! jpegdec ! autovideosink

It needs a capsfilter, like:

udpsink ! application/x-rtp,encoding-name=JPEG,payload=26 ! rtpjpegdepay 
! jpegdec ! autovideosink

However I don't understand why exactly.

The udpsink receives data and it could pass it directly to the 
rtpjpegdepay element. Why does it not work without the capsfilter and 
only when you add the capsfilter.

Rg,

Arnaud

-- 
w: http://www.sphaero.org
t: http://twitter.com/sphaero
g: http://github.com/sphaero
i: freenode: sphaero_z25


More information about the gstreamer-devel mailing list