#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  Libdv-1.0.0

- Next

  libmad-0.15.1b

- Up
- Home

# libgstgtk4 from gst-plugins-rs-1.24.12

## Introduction to libgstgtk4

The libgstgtk4 package contains a library that binds the gstreamer multimedia framework to GTK-4.

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

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

- Download MD5 sum: 217dc9b804c4fcbe52bfe87383e0ee57

- Download size: 2.0 MB

- Estimated disk space required: 793 MB (52 MB installed)

- Estimated build time: 0.7 SBU (with parallelism=8)

### libgstgtk4 Dependencies

#### Required

git-2.48.1, gst-plugins-base-1.24.12, GTK-4.16.12, and rustc-1.85.0

### Note

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.

## 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: libgstgtk4.so
Installed Directories: None

### Short Descriptions

`libgstgtk4.so` | provides a binding between GTK-4 and the gstreamer multimedia framework

- Prev

  Libdv-1.0.0

- Next

  libmad-0.15.1b

- Up
- Home