Anyone can help build gst-plugins-rs?

gst-plugins-rs is a collection of GStreamer plugins. What I’m interested there is a plugin to add video to GTK4 app.
I need it to port my app, CoBang, a QR code scanner app, to GTK4.

1 Like

These commands should build and test the gtk4 plugin:

git clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
cd gst-plugins-rs
sudo apt install cargo
cargo cbuild -p gst-plugin-gtk4
GST_PLUGIN_PATH="target/x86_64-unknown-linux-gnu/debug:$GST_PLUGIN_PATH" gst-inspect-1.0 cdgdec

To install the plugin into directory $DESTDIR:

cargo cbuild -p gst-plugin- --prefix=/usr
cargo cinstall -p gst-plugin-gtk4 --prefix=$DESTDIR/usr

Unfortunately, one of the dependencies (gstreamer-base-sys) requires rustc 1.60 or newer, that is not available in any Ubuntu version.

1 Like

This site isn’t designed for technical support. The Finding Help topic details where you can get support for Ubuntu.