gst-plugins-rs-1.28.2

#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-517

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  gst-plugins-ugly-1.28.2

- Next

  gst-libav-1.28.2

- Up
- Home

# gst-plugins-rs-1.28.2

## 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

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

- Download (HTTP): https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/archive/gstreamer-1.28.2/gst-plugins-rs-gstreamer-1.28.2.tar.gz

- Download MD5 sum: 78a1e97e35c0dc88bf0b7dcf799fa2cc

- Download size: 3.3 MB

- Estimated disk space required: 1.4 GB (53 MB installed)

- Estimated build time: 0.9 SBU

### gst-plugins-rs Dependencies

#### Required

git-2.54.0, gst-plugins-base-1.28.2, and rustc-1.95.0

#### Required for libgstdav1d

dav1d-1.5.3

#### Required for libgstgtk4

GTK-4.22.4

### 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:

    cargo build --package gst-plugin-dav1d --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:

    cargo build --package gst-plugin-gtk4 --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

- Prev

  gst-plugins-ugly-1.28.2

- Next

  gst-libav-1.28.2

- Up
- Home