Appsink and application memory

Wim Taymans wim.taymans at gmail.com
Thu Jul 18 07:56:14 PDT 2013


On 07/18/2013 04:49 PM, Thomas Scheuermann wrote:
> Hello ,
> I use here gstreamer-sdk with gstreamer-0.10 on a 32-bit debian wheezy.
>
> Is there a way that a pipeline with appsink uses memory from the
> application for the gstreamer buffers?
> I would like to create a pipeline which decodes streaming video. I need
> the video frames in the application in special memory and I don't want
> to copy them because we want to process a lot of them.
> Now I've seen the appsink element which could help me getting the video
> frames out of the pipeline. But I didn't find a way that appsink uses
> the memory of the application.
> Is there a way to do this?

In 0.10 this is not possible without modifying appsink. In 1.0 you can 
intercept the
allocation query going to appsink and reply to it with an application 
provided bufferpool.

wim

>
> Regards,
>
> Thomas
> This message is subject to the following terms and conditions: 
> http://www.barco.com/en/maildisclaimer
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list