[1604b8ff] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[ae96c4b] | 7 | <!ENTITY gst10-plugins-base-download-http
|
---|
| 8 | "&gstreamer-dl;/gst-plugins-base/gst-plugins-base-&gst10-plugins-base-version;.tar.xz">
|
---|
[1604b8ff] | 9 | <!ENTITY gst10-plugins-base-download-ftp " ">
|
---|
[b10c207e] | 10 | <!ENTITY gst10-plugins-base-md5sum "0ad54d0aa0221512493b9abb70a1bf59">
|
---|
| 11 | <!ENTITY gst10-plugins-base-size "2.2 MB">
|
---|
| 12 | <!ENTITY gst10-plugins-base-buildsize "87 MB (with tests)">
|
---|
[8624a457] | 13 | <!ENTITY gst10-plugins-base-time "0.8 SBU (Using parallelism=4; with tests)">
|
---|
[1604b8ff] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="gst10-plugins-base" xreflabel="gst-plugins-base-&gst10-plugins-base-version;">
|
---|
| 17 | <?dbhtml filename="gst10-plugins-base.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>gst-plugins-base-&gst10-plugins-base-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="gst10-plugins-base">
|
---|
| 23 | <primary sortas="a-gst-plugins-base">gst-plugins-base</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to GStreamer Base Plug-ins</title>
|
---|
| 28 |
|
---|
| 29 | <para>
|
---|
| 30 | The <application>GStreamer Base Plug-ins</application> is a well-groomed and
|
---|
| 31 | well-maintained collection of <application>GStreamer</application> plug-ins
|
---|
| 32 | and elements, spanning the range of possible types of elements one would want
|
---|
[058a3280] | 33 | to write for <application>GStreamer</application>. You will need at least one
|
---|
| 34 | of Good, Bad, Ugly or Libav plugins for <application>GStreamer</application>
|
---|
| 35 | applications to function properly.
|
---|
[1604b8ff] | 36 | </para>
|
---|
| 37 |
|
---|
[dc1a45e] | 38 | &lfs113_checked;
|
---|
[1604b8ff] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&gst10-plugins-base-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&gst10-plugins-base-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &gst10-plugins-base-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &gst10-plugins-base-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &gst10-plugins-base-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &gst10-plugins-base-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">GStreamer Base Plug-ins Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
[897d0fa] | 78 | <xref linkend="gstreamer10"/>
|
---|
[1604b8ff] | 79 | </para>
|
---|
| 80 |
|
---|
[0165a3fe] | 81 | <!-- Common formats, output and input codecs and requirements
|
---|
| 82 | for GNOME apps. What's a multimedia framework useful if it
|
---|
| 83 | can't be used to play anything (common)? -->
|
---|
| 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
| 86 | <xref linkend="alsa-lib"/>,
|
---|
[122ded1] | 87 | <xref linkend="cdparanoia"/> (for building the CDDA plugin),
|
---|
[1604b8ff] | 88 | <xref linkend="gobject-introspection"/>,
|
---|
| 89 | <xref linkend="iso-codes"/>,
|
---|
[794a5d8] | 90 | <xref linkend="libgudev"/>,
|
---|
[09acc5d] | 91 | <xref linkend="libjpeg"/>,
|
---|
[1604b8ff] | 92 | <xref linkend="libogg"/>,
|
---|
[09acc5d] | 93 | <xref linkend="libpng"/>,
|
---|
[1604b8ff] | 94 | <xref linkend="libtheora"/>,
|
---|
[794a5d8] | 95 | <xref linkend="libvorbis"/>,
|
---|
[90d4109] | 96 | <xref linkend="mesa"/>,
|
---|
[09acc5d] | 97 | <xref linkend="pango"/>,
|
---|
[794a5d8] | 98 | <xref linkend="wayland-protocols"/>, and
|
---|
[4ef9eb3] | 99 | <xref linkend="xorg7-lib"/>
|
---|
[0165a3fe] | 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 103 | <para role="optional">
|
---|
[2c80efe] | 104 | <xref linkend="graphene"/>,
|
---|
[4cc74e03] | 105 | <xref linkend="gtk3"/> (for examples),
|
---|
| 106 | <xref linkend="opus"/>,
|
---|
| 107 | <xref linkend="qt5"/> (for examples),
|
---|
[794a5d8] | 108 | <xref linkend="sdl2"/>,
|
---|
[0783427] | 109 | <xref linkend="valgrind"/>,
|
---|
[794a5d8] | 110 | <ulink url="https://pypi.org/project/hotdoc">hotdoc</ulink>,
|
---|
[d52ee03] | 111 | <ulink url="http://libvisual.org/">libvisual</ulink>,
|
---|
[75b1a338] | 112 | <ulink url="https://gstreamer.freedesktop.org/src/orc/">Orc</ulink>, and
|
---|
| 113 | <ulink url="https://wiki.xiph.org/Tremor">Tremor</ulink>
|
---|
[1604b8ff] | 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para condition="html" role="usernotes">
|
---|
| 117 | User Notes: <ulink url="&blfs-wiki;/gst10-plugins-base"/>
|
---|
| 118 | </para>
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="installation">
|
---|
| 122 | <title>Installation of GStreamer Base Plug-ins</title>
|
---|
[ef39f6b] | 123 | <!--
|
---|
[4ef9eb3] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 125 | href="../../xincludes/gst10-objc-error.xml"/>
|
---|
[ef39f6b] | 126 | -->
|
---|
[4ef9eb3] | 127 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 128 | href="../../xincludes/gst10-plugins.xml"/>
|
---|
[6d78663] | 129 |
|
---|
[1604b8ff] | 130 | <para>
|
---|
| 131 | Install <application>GStreamer Base Plug-ins</application> by running the
|
---|
| 132 | following commands:
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
[0c61cb89] | 135 | <screen><userinput>mkdir build &&
|
---|
| 136 | cd build &&
|
---|
| 137 |
|
---|
[91318eb] | 138 | meson setup .. \
|
---|
| 139 | --prefix=/usr \
|
---|
| 140 | --buildtype=release \
|
---|
| 141 | --wrap-mode=nodownload \
|
---|
[975b612] | 142 | -Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/&blfs-version;/ \
|
---|
[91318eb] | 143 | -Dpackage-name="GStreamer &gst10-plugins-base-version; BLFS" &&
|
---|
[0c61cb89] | 144 | ninja</userinput></screen>
|
---|
[1604b8ff] | 145 |
|
---|
| 146 | <para>
|
---|
[0608a6c4] | 147 | To test the results, issue: <command>ninja test</command>. The tests
|
---|
[0bfea394] | 148 | require an X terminal running, or all of the GL tests will fail. Five
|
---|
| 149 | tests may produce timeouts on some systems depending on their graphics
|
---|
| 150 | hardware and speed.
|
---|
[1604b8ff] | 151 | </para>
|
---|
| 152 |
|
---|
[0165a3fe] | 153 | <note>
|
---|
| 154 | <para>
|
---|
[6b255f3e] | 155 | When installing, the build process does some additional
|
---|
[0165a3fe] | 156 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
[f3429309] | 157 | variable needs to be defined for the root user. If
|
---|
| 158 | using sudo to assume root, use the -E option to pass
|
---|
[0165a3fe] | 159 | your current environment variables for the install process.
|
---|
| 160 | </para>
|
---|
| 161 | </note>
|
---|
[4e08b665] | 162 |
|
---|
[1604b8ff] | 163 | <para>
|
---|
| 164 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 165 | </para>
|
---|
| 166 |
|
---|
[0608a6c4] | 167 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1604b8ff] | 168 | </sect2>
|
---|
| 169 |
|
---|
[84ac673] | 170 | <sect2 role="commands">
|
---|
| 171 | <title>Command Explanations</title>
|
---|
| 172 |
|
---|
[3918112a] | 173 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 174 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 175 |
|
---|
[84ac673] | 176 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 177 | href="../../xincludes/meson-wrap-nodownload.xml"/>
|
---|
[3918112a] | 178 |
|
---|
[84ac673] | 179 | </sect2>
|
---|
| 180 |
|
---|
[1604b8ff] | 181 | <sect2 role="content">
|
---|
| 182 | <title>Contents</title>
|
---|
| 183 |
|
---|
| 184 | <segmentedlist>
|
---|
| 185 | <segtitle>Installed Programs</segtitle>
|
---|
| 186 | <segtitle>Installed Libraries</segtitle>
|
---|
| 187 | <segtitle>Installed Directories</segtitle>
|
---|
| 188 |
|
---|
| 189 | <seglistitem>
|
---|
| 190 | <seg>
|
---|
[bb1ee37] | 191 | gst-device-monitor-1.0, gst-discoverer-1.0, and gst-play-1.0
|
---|
[1604b8ff] | 192 | </seg>
|
---|
| 193 | <seg>
|
---|
[505a013] | 194 | libgstallocators-1.0.so, libgstapp-1.0.so, libgstaudio-1.0.so,
|
---|
[8558044] | 195 | libgstfft-1.0.so, libgstgl-1.0.so, libgstpbutils-1.0.so,
|
---|
| 196 | libgstriff-1.0.so, libgstrtp-1.0.so, libgstrtsp-1.0.so,
|
---|
| 197 | libgstsdp-1.0.so, libgsttag-1.0.so, libgstvideo-1.0.so,
|
---|
[2bd04d6] | 198 | and several plugins under /usr/lib/gstreamer-1.0
|
---|
[1604b8ff] | 199 | </seg>
|
---|
| 200 | <seg>
|
---|
[2bd04d6] | 201 | /usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,gl,pbutils},
|
---|
[794a5d8] | 202 | /usr/include/gstreamer-1.0/gst/{riff,rtp,rtsp,sdp,tag,video}, and
|
---|
| 203 | /usr/share/gst-plugins-base
|
---|
[1604b8ff] | 204 | </seg>
|
---|
| 205 | </seglistitem>
|
---|
| 206 | </segmentedlist>
|
---|
| 207 |
|
---|
[c18b8f23] | 208 | <variablelist>
|
---|
| 209 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 210 | <?dbfo list-presentation="list"?>
|
---|
| 211 | <?dbhtml list-presentation="table"?>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="gst-device-monitor-1.0">
|
---|
| 214 | <term><command>gst-device-monitor-1.0</command></term>
|
---|
| 215 | <listitem>
|
---|
| 216 | <para>
|
---|
| 217 | is a command line tool that can be used to test
|
---|
| 218 | GStreamer's device monitoring functionality
|
---|
| 219 | </para>
|
---|
| 220 | <indexterm zone="gst10-plugins-base gst-device-monitor-1.0">
|
---|
| 221 | <primary sortas="b-gst-device-monitor-1.0">gst-device-monitor-1.0</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="gst-discoverer-1.0">
|
---|
| 227 | <term><command>gst-discoverer-1.0</command></term>
|
---|
| 228 | <listitem>
|
---|
| 229 | <para>
|
---|
| 230 | is a tool that can be used to print basic metadata and
|
---|
[4c24eb0a] | 231 | stream information about a media file
|
---|
[c18b8f23] | 232 | </para>
|
---|
| 233 | <indexterm zone="gst10-plugins-base gst-discoverer-1.0">
|
---|
| 234 | <primary sortas="b-gst-discoverer-1.0">gst-discoverer-1.0</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
| 239 | <varlistentry id="gst-play-1.0">
|
---|
| 240 | <term><command>gst-play-1.0</command></term>
|
---|
| 241 | <listitem>
|
---|
| 242 | <para>
|
---|
| 243 | is a command line tool that can be used to test basic
|
---|
[4c24eb0a] | 244 | playback using the playbin element
|
---|
[c18b8f23] | 245 | </para>
|
---|
| 246 | <indexterm zone="gst10-plugins-base gst-play-1.0">
|
---|
| 247 | <primary sortas="b-gst-play-1.0">gst-play-1.0</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
| 251 |
|
---|
| 252 | </variablelist>
|
---|
| 253 |
|
---|
[1604b8ff] | 254 | </sect2>
|
---|
| 255 |
|
---|
| 256 | </sect1>
|
---|