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 "cc16aeaefdfd3917e009412a22d07fac">
|
---|
11 | <!ENTITY gst10-plugins-base-size "2.3 MB">
|
---|
12 | <!ENTITY gst10-plugins-base-buildsize "95 MB (with tests)">
|
---|
13 | <!ENTITY gst10-plugins-base-time "0.6 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 | &lfs120_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 | <xref linkend="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="libtheora"/>,
|
---|
95 | <xref linkend="libvorbis"/>,
|
---|
96 | <xref linkend="mesa"/>,
|
---|
97 | <xref linkend="pango"/>,
|
---|
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 | &qt5-deps; (for examples),
|
---|
108 | <xref linkend="sdl2"/>,
|
---|
109 | <xref linkend="valgrind"/>,
|
---|
110 | <ulink url="https://pypi.org/project/hotdoc">hotdoc</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 | -Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/&blfs-version;/ \
|
---|
140 | -Dpackage-name="GStreamer &gst10-plugins-base-version; BLFS" &&
|
---|
141 | ninja</userinput></screen>
|
---|
142 |
|
---|
143 | <para>
|
---|
144 | To test the results, issue: <command>ninja test</command>. The tests
|
---|
145 | require an X terminal running, or all of the GL tests will fail. Five
|
---|
146 | tests may produce timeouts on some systems depending on their graphics
|
---|
147 | hardware and speed.
|
---|
148 | </para>
|
---|
149 |
|
---|
150 | <note>
|
---|
151 | <para>
|
---|
152 | When installing, the build process does some additional
|
---|
153 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
154 | variable needs to be defined for the root user. If
|
---|
155 | using sudo to assume root, use the -E option to pass
|
---|
156 | your current environment variables for the install process.
|
---|
157 | </para>
|
---|
158 | </note>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
162 | </para>
|
---|
163 |
|
---|
164 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
165 | </sect2>
|
---|
166 |
|
---|
167 | <sect2 role="commands">
|
---|
168 | <title>Command Explanations</title>
|
---|
169 |
|
---|
170 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
171 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
172 |
|
---|
173 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
174 | href="../../xincludes/meson-wrap-nodownload.xml"/>
|
---|
175 |
|
---|
176 | </sect2>
|
---|
177 |
|
---|
178 | <sect2 role="content">
|
---|
179 | <title>Contents</title>
|
---|
180 |
|
---|
181 | <segmentedlist>
|
---|
182 | <segtitle>Installed Programs</segtitle>
|
---|
183 | <segtitle>Installed Libraries</segtitle>
|
---|
184 | <segtitle>Installed Directories</segtitle>
|
---|
185 |
|
---|
186 | <seglistitem>
|
---|
187 | <seg>
|
---|
188 | gst-device-monitor-1.0, gst-discoverer-1.0, and gst-play-1.0
|
---|
189 | </seg>
|
---|
190 | <seg>
|
---|
191 | libgstallocators-1.0.so, libgstapp-1.0.so, libgstaudio-1.0.so,
|
---|
192 | libgstfft-1.0.so, libgstgl-1.0.so, libgstpbutils-1.0.so,
|
---|
193 | libgstriff-1.0.so, libgstrtp-1.0.so, libgstrtsp-1.0.so,
|
---|
194 | libgstsdp-1.0.so, libgsttag-1.0.so, libgstvideo-1.0.so,
|
---|
195 | and several plugins under /usr/lib/gstreamer-1.0
|
---|
196 | </seg>
|
---|
197 | <seg>
|
---|
198 | /usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,gl,pbutils},
|
---|
199 | /usr/include/gstreamer-1.0/gst/{riff,rtp,rtsp,sdp,tag,video}, and
|
---|
200 | /usr/share/gst-plugins-base
|
---|
201 | </seg>
|
---|
202 | </seglistitem>
|
---|
203 | </segmentedlist>
|
---|
204 |
|
---|
205 | <variablelist>
|
---|
206 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
207 | <?dbfo list-presentation="list"?>
|
---|
208 | <?dbhtml list-presentation="table"?>
|
---|
209 |
|
---|
210 | <varlistentry id="gst-device-monitor-1.0">
|
---|
211 | <term><command>gst-device-monitor-1.0</command></term>
|
---|
212 | <listitem>
|
---|
213 | <para>
|
---|
214 | is a command line tool that can be used to test
|
---|
215 | GStreamer's device monitoring functionality
|
---|
216 | </para>
|
---|
217 | <indexterm zone="gst10-plugins-base gst-device-monitor-1.0">
|
---|
218 | <primary sortas="b-gst-device-monitor-1.0">gst-device-monitor-1.0</primary>
|
---|
219 | </indexterm>
|
---|
220 | </listitem>
|
---|
221 | </varlistentry>
|
---|
222 |
|
---|
223 | <varlistentry id="gst-discoverer-1.0">
|
---|
224 | <term><command>gst-discoverer-1.0</command></term>
|
---|
225 | <listitem>
|
---|
226 | <para>
|
---|
227 | is a tool that can be used to print basic metadata and
|
---|
228 | stream information about a media file
|
---|
229 | </para>
|
---|
230 | <indexterm zone="gst10-plugins-base gst-discoverer-1.0">
|
---|
231 | <primary sortas="b-gst-discoverer-1.0">gst-discoverer-1.0</primary>
|
---|
232 | </indexterm>
|
---|
233 | </listitem>
|
---|
234 | </varlistentry>
|
---|
235 |
|
---|
236 | <varlistentry id="gst-play-1.0">
|
---|
237 | <term><command>gst-play-1.0</command></term>
|
---|
238 | <listitem>
|
---|
239 | <para>
|
---|
240 | is a command line tool that can be used to test basic
|
---|
241 | playback using the playbin element
|
---|
242 | </para>
|
---|
243 | <indexterm zone="gst10-plugins-base gst-play-1.0">
|
---|
244 | <primary sortas="b-gst-play-1.0">gst-play-1.0</primary>
|
---|
245 | </indexterm>
|
---|
246 | </listitem>
|
---|
247 | </varlistentry>
|
---|
248 |
|
---|
249 | </variablelist>
|
---|
250 |
|
---|
251 | </sect2>
|
---|
252 |
|
---|
253 | </sect1>
|
---|