Appsink and application memory

Sebastian Dröge slomo at
Thu Jul 18 08:38:40 PDT 2013

On Do, 2013-07-18 at 16:56 +0200, Wim Taymans wrote:
> 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.

Probably still easier to just write a basesink subclass for such a
specialized use case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the gstreamer-devel mailing list