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