<div dir="ltr"><p dir="auto">Hello everyone!</p>
<p dir="auto">I've been playing around with GStreamer for the last few weeks and really like its architecture. I'm running a Rust application that uses GStreamer-Rust bindings (<a href="https://github.com/sdroege/gstreamer-rs" rel="nofollow noreferrer noopener">https://github.com/sdroege/gstreamer-rs</a>), which works great.</p>
<p dir="auto">I want to use the following plugin: <a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1369" title="" class="gmail-gfm gmail-gfm-merge_request">!1369 (merged)</a></p>
<p dir="auto">I am running everything inside a Docker container and use <code>apt-get install libgstreamer1.0</code> to install the required packages. Since the above mentioned plugin is part of 1.19.1 (if I understand correctly), it is not included in the <code>gstreamer1.0-plugins-bad</code> package yet.
What would be the easiest way to install this package and use it?</p>
<ol dir="auto">
<li>Can I build this plugin on its own or should I build the whole <a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/">https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/</a> repository? In that case, is gst-build the way to go (<a href="https://gitlab.freedesktop.org/gstreamer/gst-build/blob/master/README.md">https://gitlab.freedesktop.org/gstreamer/gst-build/blob/master/README.md</a>)?</li>
<li>If I'm building the plugin from source, should the version of GStreamer match this (and thus also be compiled from source to 1.19.1)? Or can I keep using the publicly available packages that refer to 1.18 (if I'm correctly)?</li>
<li>This is probably not the right place, but if I need to update all of these, do I also need to update the Rust bindings?</li>
</ol>
<p dir="auto">I also posted this on <a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1625">https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1625</a> and received a response:<br></p><p>'You can use <code>gst-build</code> and its subprojects mechanism to build your plugin in your container, the meson project should follow the version number of the GStreamer version.'</p><p>Just to make sure I understand correctly: should I use the gst-build mechanism to compile this plugin for 1.18 and that way keep using the prebuilt packages for the libraries?</p><p>Thanks a lot in advance! Building a plugin from scratch myself was great and using GStreamer was easier than I expected, finding documentation on this was a little harder though :). <br></p><p>Sincerely,<br></p><p>Floris Weers</p></div>