Why the capsfilter

Dušan Poizl poizl at maindata.sk
Tue Jun 3 04:55:33 PDT 2014


are you sure about udpsink? it should be udpsrc. proper way is to set 
caps property of udpsrc. udpsrc 
caps="application/x-rtp,encoding-name=JPEG,payload=26" ! rtpjpegdepay ! ...



Dňa 03.06.2014 13:39, Arnaud Loonstra wrote / napísal(a):
> 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
>



More information about the gstreamer-devel mailing list