<div dir="ltr">That sounds like exactly what I was looking for. <div><br></div><div>From that link, I did actually discover gdppay/gdpdepay which could be used as well. More importantly however I discovered that adding rawvideoparse directly after the shmsrc allows it to work without doing any payloading, so i went that route.</div><div><br></div><div>Matt</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 6, 2023 at 2:17 PM Josh Doe via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Mon, Feb 6, 2023 at 11:05 AM Matt Feury via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>[snip]</div><div>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?</div></div></blockquote><div><br></div><div>A while ago (actually almost a decade!) I added caps-passing to shmsink/shmsrc when I ported it to windows (<a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/94" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/94</a>). 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.</div><div><br></div><div>I'm guessing you're on Linux, but note that the new win32ipc plugin supports automatic caps handling.</div><div><br></div><div>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.</div><div>-Josh</div></div></div>
</blockquote></div>