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.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/archive/gstreamer-1.26.9/gst-plugins-rs-gstreamer-1.26.9.tar.gz
Download SHA256 Sum: 7505fe7d4f34d2295a6568186cd19e6ad8d77216719644f2d4e813a88a7ffbda
Download MD5 sum: 2f1aaec87325822858489740bc7d6066
Download size: 13,817.5 KB
Estimated disk space required: 1,132,185.1 KB
Estimated build time: 2.64 SBU
git-2.52.0, gst-plugins-base-1.26.9, and rustc-1.91.0
Prepare libgstdav1d by running the following commands:
cd video/dav1d cargo build --release
This package does not come with a test suite.
Now Install libgstdav1d, as the root user:
install -vm755 ../../target/release/libgstdav1d.so /usr/lib/gstreamer-1.0
Prepare 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 Install libgstgtk4, 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.