The libgstgtk4 package contains a library that binds the gstreamer multimedia framework 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.24.10/gst-plugins-rs-gstreamer-1.24.10.tar.gz
Download MD5 sum: a98f2d9b9c43efff42b359d51f74cad1
Download size: 2.0 MB
Estimated disk space required: 708 MB (37 MB installed)
Estimated build time: 0.7 SBU (with parallelism=8)
git-2.47.1, gst-plugins-base-1.24.10, GTK-4.16.7, and rustc-1.83.0
An Internet connection is needed for building this package.
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.