gst-plugins-base-1.28.2

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

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  gstreamer-1.28.2

- Next

  gst-plugins-good-1.28.2

- Up
- Home

# gst-plugins-base-1.28.2

## Introduction to GStreamer Base Plug-ins

The GStreamer Base Plug-ins is a well-groomed and well-maintained collection of GStreamer plug-ins and elements, spanning the range of possible types of elements one would want to write for GStreamer. You will need at least one of Good, Bad, Ugly or Libav plugins for GStreamer applications to function properly.

### 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://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.28.2.tar.xz

- Download MD5 sum: c7f64746c6684da81a5f96bd55729f2e

- Download size: 2.5 MB

- Estimated disk space required: 121 MB (with tests)

- Estimated build time: 0.9 SBU (Using parallelism=4; with tests)

### GStreamer Base Plug-ins Dependencies

#### Required

gstreamer-1.28.2

#### Recommended

alsa-lib-1.2.15.3, CDParanoia-III-10.2 (for building the CDDA plugin), GLib-2.88.1 (with GObject Introspection), ISO Codes-4.20.1, libgudev-238, libjpeg-turbo-3.1.4.1, libogg-1.3.6, libpng-1.6.58, libvorbis-1.3.7, Mesa-26.0.1, Pango-1.57.1, wayland-protocols-1.48, and Xorg Libraries

#### Optional

graphene-1.10.8, GTK-3.24.52 (for examples), Opus-1.6.1, sdl2-compat-2.32.68, Valgrind-3.27.0, hotdoc, libtheora, libvisual, Orc, and Tremor

## Installation of GStreamer Base Plug-ins

### Note

If you need a plugin for a given dependency, that dependency needs to be installed before this package.

First, if you are going to run the tests, remove a test that is known to fail upstream:

    sed -i '/tcase_add_test (tc_chain, test_reorder_buffer);/d' tests/check/libs/gstglcolorconvert.c

Install GStreamer Base Plug-ins by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup ..               \
          --prefix=/usr          \
          --buildtype=release    \
          --wrap-mode=nodownload &&
    ninja

To test the results, issue: ninja test. The tests require an X terminal running, or all of the GL tests will fail.

### Note

When installing, the build process does some additional linking. If you do not have Xorg in /usr, the LIBRARY_PATH variable needs to be defined for the root user. If using sudo to assume root, use the -E option to pass your current environment variables for the install process.

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

`--wrap-mode=nodownload`: This switch prevents meson from downloading any optional dependency which is not installed on the system.

## Contents

Installed Programs: gst-device-monitor-1.0, gst-discoverer-1.0, and gst-play-1.0
Installed Libraries: libgstallocators-1.0.so, libgstapp-1.0.so, libgstaudio-1.0.so, libgstfft-1.0.so, libgstgl-1.0.so, libgstpbutils-1.0.so, libgstriff-1.0.so, libgstrtp-1.0.so, libgstrtsp-1.0.so, libgstsdp-1.0.so, libgsttag-1.0.so, libgstvideo-1.0.so, and several plugins under /usr/lib/gstreamer-1.0
Installed Directories: /usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,gl,pbutils}, /usr/include/gstreamer-1.0/gst/{riff,rtp,rtsp,sdp,tag,video}, and /usr/share/gst-plugins-base

### Short Descriptions

gst-device-monitor-1.0 | is a command line tool that can be used to test GStreamer's device monitoring functionality
gst-discoverer-1.0 | is a tool that can be used to print basic metadata and stream information about a media file
gst-play-1.0 | is a command line tool that can be used to test basic playback using the playbin element

- Prev

  gstreamer-1.28.2

- Next

  gst-plugins-good-1.28.2

- Up
- Home