The gst-plugins-rs package provides several Rust plugins for interacting with the gstreamer multimedia framework. This page has instructions for libgstdav1d and libgstgtk4.
The libgstdav1d plugin provides AV1 decoding via dav1d through gstreamer.
The libgstgtk4 plugin binds gstreamer to GTK-4.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/archive/gstreamer-1.26.8/gst-plugins-rs-gstreamer-1.26.8.tar.gz
Download MD5 sum: 2f1aaec87325822858489740bc7d6066
Download size: 3.0 MB
Estimated disk space required: 964 MB (71 MB installed)
Estimated build time: 0.9 SBU
git-2.52.0, gst-plugins-base-1.26.8, and rustc-1.91.0
An Internet connection is needed for building this package. The system certificate store may need to be set up with make-ca-1.16.1 before building this package.
Install libgstdav1d by running the following commands:
cd video/dav1d && cargo build --release
This package does not come with a test suite.
Now, as the root user:
install -vm755 ../../target/release/libgstdav1d.so /usr/lib/gstreamer-1.0
Install libgstgtk4 by running the following commands:
cd ../../video/gtk4 && cargo build --release
This package does not come with a test suite, but its basic functionality can be tested after installation.
Now, as the root user:
install -vm755 ../../target/release/libgstgtk4.so /usr/lib/gstreamer-1.0
To test the basic functionality of the package, issue: gst-launch-1.0 videotestsrc num-buffers=60 ! gtk4paintablesink in a graphical terminal emulator. It should play a test video in a GTK-4 window for 2 seconds.