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.24.9 and one of
Good, Bad, Ugly or
Libav plugins.
Package Information
gstreamer Dependencies
Required
GLib-2.82.2 (GObject Introspection required for
GNOME) and Meson Toolchain Files (for lib32)
Optional
GTK+-3
(for examples), gsl
(used by one test if installed), libunwind-1.8.1,
rustc-1.82.0 (for IEEE 1588:2008 PTP clock
support), Valgrind,
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 \
-D gst_debug=false &&
ninja
To test the results, issue: ninja
test.
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
32-bit Installation of gstreamer
First clean the build directory:
rm -rf *
Install lib32-gstreamer by running
the following commands:
meson setup .. \
--cross-file lib32 \
--prefix=/usr \
--libdir=/usr/lib32 \
--buildtype=release \
-D gst_debug=false &&
ninja
Now, as the root
user:
DESTDIR=$PWD/DESTDIR ninja install &&
cp -vR DESTDIR/usr/lib32/* /usr/lib32 &&
rm -rf DESTDIR &&
ldconfig
Command Explanations
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
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
|