struggling with shmsink/src and mpeg-4

Hoel Vasseur hoel.vasseur at openwide.fr
Mon Apr 4 14:06:58 UTC 2016


Hi, 

And thanks for your reply. Actually the whole point is to depay before passing data through shmsink, and payload after getting them from shmsrc :(
However, based on the response of "Tim Müller" <tim at centricular.com> I used push-sample from appsink/src and it seems to work just fine.

I finally succeed to make it work on command line with MPEG-4 encoding, by passing caps by hand, but I found the appsink/src solution way more suitable.

Anyway, thanks for your advises,

Hoël 

----- Mail original -----
> De: "Nicolas Dufresne" <nicolas.dufresne at gmail.com>
> À: "gstreamer-devel" <gstreamer-devel at lists.freedesktop.org>
> Envoyé: Lundi 4 Avril 2016 14:50:30
> Objet: Re: struggling with shmsink/src and mpeg-4

> Le lundi 04 avril 2016 à 11:09 +0200, Hoel Vasseur a écrit :
>> After several days of struggling, I am still failing to use
>> shmsink/src with MPEG-4 videos. Does any one have an idea about how
>> to do that?
> 
> You should probably payload your data before passing it through a
> shmsrc/shmsink. The CAPS are not passed through this mechanism. For
> MPEG-4 data, you can use rtpmp4vpay/rtpmp4vdepay.
> 
> Nicolas
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list