gst-plugins-base-1.26.0

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 gst-plugins-good-1.26.0, gst-plugins-bad-1.26.0, gst-plugins-ugly-1.26.0, or gst-libav-1.26.0 plugins for GStreamer applications to function properly.

Package Information

GStreamer Base Plug-ins Dependencies

Required

gstreamer-1.26.0 and Meson Toolchain Files (for lib32)

Recommended

Optional

graphene, GTK-3 (for examples), Opus-1.5.2, Qt-5, SDL2-2.30.11, Valgrind, hotdoc, libtheora, libvisual, Orc, and Tremor

Installation of GStreamer Base Plug-ins

[Note]

Note

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

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. Five tests may produce timeouts on some systems depending on their graphics hardware and speed. One test, elements_appsrc, is known to fail on some systems.

Now, as the root user:

ninja install

lib32 Installation of GStreamer Base Plug-ins

First clean the build directory

rm -rf *

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

meson setup ..               \
      --cross-file lib32     \
      --prefix=/usr          \
      --libdir=/usr/lib32    \
      --buildtype=release    \
      --wrap-mode=nodownload \
      -D qt5=disabled &&

ninja

Now, as the root user:

DESTDIR=$PWD/DESTDIR ninja install    &&
cp -vR DESTDIR/usr/lib32/* /usr/lib32 &&
rm -rf DESTDIR                        &&
ldconfig

Command Explanations

[Note]

Note

Inspect meson_options.txt for a full list of options.

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

-D qt5=disabled: This option disables QT5 support to prevent Meson from using the QT5 libraries for the 32-bit build if the libraries are found as they are likely 64-bit only if you have followed BLFS.

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