Interprocess communication with shmsink

Olivier CrĂȘte olivier.crete at
Tue Sep 18 18:44:28 UTC 2018

The shmpipe.[ch] API is designed exactly for that. You can copy
shmpipe.[ch] and shmalloc.[ch] into your code (notice how these
specific files have a very liberal license). And use the API defined
(and documented) in shmpipe.h  to receive.
On Fri, 2018-09-14 at 13:28 -0400, Benjamin Rapaport wrote:
> I am trying to run a gstreamer pipeline via the command line tool in
> a subprocess of my main application, where I will read back the
> output image buffers from my main process. This process does not link
> in the gstreamer libraries. 
> In order to quickly transfer the image buffers between the processes,
> I would like to use an shmsink in my pipeline (as stdout with fdsink
> has been far too slow). Does anyone have any pointers to how to read
> that back out properly when using shmsink? My application is written
> in c++.
> Thanks
> _______________________________________________gstreamer-devel
> mailing listgstreamer-devel at
Olivier CrĂȘte
olivier.crete at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list