Buffers, shm and tees

Olivier Crête olivier.crete at collabora.com
Tue Aug 23 16:40:22 UTC 2016


Hi,

On Tue, 2016-08-23 at 17:46 +0200, Peter Maersk-Moller wrote:
> Is it correct to assume that the following pipeline works with zero
> copying, that is shmsink provides buffer to queue that provide same
> buffer to videoconvert to fill out?
> 
>     ... videoconvert ! queue ! shmsink

Yes

> Are there any mechanism with the GStreamer framework so two or more
> shmsrc can be fed data from same shmsink so the two shmsrc and one
> shmsink shares same shared memory area?

That should work just fine, if you give the same "socket-path" to both
shmsrc, they should get the same data from the shmsink. You can even
"connect" shmsrc while it's running. This should all be documented much
better.


-- 
Olivier Crête
olivier.crete at collabora.com


More information about the gstreamer-devel mailing list