[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[1604b8ff] | 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 " ">
|
---|
[966dfd9b] | 10 | <!ENTITY gst10-plugins-base-md5sum "68b29aaae4de05e0c484ce7714ef5d0c">
|
---|
[4edc4fbe] | 11 | <!ENTITY gst10-plugins-base-size "2.3 MB">
|
---|
[966dfd9b] | 12 | <!ENTITY gst10-plugins-base-buildsize "99 MB (with tests)">
|
---|
| 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 |
|
---|
[0be837af] | 38 | &lfs122_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),
|
---|
[c0bc0a9] | 88 | &gobject-introspection;,
|
---|
[1604b8ff] | 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"/>,
|
---|
[794a5d8] | 94 | <xref linkend="libvorbis"/>,
|
---|
[90d4109] | 95 | <xref linkend="mesa"/>,
|
---|
[09acc5d] | 96 | <xref linkend="pango"/>,
|
---|
[794a5d8] | 97 | <xref linkend="wayland-protocols"/>, and
|
---|
[4ef9eb3] | 98 | <xref linkend="xorg7-lib"/>
|
---|
[0165a3fe] | 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 102 | <para role="optional">
|
---|
[2c80efe] | 103 | <xref linkend="graphene"/>,
|
---|
[4cc74e03] | 104 | <xref linkend="gtk3"/> (for examples),
|
---|
[01b8994d] | 105 | <!--<xref linkend="libtheora"/>,-->
|
---|
[4cc74e03] | 106 | <xref linkend="opus"/>,
|
---|
[794a5d8] | 107 | <xref linkend="sdl2"/>,
|
---|
[0783427] | 108 | <xref linkend="valgrind"/>,
|
---|
[794a5d8] | 109 | <ulink url="https://pypi.org/project/hotdoc">hotdoc</ulink>,
|
---|
[01b8994d] | 110 | <ulink url="http://www.theora.org">libtheora</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 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
| 119 | <title>Installation of GStreamer Base Plug-ins</title>
|
---|
[ef39f6b] | 120 | <!--
|
---|
[4ef9eb3] | 121 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 122 | href="../../xincludes/gst10-objc-error.xml"/>
|
---|
[ef39f6b] | 123 | -->
|
---|
[4ef9eb3] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 125 | href="../../xincludes/gst10-plugins.xml"/>
|
---|
[6d78663] | 126 |
|
---|
[1604b8ff] | 127 | <para>
|
---|
| 128 | Install <application>GStreamer Base Plug-ins</application> by running the
|
---|
| 129 | following commands:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
[0c61cb89] | 132 | <screen><userinput>mkdir build &&
|
---|
| 133 | cd build &&
|
---|
| 134 |
|
---|
[5ce2b5a] | 135 | meson setup .. \
|
---|
| 136 | --prefix=/usr \
|
---|
| 137 | --buildtype=release \
|
---|
| 138 | --wrap-mode=nodownload &&
|
---|
[0c61cb89] | 139 | ninja</userinput></screen>
|
---|
[1604b8ff] | 140 |
|
---|
| 141 | <para>
|
---|
[0608a6c4] | 142 | To test the results, issue: <command>ninja test</command>. The tests
|
---|
[0bfea394] | 143 | require an X terminal running, or all of the GL tests will fail. Five
|
---|
| 144 | tests may produce timeouts on some systems depending on their graphics
|
---|
[15124c3] | 145 | hardware and speed. One test, <filename>elements_appsrc</filename>, is
|
---|
[e608548] | 146 | known to fail on some systems.
|
---|
[1604b8ff] | 147 | </para>
|
---|
| 148 |
|
---|
[0165a3fe] | 149 | <note>
|
---|
| 150 | <para>
|
---|
[6b255f3e] | 151 | When installing, the build process does some additional
|
---|
[0165a3fe] | 152 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
[f3429309] | 153 | variable needs to be defined for the root user. If
|
---|
| 154 | using sudo to assume root, use the -E option to pass
|
---|
[0165a3fe] | 155 | your current environment variables for the install process.
|
---|
| 156 | </para>
|
---|
| 157 | </note>
|
---|
[4e08b665] | 158 |
|
---|
[1604b8ff] | 159 | <para>
|
---|
| 160 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
[0608a6c4] | 163 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1604b8ff] | 164 | </sect2>
|
---|
| 165 |
|
---|
[84ac673] | 166 | <sect2 role="commands">
|
---|
| 167 | <title>Command Explanations</title>
|
---|
| 168 |
|
---|
[3918112a] | 169 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 170 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 171 |
|
---|
[84ac673] | 172 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 173 | href="../../xincludes/meson-wrap-nodownload.xml"/>
|
---|
[3918112a] | 174 |
|
---|
[84ac673] | 175 | </sect2>
|
---|
| 176 |
|
---|
[1604b8ff] | 177 | <sect2 role="content">
|
---|
| 178 | <title>Contents</title>
|
---|
| 179 |
|
---|
| 180 | <segmentedlist>
|
---|
| 181 | <segtitle>Installed Programs</segtitle>
|
---|
| 182 | <segtitle>Installed Libraries</segtitle>
|
---|
| 183 | <segtitle>Installed Directories</segtitle>
|
---|
| 184 |
|
---|
| 185 | <seglistitem>
|
---|
| 186 | <seg>
|
---|
[e608548] | 187 | gst-device-monitor-1.0,
|
---|
| 188 | gst-discoverer-1.0, and
|
---|
| 189 | gst-play-1.0
|
---|
[1604b8ff] | 190 | </seg>
|
---|
| 191 | <seg>
|
---|
[e608548] | 192 | libgstallocators-1.0.so,
|
---|
| 193 | libgstapp-1.0.so,
|
---|
| 194 | libgstaudio-1.0.so,
|
---|
| 195 | libgstfft-1.0.so,
|
---|
| 196 | libgstgl-1.0.so,
|
---|
| 197 | libgstpbutils-1.0.so,
|
---|
| 198 | libgstriff-1.0.so,
|
---|
| 199 | libgstrtp-1.0.so,
|
---|
| 200 | libgstrtsp-1.0.so,
|
---|
| 201 | libgstsdp-1.0.so,
|
---|
| 202 | libgsttag-1.0.so,
|
---|
| 203 | libgstvideo-1.0.so,
|
---|
[2bd04d6] | 204 | and several plugins under /usr/lib/gstreamer-1.0
|
---|
[1604b8ff] | 205 | </seg>
|
---|
| 206 | <seg>
|
---|
[2bd04d6] | 207 | /usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,gl,pbutils},
|
---|
[794a5d8] | 208 | /usr/include/gstreamer-1.0/gst/{riff,rtp,rtsp,sdp,tag,video}, and
|
---|
| 209 | /usr/share/gst-plugins-base
|
---|
[1604b8ff] | 210 | </seg>
|
---|
| 211 | </seglistitem>
|
---|
| 212 | </segmentedlist>
|
---|
| 213 |
|
---|
[c18b8f23] | 214 | <variablelist>
|
---|
| 215 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 216 | <?dbfo list-presentation="list"?>
|
---|
| 217 | <?dbhtml list-presentation="table"?>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="gst-device-monitor-1.0">
|
---|
| 220 | <term><command>gst-device-monitor-1.0</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>
|
---|
| 223 | is a command line tool that can be used to test
|
---|
| 224 | GStreamer's device monitoring functionality
|
---|
| 225 | </para>
|
---|
| 226 | <indexterm zone="gst10-plugins-base gst-device-monitor-1.0">
|
---|
| 227 | <primary sortas="b-gst-device-monitor-1.0">gst-device-monitor-1.0</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="gst-discoverer-1.0">
|
---|
| 233 | <term><command>gst-discoverer-1.0</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>
|
---|
| 236 | is a tool that can be used to print basic metadata and
|
---|
[4c24eb0a] | 237 | stream information about a media file
|
---|
[c18b8f23] | 238 | </para>
|
---|
| 239 | <indexterm zone="gst10-plugins-base gst-discoverer-1.0">
|
---|
| 240 | <primary sortas="b-gst-discoverer-1.0">gst-discoverer-1.0</primary>
|
---|
| 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
| 245 | <varlistentry id="gst-play-1.0">
|
---|
| 246 | <term><command>gst-play-1.0</command></term>
|
---|
| 247 | <listitem>
|
---|
| 248 | <para>
|
---|
| 249 | is a command line tool that can be used to test basic
|
---|
[4c24eb0a] | 250 | playback using the playbin element
|
---|
[c18b8f23] | 251 | </para>
|
---|
| 252 | <indexterm zone="gst10-plugins-base gst-play-1.0">
|
---|
| 253 | <primary sortas="b-gst-play-1.0">gst-play-1.0</primary>
|
---|
| 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
| 257 |
|
---|
| 258 | </variablelist>
|
---|
| 259 |
|
---|
[1604b8ff] | 260 | </sect2>
|
---|
| 261 |
|
---|
| 262 | </sect1>
|
---|