source: multimedia/libdriv/gstreamer.xml@ 457568e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 457568e was 058a3280, checked in by Krejzi <krejzi@…>, 12 years ago

Some book fixes.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10713 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 11.6 KB
Line 
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 gstreamer-download-http "&gnome-download-http;/gstreamer/0.10/gstreamer-&gstreamer-version;.tar.xz">
8 <!ENTITY gstreamer-download-ftp "&gnome-download-ftp;/gstreamer/0.10/gstreamer-&gstreamer-version;.tar.xz">
9 <!ENTITY gstreamer-md5sum "15389c73e091b1dda915279c388b9cb2">
10 <!ENTITY gstreamer-size "2.9 MB">
11 <!ENTITY gstreamer-buildsize "90 MB">
12 <!ENTITY gstreamer-time "1.2 SBU">
13]>
14
15<sect1 id="gstreamer" xreflabel="GStreamer-&gstreamer-version;">
16 <?dbhtml filename="gstreamer.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>GStreamer-&gstreamer-version;</title>
24
25 <indexterm zone="gstreamer">
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 decoding and encoding, audio encoding and decoding, audio and video
36 filters, audio visualisation, Web streaming and anything else that streams
37 in real-time or otherwise. It is modelled after research software worked
38 on at the Oregon Graduate Institute. After installing
39 <application>GStreamer</application>, you'll likely need to install one or
40 more of the <xref linkend="gst-plugins-bad"/>,
41 <xref linkend="gst-plugins-good"/>, <xref linkend="gst-plugins-ugly"/> and
42 <xref linkend="gst-ffmpeg"/> packages.
43 </para>
44
45 &lfs72_checked;
46
47 &gst-compat;
48
49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
52 <para>
53 Download (HTTP): <ulink url="&gstreamer-download-http;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download (FTP): <ulink url="&gstreamer-download-ftp;"/>
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download MD5 sum: &gstreamer-md5sum;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Download size: &gstreamer-size;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated disk space required: &gstreamer-buildsize;
74 </para>
75 </listitem>
76 <listitem>
77 <para>
78 Estimated build time: &gstreamer-time;
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">GStreamer Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="glib2"/> and
88 <xref linkend="libxml2"/>
89 </para>
90
91 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
92 <para role="optional">
93 <xref linkend="gobject-introspection"/>
94 </para>
95
96 <bridgehead renderas="sect4">Optional</bridgehead>
97 <para role="optional">
98 <xref linkend="gsl"/>,
99 <ulink url="http://www.valgrind.org/">Valgrind</ulink>
100 (optionaly used during the unit regression tests)
101 </para>
102
103 <bridgehead renderas="sect4">
104 Optional (Required to rebuild the API Documentation)
105 </bridgehead>
106 <para role="optional">
107 <xref linkend="gtk-doc"/> and
108 <xref linkend="python2"/> (compiled against an XML Parser such as
109 <xref linkend="expat"/>).
110 </para>
111
112 <bridgehead renderas="sect4">Optional (Required to Build Manuals)</bridgehead>
113 <para role="optional">
114 <xref linkend="docbook-utils"/>,
115 <xref linkend="gs"/>
116 <xref linkend="libxslt"/> and
117 <xref linkend="texlive"/>
118 </para>
119
120 <para condition="html" role="usernotes">User Notes:
121 <ulink url="&blfs-wiki;/gstreamer"/>
122 </para>
123 </sect2>
124
125 <sect2 role="installation">
126 <title>Installation of GStreamer</title>
127
128 <para>
129 Install <application>GStreamer</application> by running the following
130 commands:
131 </para>
132
133<screen><userinput>sed -i 's/\(.*gtkdoc-rebase --relative.* \)\(;.*\)/\1|| true\2/' \
134 docs/{gst,libs}/Makefile.in &amp;&amp;
135./configure --prefix=/usr \
136 --libexecdir=/usr/lib \
137 --disable-static &amp;&amp;
138make</userinput></screen>
139
140 <para>
141 To test the results, issue: <command>make check</command>. There are
142 many other <filename>Makefile</filename> targets you can specify for
143 running the tests, issue <command>make -C tests/check help</command>
144 to see the complete list.
145 </para>
146
147 <para>
148 Now, as the <systemitem class="username">root</systemitem> user:
149 </para>
150
151<screen role="root"><userinput>make install &amp;&amp;
152install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &amp;&amp;
153install -v -m644 docs/design/*.txt \
154 /usr/share/doc/gstreamer-0.10/design &amp;&amp;
155
156if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
157 chown -v -R root:root \
158 /usr/share/doc/gstreamer-0.10/*/html
159fi</userinput></screen>
160
161 <sect3>
162 <title>Testing the Installation</title>
163
164 <para>
165 To test the functionality of the
166 <application>GStreamer</application> installation, you can run a
167 simple test as an unprivileged user (you may have to run
168 <command>ldconfig</command> as the
169 <systemitem class="username">root</systemitem> user before
170 attempting the test).
171 </para>
172
173<screen><userinput>gst-launch -v fakesrc num_buffers=5 ! fakesink</userinput></screen>
174
175 <para>
176 If the command outputs a series of messages from fakesrc and
177 fakesink, everything is okay.
178 </para>
179
180 </sect3>
181
182 </sect2>
183
184 <sect2 role="commands">
185 <title>Command Explanations</title>
186
187 <para>
188 <command>sed -i 's/\(.*gtkdoc-rebase --relative.* \)\(;.*\)/\1|| true\2/' \
189 docs/{gst,libs}/Makefile.in</command>: Two of the Makefiles test if
190 <command>gtkdoc-rebase</command> is present, and only use it if it is,
191 but the test <command>which gtk-doc</command> is interpreted as an error by
192 <command>make</command> if <command>gtkdoc-rebase</command> is not present.
193 The <command>sed</command> command ensures the command is always regarded as
194 successful.
195 </para>
196
197 <para>
198 <parameter>--libexecdir=/usr/lib</parameter>: This parameter is used
199 so that the <application>GStreamer</application> internal support programs
200 are installed in the preferred location of <filename
201 class="directory">/usr/lib/gstreamer-0.10</filename> instead of <filename
202 class="directory">/usr/libexec/gstreamer-0.10</filename>.
203 </para>
204
205 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
206 href="../../xincludes/static-libraries.xml"/>
207
208 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
209 href="../../xincludes/gtk-doc-rebuild.xml"/>
210
211 <para>
212 <option>--enable-docbook</option>: This parameter is used to build
213 HTML, PDF and PostScript versions of the
214 <application>GStreamer</application> User's Manual, FAQ and Writer's
215 Guide. Note that you must have all the listed dependencies installed.
216 </para>
217
218 <para>
219 <command>chown -v -R root:root ...</command>: The documentation is
220 installed with ownerships of the user who untarred and built the
221 package. This command changes the ownerships of the installed
222 documentation files to root:root and is only executed if the
223 documentation files were built and installed.
224 </para>
225
226 </sect2>
227
228 <sect2 role="content">
229 <title>Contents</title>
230
231 <segmentedlist>
232 <segtitle>Installed Programs</segtitle>
233 <segtitle>Installed Libraries</segtitle>
234 <segtitle>Installed Directories</segtitle>
235
236 <seglistitem>
237 <seg>
238 gst-feedback, gst-feedback-0.10, gst-inspect, gst-inspect-0.10,
239 gst-launch, gst-launch-0.10, gst-typefind, gst-typefind-0.10,
240 gst-xmlinspect, gst-xmlinspect-0.10, gst-xmllaunch and
241 gst-xmllaunch-0.10
242 </seg>
243 <seg>
244 libgstbase-0.10.so, libgstcheck-0.10.so, libgstcontroller-0.10.so,
245 libgstdataprotocol-0.10.so, libgstnet-0.10.so and
246 libgstreamer-0.10.so
247 </seg>
248 <seg>
249 /usr/include/gstreamer-0.10,
250 /usr/lib/gstreamer-0.10,
251 /usr/share/gtk-doc/html/gstreamer-0.10,
252 /usr/share/gtk-doc/html/gstreamer-libs-0.10 and
253 /usr/share/gtk-doc/html/gstreamer-plugins-0.10
254 </seg>
255 </seglistitem>
256 </segmentedlist>
257
258 <variablelist>
259 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
260 <?dbfo list-presentation="list"?>
261 <?dbhtml list-presentation="table"?>
262
263 <varlistentry id="gst-feedback">
264 <term><command>gst-feedback-0.10</command></term>
265 <listitem>
266 <para>
267 generates debug info for <application>GStreamer</application>
268 bug reports.
269 </para>
270 <indexterm zone="gstreamer gst-feedback">
271 <primary sortas="b-gst-feedback">gst-feedback-0.10</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="gst-inspect">
277 <term><command>gst-inspect-0.10</command></term>
278 <listitem>
279 <para>
280 prints information about a
281 <application>GStreamer</application> plugin or element.
282 </para>
283 <indexterm zone="gstreamer gst-inspect">
284 <primary sortas="b-gst-inspect">gst-inspect-0.10</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="gst-launch">
290 <term><command>gst-launch-0.10</command></term>
291 <listitem>
292 <para>
293 is a tool that builds and runs basic
294 <application>GStreamer</application> pipelines.
295 </para>
296 <indexterm zone="gstreamer gst-launch">
297 <primary sortas="b-gst-launch">gst-launch-0.10</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 <varlistentry id="gst-typefind">
303 <term><command>gst-typefind-0.10</command></term>
304 <listitem>
305 <para>
306 uses the <application>GStreamer</application> type finding system
307 to determine the relevant <application>GStreamer</application>
308 plugin to parse or decode a file, and determine the corresponding
309 MIME type.
310 </para>
311 <indexterm zone="gstreamer gst-typefind">
312 <primary sortas="b-gst-typefind">gst-typefind-0.10</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="gst-xmlinspect">
318 <term><command>gst-xmlinspect-0.10</command></term>
319 <listitem>
320 <para>
321 prints information about a <application>GStreamer</application>
322 plugin or element in XML document format.
323 </para>
324 <indexterm zone="gstreamer gst-xmlinspect">
325 <primary sortas="b-gst-xmlinspect">gst-xmlinspect-0.10</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry id="gst-xmllaunch">
331 <term><command>gst-xmllaunch-0.10</command></term>
332 <listitem>
333 <para>
334 is used to build and run a basic <application>GStreamer</application>
335 pipeline, loading it from an XML description.
336 </para>
337 <indexterm zone="gstreamer gst-xmllaunch">
338 <primary sortas="b-gst-xmllaunch">gst-xmllaunch-0.10</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 </variablelist>
344
345 </sect2>
346
347</sect1>
Note: See TracBrowser for help on using the repository browser.