gst-plugins-rs-1.26.5

Introduction to gst-plugins-rs

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.

[Note]

Note

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.

Package Information

gst-plugins-rs Dependencies

Required

git-2.51.0, gst-plugins-base-1.26.5, and rustc-1.89.0

Required for libgstdav1d

dav1d-1.5.1

Required for libgstgtk4

GTK-4.20.1

[Note]

Note

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.

Installation of gst-plugins-rs

Installation of libgstdav1d

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

Installation of libgstgtk4

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.

Contents

Installed Programs: None
Installed Libraries: libgstdav1d.so and libgstgtk4.so
Installed Directories: None

Short Descriptions

libgstdav1d.so

provides a binding between dav1d and the gstreamer multimedia framework

libgstgtk4.so

provides a binding between GTK-4 and the gstreamer multimedia framework