sending raw video of varying dimensions through shmsink

Josh Doe josh at
Mon Feb 6 20:17:24 UTC 2023

On Mon, Feb 6, 2023 at 11:05 AM Matt Feury via gstreamer-devel <
gstreamer-devel at> wrote:

> [snip]
> An alternative is not to use shmsink and try to do something like
> ipcpipeline, but that feels like a much bigger change than I'd like to do
> right now. So I'm wondering: is there any way to share raw video between
> shmsink/shmsrc in such a way that it supports variable dimensions?

A while ago (actually almost a decade!) I added caps-passing to
shmsink/shmsrc when I ported it to windows ( It
didn't seem to garner interest so I never put in a merge request. We've
since created another shared memory plugin for Linux and Windows with
Python bindings, all with auto caps handling.

I'm guessing you're on Linux, but note that the new win32ipc plugin
supports automatic caps handling.

Otherwise, I'm not sure what would work for you. If you are interested in
the patch for caps-handling in shmsink/shmsrc, let me know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list