Interprocess communication with shmsink

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


Hi,
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.
Olivier
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 lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-- 
Olivier CrĂȘte
olivier.crete at collabora.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180918/bf050a4c/attachment.html>


More information about the gstreamer-devel mailing list