[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 " ">
|
---|
[3b1d13dc] | 10 | <!ENTITY gst10-plugins-base-md5sum "523336ed6938b8b1004847cbbd5e31cb">
|
---|
[794a5d8] | 11 | <!ENTITY gst10-plugins-base-size "3.0 MB">
|
---|
[498a011] | 12 | <!ENTITY gst10-plugins-base-buildsize "99 MB (with tests)">
|
---|
| 13 | <!ENTITY gst10-plugins-base-time "1.0 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 |
|
---|
[d437f756] | 41 | &lfs101_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"/>,
|
---|
[1604b8ff] | 94 | <xref linkend="libogg"/>,
|
---|
| 95 | <xref linkend="libtheora"/>,
|
---|
[794a5d8] | 96 | <xref linkend="libvorbis"/>,
|
---|
[90d4109] | 97 | <xref linkend="mesa"/>,
|
---|
[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),
|
---|
[2bd04d6] | 108 | <xref linkend="sdl"/>,
|
---|
[794a5d8] | 109 | <xref linkend="sdl2"/>,
|
---|
[0783427] | 110 | <xref linkend="valgrind"/>,
|
---|
[794a5d8] | 111 | <ulink url="https://pypi.org/project/hotdoc">hotdoc</ulink>,
|
---|
[d52ee03] | 112 | <ulink url="http://libvisual.org/">libvisual</ulink>,
|
---|
[f3429309] | 113 | <ulink url="http://gstreamer.freedesktop.org/src/orc/">Orc</ulink>, and
|
---|
[0783427] | 114 | <ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>
|
---|
[1604b8ff] | 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <para condition="html" role="usernotes">
|
---|
| 118 | User Notes: <ulink url="&blfs-wiki;/gst10-plugins-base"/>
|
---|
| 119 | </para>
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="installation">
|
---|
| 123 | <title>Installation of GStreamer Base Plug-ins</title>
|
---|
| 124 |
|
---|
[4ef9eb3] | 125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 126 | href="../../xincludes/gst10-objc-error.xml"/>
|
---|
[5dfe5591] | 127 |
|
---|
[4ef9eb3] | 128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 129 | href="../../xincludes/gst10-plugins.xml"/>
|
---|
[6d78663] | 130 |
|
---|
[1604b8ff] | 131 | <para>
|
---|
| 132 | Install <application>GStreamer Base Plug-ins</application> by running the
|
---|
| 133 | following commands:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
[0c61cb89] | 136 | <screen><userinput>mkdir build &&
|
---|
| 137 | cd build &&
|
---|
| 138 |
|
---|
| 139 | meson --prefix=/usr \
|
---|
| 140 | -Dbuildtype=release \
|
---|
[c9aa980] | 141 | -Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/svn/ \
|
---|
[06a9f57] | 142 | -Dpackage-name="GStreamer &gst10-plugins-base-version; BLFS" \
|
---|
| 143 | --wrap-mode=nodownload &&
|
---|
[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 |
|
---|
| 173 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 174 | href="../../xincludes/meson-wrap-nodownload.xml"/>
|
---|
| 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>
|
---|
[bb1ee37] | 187 | gst-device-monitor-1.0, gst-discoverer-1.0, and gst-play-1.0
|
---|
[1604b8ff] | 188 | </seg>
|
---|
| 189 | <seg>
|
---|
[505a013] | 190 | libgstallocators-1.0.so, libgstapp-1.0.so, libgstaudio-1.0.so,
|
---|
[2bd04d6] | 191 | libgstfft-1.0.so, libgstgl-1.0.so, libgstpbutils-1.0.so,
|
---|
| 192 | libgstriff-1.0.so, libgstrtp-1.0.so, libgstrtsp-1.0.so,
|
---|
| 193 | libgstsdp-1.0.so, libgsttag-1.0.so, libgstvideo-1.0.so
|
---|
| 194 | and several plugins under /usr/lib/gstreamer-1.0
|
---|
[1604b8ff] | 195 | </seg>
|
---|
| 196 | <seg>
|
---|
[2bd04d6] | 197 | /usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,gl,pbutils},
|
---|
[794a5d8] | 198 | /usr/include/gstreamer-1.0/gst/{riff,rtp,rtsp,sdp,tag,video}, and
|
---|
| 199 | /usr/share/gst-plugins-base
|
---|
[1604b8ff] | 200 | </seg>
|
---|
| 201 | </seglistitem>
|
---|
| 202 | </segmentedlist>
|
---|
| 203 |
|
---|
[c18b8f23] | 204 | <variablelist>
|
---|
| 205 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 206 | <?dbfo list-presentation="list"?>
|
---|
| 207 | <?dbhtml list-presentation="table"?>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="gst-device-monitor-1.0">
|
---|
| 210 | <term><command>gst-device-monitor-1.0</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>
|
---|
| 213 | is a command line tool that can be used to test
|
---|
| 214 | GStreamer's device monitoring functionality
|
---|
| 215 | </para>
|
---|
| 216 | <indexterm zone="gst10-plugins-base gst-device-monitor-1.0">
|
---|
| 217 | <primary sortas="b-gst-device-monitor-1.0">gst-device-monitor-1.0</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="gst-discoverer-1.0">
|
---|
| 223 | <term><command>gst-discoverer-1.0</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>
|
---|
| 226 | is a tool that can be used to print basic metadata and
|
---|
[4c24eb0a] | 227 | stream information about a media file
|
---|
[c18b8f23] | 228 | </para>
|
---|
| 229 | <indexterm zone="gst10-plugins-base gst-discoverer-1.0">
|
---|
| 230 | <primary sortas="b-gst-discoverer-1.0">gst-discoverer-1.0</primary>
|
---|
| 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | <varlistentry id="gst-play-1.0">
|
---|
| 236 | <term><command>gst-play-1.0</command></term>
|
---|
| 237 | <listitem>
|
---|
| 238 | <para>
|
---|
| 239 | is a command line tool that can be used to test basic
|
---|
[4c24eb0a] | 240 | playback using the playbin element
|
---|
[c18b8f23] | 241 | </para>
|
---|
| 242 | <indexterm zone="gst10-plugins-base gst-play-1.0">
|
---|
| 243 | <primary sortas="b-gst-play-1.0">gst-play-1.0</primary>
|
---|
| 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
| 248 | </variablelist>
|
---|
| 249 |
|
---|
[1604b8ff] | 250 | </sect2>
|
---|
| 251 |
|
---|
| 252 | </sect1>
|
---|