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.26.0/gst-plugins-rs-gstreamer-1.26.0.tar.gz
Download MD5 sum: 4de7f8237913ec906fcdc68492d0ef1d
Download size: 2.0 MB
Estimated disk space required: 872 MB (56 MB installed)
Estimated build time: 0.7 SBU (with parallelism=8)
git-2.48.1, gst-plugins-base-1.26.0, GTK-4.16.12, and rustc-1.85.0
An Internet connection is needed for building this package. The system certificate store may need to be set up with make-ca-1.15 before 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.