gstreamer-1.22.7

Introduction to gstreamer

gstreamer is a streaming media framework that enables applications to share a common set of plugins for tasks such as 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.22.7 and one of Good, Bad, Ugly or Libav plugins.

[注記]

注記

LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。

Package Information

gstreamer Dependencies

Required

GLib-2.78.3

Recommended

Optional

GTK+-3.24.38 (for examples), Gsl-2.7.1 (used by one test if installed), libunwind-1.6.2, Valgrind-3.22.0, bash-completion, hotdoc, and libdw

Installation of gstreamer

Install gstreamer by running the following commands:

mkdir build &&
cd    build &&

meson  setup ..            \
       --prefix=/usr       \
       --buildtype=release \
       -Dgst_debug=false   \
       -Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/systemd/ \
       -Dpackage-name="GStreamer 1.22.7 BLFS" &&
ninja

To test the results, issue: ninja test.

[注意]

注意

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

Command Explanations

--buildtype=release: 本パッケージの安定版リリース向けに適したビルドタイプを指定します。 デフォルトにしていると、最適化されていないバイナリを生成する場合があるためです。

Contents

Installed Programs: gst-inspect-1.0, gst-launch-1.0, gst-stats-1.0, gst-tester-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,share}/gstreamer-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-tester-1.0

runs a test plan in TAP compatible format while integrating with the meson test harness

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