1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 "68b29aaae4de05e0c484ce7714ef5d0c">
|
---|
11 | <!ENTITY gst10-plugins-base-size "2.3 MB">
|
---|
12 | <!ENTITY gst10-plugins-base-buildsize "99 MB (with tests)">
|
---|
13 | <!ENTITY gst10-plugins-base-time "0.8 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 |
|
---|
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
|
---|
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.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs122_checked;
|
---|
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">
|
---|
78 | <xref linkend="gstreamer10"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
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"/>,
|
---|
87 | <xref linkend="cdparanoia"/> (for building the CDDA plugin),
|
---|
88 | &gobject-introspection;,
|
---|
89 | <xref linkend="iso-codes"/>,
|
---|
90 | <xref linkend="libgudev"/>,
|
---|
91 | <xref linkend="libjpeg"/>,
|
---|
92 | <xref linkend="libogg"/>,
|
---|
93 | <xref linkend="libpng"/>,
|
---|
94 | <xref linkend="libvorbis"/>,
|
---|
95 | <xref linkend="mesa"/>,
|
---|
96 | <xref linkend="pango"/>,
|
---|
97 | <xref linkend="wayland-protocols"/>, and
|
---|
98 | <xref linkend="xorg7-lib"/>
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
102 | <para role="optional">
|
---|
103 | <xref linkend="graphene"/>,
|
---|
104 | <xref linkend="gtk3"/> (for examples),
|
---|
105 | <!--<xref linkend="libtheora"/>,-->
|
---|
106 | <xref linkend="opus"/>,
|
---|
107 | <xref linkend="sdl2"/>,
|
---|
108 | <xref linkend="valgrind"/>,
|
---|
109 | <ulink url="https://pypi.org/project/hotdoc">hotdoc</ulink>,
|
---|
110 | <ulink url="http://www.theora.org">libtheora</ulink>,
|
---|
111 | <ulink url="http://libvisual.org/">libvisual</ulink>,
|
---|
112 | <ulink url="https://gstreamer.freedesktop.org/src/orc/">Orc</ulink>, and
|
---|
113 | <ulink url="https://wiki.xiph.org/Tremor">Tremor</ulink>
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="installation">
|
---|
119 | <title>Installation of GStreamer Base Plug-ins</title>
|
---|
120 | <!--
|
---|
121 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
122 | href="../../xincludes/gst10-objc-error.xml"/>
|
---|
123 | -->
|
---|
124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
125 | href="../../xincludes/gst10-plugins.xml"/>
|
---|
126 |
|
---|
127 | <para>
|
---|
128 | Install <application>GStreamer Base Plug-ins</application> by running the
|
---|
129 | following commands:
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <screen><userinput>mkdir build &&
|
---|
133 | cd build &&
|
---|
134 |
|
---|
135 | meson setup .. \
|
---|
136 | --prefix=/usr \
|
---|
137 | --buildtype=release \
|
---|
138 | --wrap-mode=nodownload &&
|
---|
139 | ninja</userinput></screen>
|
---|
140 |
|
---|
141 | <para>
|
---|
142 | To test the results, issue: <command>ninja test</command>. The tests
|
---|
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
|
---|
145 | hardware and speed. One test, <filename>elements_appsrc</filename>, is
|
---|
146 | known to fail on some systems.
|
---|
147 | </para>
|
---|
148 |
|
---|
149 | <note>
|
---|
150 | <para>
|
---|
151 | When installing, the build process does some additional
|
---|
152 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
153 | variable needs to be defined for the root user. If
|
---|
154 | using sudo to assume root, use the -E option to pass
|
---|
155 | your current environment variables for the install process.
|
---|
156 | </para>
|
---|
157 | </note>
|
---|
158 |
|
---|
159 | <para>
|
---|
160 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
161 | </para>
|
---|
162 |
|
---|
163 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
164 | </sect2>
|
---|
165 |
|
---|
166 | <sect2 role="commands">
|
---|
167 | <title>Command Explanations</title>
|
---|
168 |
|
---|
169 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
170 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
171 |
|
---|
172 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
173 | href="../../xincludes/meson-wrap-nodownload.xml"/>
|
---|
174 |
|
---|
175 | </sect2>
|
---|
176 |
|
---|
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>
|
---|
187 | gst-device-monitor-1.0,
|
---|
188 | gst-discoverer-1.0, and
|
---|
189 | gst-play-1.0
|
---|
190 | </seg>
|
---|
191 | <seg>
|
---|
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,
|
---|
204 | and several plugins under /usr/lib/gstreamer-1.0
|
---|
205 | </seg>
|
---|
206 | <seg>
|
---|
207 | /usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,gl,pbutils},
|
---|
208 | /usr/include/gstreamer-1.0/gst/{riff,rtp,rtsp,sdp,tag,video}, and
|
---|
209 | /usr/share/gst-plugins-base
|
---|
210 | </seg>
|
---|
211 | </seglistitem>
|
---|
212 | </segmentedlist>
|
---|
213 |
|
---|
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
|
---|
237 | stream information about a media file
|
---|
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
|
---|
250 | playback using the playbin element
|
---|
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 |
|
---|
260 | </sect2>
|
---|
261 |
|
---|
262 | </sect1>
|
---|