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 gstreamer10-download-http "&gstreamer-dl;/gstreamer/gstreamer-&gstreamer10-version;.tar.xz">
|
---|
8 | <!ENTITY gstreamer10-download-ftp " ">
|
---|
9 | <!ENTITY gstreamer10-md5sum "b138307f1f84ed3a77a22a337e2af398">
|
---|
10 | <!ENTITY gstreamer10-size "1.7 MB">
|
---|
11 | <!ENTITY gstreamer10-buildsize "48 MB (with tests)">
|
---|
12 | <!ENTITY gstreamer10-time "0.3 SBU (Using parallelism=4; with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gstreamer10" xreflabel="gstreamer-&gstreamer10-version;">
|
---|
16 | <?dbhtml filename="gstreamer10.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>gstreamer-&gstreamer10-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="gstreamer10">
|
---|
22 | <primary sortas="a-gstreamer">gstreamer</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to gstreamer</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | <application>gstreamer</application> is a streaming media framework that
|
---|
30 | enables applications to share a common set of plugins for tasks such as
|
---|
31 | video encoding and decoding, audio encoding and decoding, audio and video
|
---|
32 | filters, audio visualisation, web streaming and anything else that
|
---|
33 | streams in real-time or otherwise. This package only provides base
|
---|
34 | functionality and libraries. You may need at least <xref
|
---|
35 | linkend="gst10-plugins-base"/> and one of Good, Bad, Ugly or Libav
|
---|
36 | plugins.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs120_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&gstreamer10-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&gstreamer10-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &gstreamer10-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &gstreamer10-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &gstreamer10-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &gstreamer10-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 | <!--
|
---|
75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
76 | <itemizedlist spacing="compact">
|
---|
77 | <listitem>
|
---|
78 | <para>
|
---|
79 | Required patch: <ulink
|
---|
80 | url="&patch-root;/gstreamer-&gstreamer10-version;-buffer_size_reset_fix-1.patch"/>
|
---|
81 | </para>
|
---|
82 | </listitem>
|
---|
83 | </itemizedlist>
|
---|
84 | -->
|
---|
85 | <bridgehead renderas="sect3">gstreamer Dependencies</bridgehead>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
88 | <para role="required">
|
---|
89 | <xref linkend="glib2"/>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <!-- Required for GNOME -->
|
---|
93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
94 | <para role="recommended">
|
---|
95 | <xref linkend="gobject-introspection"/>
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
99 | <para role="optional">
|
---|
100 | <xref linkend="gtk3"/> (for examples),
|
---|
101 | <xref linkend="gsl"/> (used by one test if installed),
|
---|
102 | <xref linkend="libunwind"/>,
|
---|
103 | <xref linkend="valgrind"/>,
|
---|
104 | <ulink url="https://github.com/scop/bash-completion/">bash-completion</ulink>,
|
---|
105 | <ulink url="https://pypi.org/project/hotdoc/">hotdoc</ulink>, and
|
---|
106 | <ulink url="https://sourceware.org/elfutils/">libdw</ulink>
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="installation">
|
---|
112 | <title>Installation of gstreamer</title>
|
---|
113 | <!--
|
---|
114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
115 | href="../../xincludes/gst10-objc-error.xml"/>
|
---|
116 | -->
|
---|
117 | <para>
|
---|
118 | Install <application>gstreamer</application> by running the following
|
---|
119 | commands:
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <screen><userinput>mkdir build &&
|
---|
123 | cd build &&
|
---|
124 |
|
---|
125 | meson setup .. \
|
---|
126 | --prefix=/usr \
|
---|
127 | --buildtype=release \
|
---|
128 | -Dgst_debug=false \
|
---|
129 | -Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/&blfs-version;/ \
|
---|
130 | -Dpackage-name="GStreamer &gstreamer10-version; BLFS" &&
|
---|
131 | ninja</userinput></screen>
|
---|
132 |
|
---|
133 | <para>
|
---|
134 | To test the results, issue: <command>ninja test</command>.
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <caution>
|
---|
138 | <para>
|
---|
139 | If you are reinstalling <application>gstreamer</application> from a
|
---|
140 | previous version, it is best if you remove the prior version, including
|
---|
141 | plugins, before installing the new version. If there is a mixture of
|
---|
142 | versions installed, using processes may hang or not work properly. As
|
---|
143 | the <systemitem class="username">root</systemitem> user:
|
---|
144 | </para>
|
---|
145 |
|
---|
146 | <screen role="nodump"><userinput>rm -rf /usr/bin/gst-* /usr/{lib,libexec}/gstreamer-1.0</userinput></screen>
|
---|
147 | </caution>
|
---|
148 |
|
---|
149 | <para>
|
---|
150 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
151 | </para>
|
---|
152 |
|
---|
153 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
154 |
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | <sect2 role="commands">
|
---|
158 | <title>Command Explanations</title>
|
---|
159 |
|
---|
160 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
161 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
162 | </sect2>
|
---|
163 |
|
---|
164 | <sect2 role="content">
|
---|
165 | <title>Contents</title>
|
---|
166 |
|
---|
167 | <segmentedlist>
|
---|
168 | <segtitle>Installed Programs</segtitle>
|
---|
169 | <segtitle>Installed Libraries</segtitle>
|
---|
170 | <segtitle>Installed Directories</segtitle>
|
---|
171 |
|
---|
172 | <seglistitem>
|
---|
173 | <seg>
|
---|
174 | gst-inspect-1.0, gst-launch-1.0, gst-stats-1.0, gst-tester-1.0,
|
---|
175 | and gst-typefind-1.0
|
---|
176 | </seg>
|
---|
177 | <seg>
|
---|
178 | libgstbase-1.0.so, libgstcheck-1.0.so, libgstcontroller-1.0.so,
|
---|
179 | libgstnet-1.0.so, and libgstreamer-1.0.so
|
---|
180 | </seg>
|
---|
181 | <seg>
|
---|
182 | /usr/{include,lib,libexec,share}/gstreamer-1.0
|
---|
183 | </seg>
|
---|
184 | </seglistitem>
|
---|
185 | </segmentedlist>
|
---|
186 |
|
---|
187 | <variablelist>
|
---|
188 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
189 | <?dbfo list-presentation="list"?>
|
---|
190 | <?dbhtml list-presentation="table"?>
|
---|
191 |
|
---|
192 | <varlistentry id="gst-inspect-1.0">
|
---|
193 | <term><command>gst-inspect-1.0</command></term>
|
---|
194 | <listitem>
|
---|
195 | <para>
|
---|
196 | is a tool that prints out information on available
|
---|
197 | <application>gstreamer</application> plugins,
|
---|
198 | information about a particular plugin, or information
|
---|
199 | about a particular element
|
---|
200 | </para>
|
---|
201 | <indexterm zone="gstreamer10 gst-inspect-1.0">
|
---|
202 | <primary sortas="b-gst-inspect-1.0">gst-inspect-1.0</primary>
|
---|
203 | </indexterm>
|
---|
204 | </listitem>
|
---|
205 | </varlistentry>
|
---|
206 |
|
---|
207 | <varlistentry id="gst-launch-1.0">
|
---|
208 | <term><command>gst-launch-1.0</command></term>
|
---|
209 | <listitem>
|
---|
210 | <para>
|
---|
211 | is a tool that builds and runs basic
|
---|
212 | <application>gstreamer</application> pipelines
|
---|
213 | </para>
|
---|
214 | <indexterm zone="gstreamer10 gst-launch-1.0">
|
---|
215 | <primary sortas="b-gst-launch-1.0">gst-launch-1.0</primary>
|
---|
216 | </indexterm>
|
---|
217 | </listitem>
|
---|
218 | </varlistentry>
|
---|
219 |
|
---|
220 | <varlistentry id="gst-stats-1.0">
|
---|
221 | <term><command>gst-stats-1.0</command></term>
|
---|
222 | <listitem>
|
---|
223 | <para>
|
---|
224 | is a tool used to gather statistics about
|
---|
225 | <application>gstreamer</application> operations
|
---|
226 | </para>
|
---|
227 | <indexterm zone="gstreamer10 gst-stats-1.0">
|
---|
228 | <primary sortas="b-gst-stats-1.0">gst-stats-1.0</primary>
|
---|
229 | </indexterm>
|
---|
230 | </listitem>
|
---|
231 | </varlistentry>
|
---|
232 |
|
---|
233 | <varlistentry id="gst-tester-1.0">
|
---|
234 | <term><command>gst-tester-1.0</command></term>
|
---|
235 | <listitem>
|
---|
236 | <para>
|
---|
237 | runs a test plan in TAP compatible format while integrating with
|
---|
238 | the meson test harness
|
---|
239 | </para>
|
---|
240 | <indexterm zone="gstreamer10 gst-tester-1.0">
|
---|
241 | <primary sortas="b-gst-tester-1.0">gst-tester-1.0</primary>
|
---|
242 | </indexterm>
|
---|
243 | </listitem>
|
---|
244 | </varlistentry>
|
---|
245 |
|
---|
246 | <varlistentry id="gst-typefind-1.0">
|
---|
247 | <term><command>gst-typefind-1.0</command></term>
|
---|
248 | <listitem>
|
---|
249 | <para>
|
---|
250 | uses the <application>gstreamer</application> type finding system
|
---|
251 | to determine the relevant <application>gstreamer</application>
|
---|
252 | plugin to parse or decode files, and the corresponding MIME type
|
---|
253 | </para>
|
---|
254 | <indexterm zone="gstreamer10 gst-typefind-1.0">
|
---|
255 | <primary sortas="b-gst-typefind-1.0">gst-typefind-1.0</primary>
|
---|
256 | </indexterm>
|
---|
257 | </listitem>
|
---|
258 | </varlistentry>
|
---|
259 |
|
---|
260 | <varlistentry id="libgstbase-1.0">
|
---|
261 | <term><filename class="libraryfile">libgstbase-1.0.so</filename></term>
|
---|
262 | <listitem>
|
---|
263 | <para>
|
---|
264 | provides some base classes to be extended by elements and utility
|
---|
265 | classes that are most useful for plugin developers
|
---|
266 | </para>
|
---|
267 | <indexterm zone="gstreamer10 libgstbase-1.0">
|
---|
268 | <primary sortas="c-libgstbase-1.0">libgstbase-1.0.so</primary>
|
---|
269 | </indexterm>
|
---|
270 | </listitem>
|
---|
271 | </varlistentry>
|
---|
272 |
|
---|
273 | <varlistentry id="libgstcheck-1.0">
|
---|
274 | <term><filename class="libraryfile">libgstcheck-1.0.so</filename></term>
|
---|
275 | <listitem>
|
---|
276 | <para>
|
---|
277 | provides functionality for writing unit tests that use the check
|
---|
278 | framework
|
---|
279 | </para>
|
---|
280 | <indexterm zone="gstreamer10 libgstcheck-1.0">
|
---|
281 | <primary sortas="c-libgstcheck-1.0">libgstcheck-1.0.so</primary>
|
---|
282 | </indexterm>
|
---|
283 | </listitem>
|
---|
284 | </varlistentry>
|
---|
285 |
|
---|
286 | <varlistentry id="libgstcontroller-1.0">
|
---|
287 | <term><filename class="libraryfile">libgstcontroller-1.0.so</filename></term>
|
---|
288 | <listitem>
|
---|
289 | <para>
|
---|
290 | provides functionality to animate element properties over time
|
---|
291 | </para>
|
---|
292 | <indexterm zone="gstreamer10 libgstcontroller-1.0">
|
---|
293 | <primary sortas="c-libgstcontroller-1.0">libgstcontroller-1.0.so</primary>
|
---|
294 | </indexterm>
|
---|
295 | </listitem>
|
---|
296 | </varlistentry>
|
---|
297 |
|
---|
298 | <varlistentry id="libgstnet-1.0">
|
---|
299 | <term><filename class="libraryfile">libgstnet-1.0.so</filename></term>
|
---|
300 | <listitem>
|
---|
301 | <para>
|
---|
302 | provides network elements and objects
|
---|
303 | </para>
|
---|
304 | <indexterm zone="gstreamer10 libgstnet-1.0">
|
---|
305 | <primary sortas="c-libgstnet-1.0">libgstnet-1.0.so</primary>
|
---|
306 | </indexterm>
|
---|
307 | </listitem>
|
---|
308 | </varlistentry>
|
---|
309 |
|
---|
310 | <varlistentry id="libgstreamer-1.0">
|
---|
311 | <term><filename class="libraryfile">libgstreamer-1.0.so</filename></term>
|
---|
312 | <listitem>
|
---|
313 | <para>
|
---|
314 | provides all of the core <application>gstreamer</application>
|
---|
315 | services, including initialization, plugin management and types,
|
---|
316 | as well as the object hierarchy that defines elements and bins,
|
---|
317 | along with some more specialized elements
|
---|
318 | </para>
|
---|
319 | <indexterm zone="gstreamer10 libgstreamer-1.0">
|
---|
320 | <primary sortas="c-libgstreamer-1.0">libgstreamer-1.0.so</primary>
|
---|
321 | </indexterm>
|
---|
322 | </listitem>
|
---|
323 | </varlistentry>
|
---|
324 |
|
---|
325 | </variablelist>
|
---|
326 |
|
---|
327 | </sect2>
|
---|
328 |
|
---|
329 | </sect1>
|
---|