2012-09-04 06:01:54 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2013-07-15 06:46:33 +08:00
|
|
|
<!ENTITY gst10-plugins-base-download-http
|
|
|
|
"&gstreamer-dl;/gst-plugins-base/gst-plugins-base-&gst10-plugins-base-version;.tar.xz">
|
2012-09-04 06:01:54 +08:00
|
|
|
<!ENTITY gst10-plugins-base-download-ftp " ">
|
2023-01-27 02:29:28 +08:00
|
|
|
<!ENTITY gst10-plugins-base-md5sum "c559f23bb746bda732e85ba7b76c2074">
|
|
|
|
<!ENTITY gst10-plugins-base-size "2.0 MB">
|
|
|
|
<!ENTITY gst10-plugins-base-buildsize "86 MB (with tests)">
|
2022-10-21 06:31:58 +08:00
|
|
|
<!ENTITY gst10-plugins-base-time "0.8 SBU (Using parallelism=4; with tests)">
|
2012-09-04 06:01:54 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="gst10-plugins-base" xreflabel="gst-plugins-base-&gst10-plugins-base-version;">
|
|
|
|
<?dbhtml filename="gst10-plugins-base.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>gst-plugins-base-&gst10-plugins-base-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="gst10-plugins-base">
|
|
|
|
<primary sortas="a-gst-plugins-base">gst-plugins-base</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to GStreamer Base Plug-ins</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The <application>GStreamer Base Plug-ins</application> is a well-groomed and
|
|
|
|
well-maintained collection of <application>GStreamer</application> plug-ins
|
|
|
|
and elements, spanning the range of possible types of elements one would want
|
2012-10-01 13:54:32 +08:00
|
|
|
to write for <application>GStreamer</application>. You will need at least one
|
|
|
|
of Good, Bad, Ugly or Libav plugins for <application>GStreamer</application>
|
|
|
|
applications to function properly.
|
2012-09-04 06:01:54 +08:00
|
|
|
</para>
|
|
|
|
|
2022-08-25 07:15:34 +08:00
|
|
|
&lfs112_checked;
|
2012-09-04 06:01:54 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&gst10-plugins-base-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&gst10-plugins-base-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &gst10-plugins-base-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &gst10-plugins-base-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &gst10-plugins-base-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &gst10-plugins-base-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">GStreamer Base Plug-ins Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2013-10-04 16:54:45 +08:00
|
|
|
<xref linkend="gstreamer10"/>
|
2012-09-04 06:01:54 +08:00
|
|
|
</para>
|
|
|
|
|
2013-10-15 23:29:52 +08:00
|
|
|
<!-- Common formats, output and input codecs and requirements
|
|
|
|
for GNOME apps. What's a multimedia framework useful if it
|
|
|
|
can't be used to play anything (common)? -->
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="alsa-lib"/>,
|
2016-11-23 05:53:36 +08:00
|
|
|
<xref linkend="cdparanoia"/> (for building the CDDA plugin),
|
2012-09-04 06:01:54 +08:00
|
|
|
<xref linkend="gobject-introspection"/>,
|
|
|
|
<xref linkend="iso-codes"/>,
|
2020-09-14 02:12:01 +08:00
|
|
|
<xref linkend="libgudev"/>,
|
2021-09-23 03:53:17 +08:00
|
|
|
<xref linkend="libjpeg"/>,
|
2012-09-04 06:01:54 +08:00
|
|
|
<xref linkend="libogg"/>,
|
2021-09-23 03:53:17 +08:00
|
|
|
<xref linkend="libpng"/>,
|
2012-09-04 06:01:54 +08:00
|
|
|
<xref linkend="libtheora"/>,
|
2020-09-14 02:12:01 +08:00
|
|
|
<xref linkend="libvorbis"/>,
|
2021-02-07 16:07:21 +08:00
|
|
|
<xref linkend="mesa"/>,
|
2021-09-23 03:53:17 +08:00
|
|
|
<xref linkend="pango"/>,
|
2020-09-14 02:12:01 +08:00
|
|
|
<xref linkend="wayland-protocols"/>, and
|
2019-05-27 04:07:26 +08:00
|
|
|
<xref linkend="xorg7-lib"/>
|
2013-10-15 23:29:52 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2020-04-03 05:58:25 +08:00
|
|
|
<xref linkend="graphene"/>,
|
2016-07-04 05:34:26 +08:00
|
|
|
<xref linkend="gtk3"/> (for examples),
|
|
|
|
<xref linkend="opus"/>,
|
|
|
|
<xref linkend="qt5"/> (for examples),
|
2018-08-17 04:23:08 +08:00
|
|
|
<xref linkend="sdl"/>,
|
2020-09-14 02:12:01 +08:00
|
|
|
<xref linkend="sdl2"/>,
|
2014-07-26 03:04:04 +08:00
|
|
|
<xref linkend="valgrind"/>,
|
2020-09-14 02:12:01 +08:00
|
|
|
<ulink url="https://pypi.org/project/hotdoc">hotdoc</ulink>,
|
2017-03-15 06:17:47 +08:00
|
|
|
<ulink url="http://libvisual.org/">libvisual</ulink>,
|
2023-01-29 14:31:21 +08:00
|
|
|
<ulink url="https://gstreamer.freedesktop.org/src/orc/">Orc</ulink>, and
|
|
|
|
<ulink url="https://wiki.xiph.org/Tremor">Tremor</ulink>
|
2012-09-04 06:01:54 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/gst10-plugins-base"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of GStreamer Base Plug-ins</title>
|
2022-06-19 00:07:56 +08:00
|
|
|
<!--
|
2019-05-27 04:07:26 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/gst10-objc-error.xml"/>
|
2022-06-19 00:07:56 +08:00
|
|
|
-->
|
2019-05-27 04:07:26 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/gst10-plugins.xml"/>
|
2019-05-25 10:35:06 +08:00
|
|
|
|
2012-09-04 06:01:54 +08:00
|
|
|
<para>
|
|
|
|
Install <application>GStreamer Base Plug-ins</application> by running the
|
|
|
|
following commands:
|
|
|
|
</para>
|
|
|
|
|
2019-04-26 03:57:42 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
|
|
|
|
meson --prefix=/usr \
|
2021-06-04 19:26:37 +08:00
|
|
|
--buildtype=release \
|
2022-04-04 19:55:32 +08:00
|
|
|
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/&blfs-version;/ \
|
2020-09-20 12:48:54 +08:00
|
|
|
-Dpackage-name="GStreamer &gst10-plugins-base-version; BLFS" \
|
|
|
|
--wrap-mode=nodownload &&
|
2019-04-26 03:57:42 +08:00
|
|
|
ninja</userinput></screen>
|
2012-09-04 06:01:54 +08:00
|
|
|
|
|
|
|
<para>
|
2019-04-27 01:09:25 +08:00
|
|
|
To test the results, issue: <command>ninja test</command>. The tests
|
2019-10-31 22:22:22 +08:00
|
|
|
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.
|
2012-09-04 06:01:54 +08:00
|
|
|
</para>
|
|
|
|
|
2013-10-15 23:29:52 +08:00
|
|
|
<note>
|
|
|
|
<para>
|
2020-10-28 04:25:51 +08:00
|
|
|
When installing, the build process does some additional
|
2013-10-15 23:29:52 +08:00
|
|
|
linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
2015-11-13 22:24:57 +08:00
|
|
|
variable needs to be defined for the root user. If
|
|
|
|
using sudo to assume root, use the -E option to pass
|
2013-10-15 23:29:52 +08:00
|
|
|
your current environment variables for the install process.
|
|
|
|
</para>
|
|
|
|
</note>
|
2013-09-01 23:30:05 +08:00
|
|
|
|
2012-09-04 06:01:54 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
2019-04-27 01:09:25 +08:00
|
|
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
2012-09-04 06:01:54 +08:00
|
|
|
</sect2>
|
|
|
|
|
2021-03-16 16:19:31 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2021-06-04 19:26:37 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/meson-buildtype-release.xml"/>
|
|
|
|
|
2021-03-16 16:19:31 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/meson-wrap-nodownload.xml"/>
|
2021-06-04 19:26:37 +08:00
|
|
|
|
2021-03-16 16:19:31 +08:00
|
|
|
</sect2>
|
|
|
|
|
2012-09-04 06:01:54 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
2017-03-05 23:50:11 +08:00
|
|
|
gst-device-monitor-1.0, gst-discoverer-1.0, and gst-play-1.0
|
2012-09-04 06:01:54 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2013-11-13 09:42:18 +08:00
|
|
|
libgstallocators-1.0.so, libgstapp-1.0.so, libgstaudio-1.0.so,
|
2021-09-07 01:42:49 +08:00
|
|
|
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,
|
2018-08-17 04:23:08 +08:00
|
|
|
and several plugins under /usr/lib/gstreamer-1.0
|
2012-09-04 06:01:54 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2018-08-17 04:23:08 +08:00
|
|
|
/usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,gl,pbutils},
|
2020-09-14 02:12:01 +08:00
|
|
|
/usr/include/gstreamer-1.0/gst/{riff,rtp,rtsp,sdp,tag,video}, and
|
|
|
|
/usr/share/gst-plugins-base
|
2012-09-04 06:01:54 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
2015-09-07 06:05:04 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="gst-device-monitor-1.0">
|
|
|
|
<term><command>gst-device-monitor-1.0</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a command line tool that can be used to test
|
|
|
|
GStreamer's device monitoring functionality
|
|
|
|
</para>
|
|
|
|
<indexterm zone="gst10-plugins-base gst-device-monitor-1.0">
|
|
|
|
<primary sortas="b-gst-device-monitor-1.0">gst-device-monitor-1.0</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gst-discoverer-1.0">
|
|
|
|
<term><command>gst-discoverer-1.0</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a tool that can be used to print basic metadata and
|
2021-02-19 23:20:16 +08:00
|
|
|
stream information about a media file
|
2015-09-07 06:05:04 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gst10-plugins-base gst-discoverer-1.0">
|
|
|
|
<primary sortas="b-gst-discoverer-1.0">gst-discoverer-1.0</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gst-play-1.0">
|
|
|
|
<term><command>gst-play-1.0</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a command line tool that can be used to test basic
|
2021-02-19 23:20:16 +08:00
|
|
|
playback using the playbin element
|
2015-09-07 06:05:04 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gst10-plugins-base gst-play-1.0">
|
|
|
|
<primary sortas="b-gst-play-1.0">gst-play-1.0</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
2012-09-04 06:01:54 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|