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.9/gst-plugins-rs-gstreamer-1.24.9.tar.gz
Download MD5 sum: c8f11e6eda5c2c4d00d930fbd1cd296b
Download size: 2.0 MB
Estimated disk space required: 722 MB (38 MB installed)
Estimated build time: 0.7 SBU (with parallelism=8)
git-2.47.0, gst-plugins-base-1.24.9, GTK-4.16.5, and rustc-1.82.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.