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.

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

Package Information

GStreamer Base Plug-ins Dependencies





graphene-1.10.8, GTK+-3.24.41 (for examples), Opus-1.4, (Qt-5.15.12 or qt-alternate-5.15.12) (for examples), SDL2-2.30.0, Valgrind-3.22.0, hotdoc, libtheora, libvisual, Orc, and Tremor

Installation of GStreamer Base Plug-ins



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 \
       -Dpackage-origin= \
       -Dpackage-name="GStreamer 1.22.10 BLFS"    &&

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.



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.


Installed Programs: gst-device-monitor-1.0, gst-discoverer-1.0, and gst-play-1.0
Installed Libraries:,,,,,,,,,,,, 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


is a command line tool that can be used to test GStreamer's device monitoring functionality


is a tool that can be used to print basic metadata and stream information about a media file


is a command line tool that can be used to test basic playback using the playbin element