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