gstreamer-1.16.0

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  gavl-1.4.0

- Next

  gst-plugins-base-1.16.0

- Up
- Home

# gstreamer-1.16.0

## Introduction to gstreamer

gstreamer is a streaming media framework that enables applications to share a common set of plugins for things like video encoding and decoding, audio encoding and decoding, audio and video filters, audio visualisation, web streaming and anything else that streams in real-time or otherwise. This package only provides base functionality and libraries. You may need at least gst-plugins-base-1.16.0 and one of Good, Bad, Ugly or Libav plugins.

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

### Package Information

- Download (HTTP): https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.16.0.tar.xz

- Download MD5 sum: 862b7e4263d946bc2ef31b3c582e5587

- Download size: 3.2 MB

- Estimated disk space required: 60 MB (with tests; add 36 MB fro docs)

- Estimated build time: 1.9 SBU (Using parallelism=4; with tests; add 1.5 SBU for docs)

### Additional Downloads

- Required patch: http://www.linuxfromscratch.org/patches/blfs/9.0/gstreamer-1.16.0-buffer_size_reset_fix-1.patch

### gstreamer Dependencies

#### Required

GLib-2.60.6

#### Recommended

gobject-introspection-1.60.2

#### Optional

GTK+-3.24.10 (for examples), Gsl-2.6, GTK-Doc-1.32, Valgrind-3.15.0, and libunwind

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gstreamer10

## Installation of gstreamer

### Note

If you do not have an Objective-C compiler installed, the build system for this package will emit a warning about a failed sanity check. This is harmless, and it is safe to continue.

At first, fix a problem causing memory leaking and spurious warnings:

    patch -Np1 -i ../gstreamer-1.16.0-buffer_size_reset_fix-1.patch

Install gstreamer by running the following commands:

    mkdir build &&
    cd    build &&

    meson  --prefix=/usr       \
           -Dbuildtype=release \
           -Dgst_debug=false   \
           -Dgtk_doc=disabled  \
           -Dpackage-origin=http://www.linuxfromscratch.org/blfs/view/svn/ \
           -Dpackage-name="GStreamer 1.16.0 BLFS" &&
    ninja

To test the results, issue: ninja test. One test, gst_gstdatetime, is known to fail.

### Caution

If you are reinstalling gstreamer from a previous version, it is best if you remove the prior version, including plugins, before installing the new version. If there is a mixture of versions installed, using processes may hang or not work properly. As the `root` user:

    rm -rf /usr/bin/gst-* /usr/{lib,libexec}/gstreamer-1.0

Now, as the `root` user:

    ninja install

## Contents

Installed Programs: gst-inspect-1.0, gst-launch-1.0, gst-stats-1.0, and gst-typefind-1.0
Installed Libraries: libgstbase-1.0.so, libgstcheck-1.0.so, libgstcontroller-1.0.so, libgstnet-1.0.so, and libgstreamer-1.0.so
Installed Directories: /usr/{include,lib,libexec}/gstreamer-1.0 and /usr/share/gtk-doc/html/gstreamer{,-libs,-plugins}-1.0

### Short Descriptions

gst-inspect-1.0 | is a tool that prints out information on available gstreamer plugins, information about a particular plugin, or information about a particular element.
gst-launch-1.0 | is a tool that builds and runs basic gstreamer pipelines.
gst-stats-1.0 | is a tool used to gather statistics about gstreamer operations.
gst-typefind-1.0 | uses the gstreamer type finding system to determine the relevant gstreamer plugin to parse or decode files, and the corresponding MIME type.
`libgstbase-1.0.so` | provides some base classes to be extended by elements and utillity classes that are most useful for plugin developers.
`libgstcheck-1.0.so` | provides functionality for writing unit tests that use the check framework.
`libgstcontroller-1.0.so` | provides functionality to animate element properties over time.
`libgstnet-1.0.so` | provides network elements and objects.
`libgstreamer-1.0.so` | provides all of the core gstreamer services, including initialization, plugin management and types, as well as the object hierarchy that defines elements and bins, along with some more specialized elements.

Last updated on 2019-08-18 09:57:18 -0700

- Prev

  gavl-1.4.0

- Next

  gst-plugins-base-1.16.0

- Up
- Home