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 |
|
---|
7 | <!ENTITY gst10-plugins-base-download-http
|
---|
8 | "&gstreamer-dl;/gst-plugins-base/gst-plugins-base-&gst10-plugins-base-version;.tar.xz">
|
---|
9 | <!ENTITY gst10-plugins-base-download-ftp " ">
|
---|
10 | <!ENTITY gst10-plugins-base-md5sum "523336ed6938b8b1004847cbbd5e31cb">
|
---|
11 | <!ENTITY gst10-plugins-base-size "3.0 MB">
|
---|
12 | <!ENTITY gst10-plugins-base-buildsize "99 MB (with tests)">
|
---|
13 | <!ENTITY gst10-plugins-base-time "1.0 SBU (Using parallelism=4; with tests)">
|
---|
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
|
---|
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.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs110a_checked;
|
---|
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">
|
---|
81 | <xref linkend="gstreamer10"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
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"/>,
|
---|
90 | <xref linkend="cdparanoia"/> (for building the CDDA plugin),
|
---|
91 | <xref linkend="gobject-introspection"/>,
|
---|
92 | <xref linkend="iso-codes"/>,
|
---|
93 | <xref linkend="libgudev"/>,
|
---|
94 | <xref linkend="libogg"/>,
|
---|
95 | <xref linkend="libtheora"/>,
|
---|
96 | <xref linkend="libvorbis"/>,
|
---|
97 | <xref linkend="mesa"/>,
|
---|
98 | <xref linkend="wayland-protocols"/>, and
|
---|
99 | <xref linkend="xorg7-lib"/>
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
103 | <para role="optional">
|
---|
104 | <xref linkend="graphene"/>,
|
---|
105 | <xref linkend="gtk3"/> (for examples),
|
---|
106 | <xref linkend="opus"/>,
|
---|
107 | <xref linkend="qt5"/> (for examples),
|
---|
108 | <xref linkend="sdl"/>,
|
---|
109 | <xref linkend="sdl2"/>,
|
---|
110 | <xref linkend="valgrind"/>,
|
---|
111 | <ulink url="https://pypi.org/project/hotdoc">hotdoc</ulink>,
|
---|
112 | <ulink url="http://libvisual.org/">libvisual</ulink>,
|
---|
113 | <ulink url="http://gstreamer.freedesktop.org/src/orc/">Orc</ulink>, and
|
---|
114 | <ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>
|
---|
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 |
|
---|
125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
126 | href="../../xincludes/gst10-objc-error.xml"/>
|
---|
127 |
|
---|
128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
129 | href="../../xincludes/gst10-plugins.xml"/>
|
---|
130 |
|
---|
131 | <para> <!-- upstream has a different fix for 0.18.5, see
|
---|
132 | https://www.linuxquestions.org/questions/slackware-14/regression-on-current-with-gst-plugins-base-4175694901/-->
|
---|
133 | First fix a build failure caused by a change in
|
---|
134 | <application>meson-0.58.0</application>:
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <screen><userinput>sed -i 's|implicit_include_directories : false||' gst-libs/gst/gl/meson.build</userinput></screen>
|
---|
138 |
|
---|
139 | <para>
|
---|
140 | Install <application>GStreamer Base Plug-ins</application> by running the
|
---|
141 | following commands:
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <screen><userinput>mkdir build &&
|
---|
145 | cd build &&
|
---|
146 |
|
---|
147 | meson --prefix=/usr \
|
---|
148 | --buildtype=release \
|
---|
149 | -Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/svn/ \
|
---|
150 | -Dpackage-name="GStreamer &gst10-plugins-base-version; BLFS" \
|
---|
151 | --wrap-mode=nodownload &&
|
---|
152 | ninja</userinput></screen>
|
---|
153 |
|
---|
154 | <para>
|
---|
155 | To test the results, issue: <command>ninja test</command>. The tests
|
---|
156 | require an X terminal running, or all of the GL tests will fail. Five
|
---|
157 | tests may produce timeouts on some systems depending on their graphics
|
---|
158 | hardware and speed.
|
---|
159 | </para>
|
---|
160 |
|
---|
161 | <note>
|
---|
162 | <para>
|
---|
163 | When installing, the build process does some additional
|
---|
164 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
165 | variable needs to be defined for the root user. If
|
---|
166 | using sudo to assume root, use the -E option to pass
|
---|
167 | your current environment variables for the install process.
|
---|
168 | </para>
|
---|
169 | </note>
|
---|
170 |
|
---|
171 | <para>
|
---|
172 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
173 | </para>
|
---|
174 |
|
---|
175 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
176 | </sect2>
|
---|
177 |
|
---|
178 | <sect2 role="commands">
|
---|
179 | <title>Command Explanations</title>
|
---|
180 |
|
---|
181 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
182 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
183 |
|
---|
184 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
185 | href="../../xincludes/meson-wrap-nodownload.xml"/>
|
---|
186 |
|
---|
187 | </sect2>
|
---|
188 |
|
---|
189 | <sect2 role="content">
|
---|
190 | <title>Contents</title>
|
---|
191 |
|
---|
192 | <segmentedlist>
|
---|
193 | <segtitle>Installed Programs</segtitle>
|
---|
194 | <segtitle>Installed Libraries</segtitle>
|
---|
195 | <segtitle>Installed Directories</segtitle>
|
---|
196 |
|
---|
197 | <seglistitem>
|
---|
198 | <seg>
|
---|
199 | gst-device-monitor-1.0, gst-discoverer-1.0, and gst-play-1.0
|
---|
200 | </seg>
|
---|
201 | <seg>
|
---|
202 | libgstallocators-1.0.so, libgstapp-1.0.so, libgstaudio-1.0.so,
|
---|
203 | libgstfft-1.0.so, libgstgl-1.0.so, libgstpbutils-1.0.so,
|
---|
204 | libgstriff-1.0.so, libgstrtp-1.0.so, libgstrtsp-1.0.so,
|
---|
205 | libgstsdp-1.0.so, libgsttag-1.0.so, libgstvideo-1.0.so
|
---|
206 | and several plugins under /usr/lib/gstreamer-1.0
|
---|
207 | </seg>
|
---|
208 | <seg>
|
---|
209 | /usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,gl,pbutils},
|
---|
210 | /usr/include/gstreamer-1.0/gst/{riff,rtp,rtsp,sdp,tag,video}, and
|
---|
211 | /usr/share/gst-plugins-base
|
---|
212 | </seg>
|
---|
213 | </seglistitem>
|
---|
214 | </segmentedlist>
|
---|
215 |
|
---|
216 | <variablelist>
|
---|
217 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
218 | <?dbfo list-presentation="list"?>
|
---|
219 | <?dbhtml list-presentation="table"?>
|
---|
220 |
|
---|
221 | <varlistentry id="gst-device-monitor-1.0">
|
---|
222 | <term><command>gst-device-monitor-1.0</command></term>
|
---|
223 | <listitem>
|
---|
224 | <para>
|
---|
225 | is a command line tool that can be used to test
|
---|
226 | GStreamer's device monitoring functionality
|
---|
227 | </para>
|
---|
228 | <indexterm zone="gst10-plugins-base gst-device-monitor-1.0">
|
---|
229 | <primary sortas="b-gst-device-monitor-1.0">gst-device-monitor-1.0</primary>
|
---|
230 | </indexterm>
|
---|
231 | </listitem>
|
---|
232 | </varlistentry>
|
---|
233 |
|
---|
234 | <varlistentry id="gst-discoverer-1.0">
|
---|
235 | <term><command>gst-discoverer-1.0</command></term>
|
---|
236 | <listitem>
|
---|
237 | <para>
|
---|
238 | is a tool that can be used to print basic metadata and
|
---|
239 | stream information about a media file
|
---|
240 | </para>
|
---|
241 | <indexterm zone="gst10-plugins-base gst-discoverer-1.0">
|
---|
242 | <primary sortas="b-gst-discoverer-1.0">gst-discoverer-1.0</primary>
|
---|
243 | </indexterm>
|
---|
244 | </listitem>
|
---|
245 | </varlistentry>
|
---|
246 |
|
---|
247 | <varlistentry id="gst-play-1.0">
|
---|
248 | <term><command>gst-play-1.0</command></term>
|
---|
249 | <listitem>
|
---|
250 | <para>
|
---|
251 | is a command line tool that can be used to test basic
|
---|
252 | playback using the playbin element
|
---|
253 | </para>
|
---|
254 | <indexterm zone="gst10-plugins-base gst-play-1.0">
|
---|
255 | <primary sortas="b-gst-play-1.0">gst-play-1.0</primary>
|
---|
256 | </indexterm>
|
---|
257 | </listitem>
|
---|
258 | </varlistentry>
|
---|
259 |
|
---|
260 | </variablelist>
|
---|
261 |
|
---|
262 | </sect2>
|
---|
263 |
|
---|
264 | </sect1>
|
---|