source: multimedia/libdriv/gstreamer.xml@ b9b17d1b

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 b9b17d1b was c0135e8c, checked in by Krejzi <krejzi@…>, 12 years ago

Mark some packages as 7.2 checked. Part 6 - Multimedia.

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