Plugins: compile specific plugin with newer version

F Weers dedomme123 at gmail.com
Mon Jul 19 13:52:03 UTC 2021


Hello everyone!

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 (https://github.com/sdroege/gstreamer-rs), which
works great.

I want to use the following plugin: !1369 (merged)
<https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1369>

I am running everything inside a Docker container and use apt-get install
libgstreamer1.0 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 gstreamer1.0-plugins-bad package yet. What would be the easiest way to
install this package and use it?

   1. Can I build this plugin on its own or should I build the whole
   https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/ repository? In
   that case, is gst-build the way to go (
   https://gitlab.freedesktop.org/gstreamer/gst-build/blob/master/README.md
   )?
   2. 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)?
   3. 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?

I also posted this on
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1625 and
received a response:

'You can use gst-build and its subprojects mechanism to build your plugin
in your container, the meson project should follow the version number of
the GStreamer version.'

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?

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 :).

Sincerely,

Floris Weers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210719/f5c03636/attachment.htm>


More information about the gstreamer-devel mailing list