Why the capsfilter

Arnaud Loonstra arnaud at z25.org
Tue Jun 3 08:03:04 PDT 2014


Sorry, typo, indeed I mean the udpsrc. I was just wondering about the 
mechanics.

I hadn't noticed the caps property yet. Are you saying it's better to 
set the caps property than to set a capsfilter? The docs use capsfilters 
from what I've read so far.

On 06/03/2014 01:55 PM, Dušan Poizl wrote:
> 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
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-- 
Stichting z25.org
Concordiastraat 67A
3551 EM Utrecht
The Netherlands

m: +31-(0)6-41861063
e: arnaud at z25.org
w: http://z25.org
t: http://twitter.com/z25org
f: http://fb.com/z25org
g: http://gplus.to/z25
l: http://linkedin.com/company/z25


More information about the gstreamer-devel mailing list