source: multimedia/libdriv/gstreamer.xml@ dba1367

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 dba1367 was c866109, checked in by Randy McMurchy <randy@…>, 18 years ago

Added notes to the GStreamer and GST Plugin instructions about the various different plug-in packages available

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

  • Property mode set to 100644
File size: 10.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY gstreamer-download-http "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-&gstreamer-version;.tar.bz2">
8 <!ENTITY gstreamer-download-ftp "&gnome-download-ftp;/gstreamer/0.10/gstreamer-&gstreamer-version;.tar.bz2">
9 <!ENTITY gstreamer-md5sum "a094ea86d4cea4f23ef2eb8c6e7bfc10">
10 <!ENTITY gstreamer-size "1.6 MB">
11 <!ENTITY gstreamer-buildsize "65.3 MB">
12 <!ENTITY gstreamer-time "1.6 SBU (includes building manuals, additional 1.1 SBU to rebuild API docs and 0.5 SBU to run the test suite)">
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>The <application>GStreamer</application> package contains a streaming
33 media framework that enables applications to share a common set of plugins for
34 things like video decoding and encoding, audio encoding and decoding, audio
35 and video filters, audio visualisation, Web streaming and anything else that
36 streams in real-time or otherwise. It is modelled after research software
37 worked on at the Oregon Graduate Institute. After installing
38 <application>GStreamer</application>, you'll likely need to install
39 one or more of the <xref linkend="gst-plugins-good"/>,
40 <xref linkend="gst-plugins-ugly"/>, <ulink
41 url="http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html">GStreamer
42 Bad Plug-ins</ulink> and <ulink
43 url="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html">GStreamer
44 FFmpeg plug-in</ulink> packages.</para>
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>Download (HTTP): <ulink url="&gstreamer-download-http;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download (FTP): <ulink url="&gstreamer-download-ftp;"/></para>
53 </listitem>
54 <listitem>
55 <para>Download MD5 sum: &gstreamer-md5sum;</para>
56 </listitem>
57 <listitem>
58 <para>Download size: &gstreamer-size;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated disk space required: &gstreamer-buildsize;</para>
62 </listitem>
63 <listitem>
64 <para>Estimated build time: &gstreamer-time;</para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">GStreamer Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Required</bridgehead>
71 <para role="required"><xref linkend="glib2"/> and
72 <xref linkend="libxml2"/></para>
73
74 <bridgehead renderas="sect4">Optional</bridgehead>
75 <para role="optional">
76 <ulink url="http://check.sourceforge.net/">Check</ulink>
77 (required to run the unit regression tests), and
78 <ulink url="http://www.valgrind.org/">Valgrind</ulink>
79 (optionally used during the unit regression tests)</para>
80
81 <bridgehead renderas="sect4">Optional (Required to Rebuild the API
82 Documentation)</bridgehead>
83 <para role="optional"><xref linkend="gtk-doc"/> and
84 <xref linkend="pyxml"/></para>
85
86 <bridgehead renderas="sect4">Optional (Required to Build
87 Manuals)</bridgehead>
88 <para role="optional"><xref linkend="libxslt"/>,
89 <xref linkend="tetex"/>,
90 <xref linkend="gs"/> or
91 <xref linkend="espgs"/>,
92 <xref linkend="docbook-utils"/>,
93 <ulink url="http://www.xfig.org/">Transfig</ulink>, and
94 <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink></para>
95
96 <para condition="html" role="usernotes">User Notes:
97 <ulink url="&blfs-wiki;/gstreamer"/></para>
98
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of GStreamer</title>
103
104 <!-- Commenting as the Valgrind stuff has been fixed, but leaving it in
105 here so in case we need it again
106 <para>Newer versions of <application>Valgrind</application> are known to
107 cause the build to break. If you have <application>Valgrind</application>
108 version &gt;= 3.1.0 installed, you should add
109 <option>-disable-valgrind</option> to the <command>configure</command>
110 command below so the build will complete.</para>
111 -->
112
113 <para>Install <application>GStreamer</application> by running the following
114 commands:</para>
115
116<screen><userinput>./configure --prefix=/usr &amp;&amp;
117make</userinput></screen>
118
119 <para>To test the results, issue: <command>make check</command>. There are
120 many other <filename>Makefile</filename> targets you can specify for
121 running the tests, issue <command>make -C tests/check help</command> to see
122 the complete list.</para>
123
124 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
125
126<screen role="root"><userinput>make install &amp;&amp;
127install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &amp;&amp;
128install -v -m644 docs/design/*.txt \
129 /usr/share/doc/gstreamer-0.10/design &amp;&amp;
130if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
131 chown -v -R root:root \
132 /usr/share/doc/gstreamer-0.10/*/html
133fi</userinput></screen>
134
135 <para>If you did not rebuild the API documentation by passing
136 <option>--enable-gtk-doc</option> to the <command>configure</command>
137 script and you wish to install the pre-built documentation, issue the
138 following command as the <systemitem class="username">root</systemitem>
139 user:</para>
140
141<screen role="root"><userinput>for DOCS in gst libs plugins; do make -C docs/$DOCS install-data; done</userinput></screen>
142
143 <sect3>
144 <title>Testing the Installation</title>
145
146 <para>To test the functionality of the
147 <application>GStreamer</application> installation, you can run a simple
148 test as an unprivileged user (you may have to run
149 <command>ldconfig</command> as the
150 <systemitem class="username">root</systemitem> user before attempting
151 the test).</para>
152
153<screen><userinput>gst-launch -v fakesrc num_buffers=5 ! fakesink</userinput></screen>
154
155 <para>If the command outputs a series of messages from fakesrc and
156 fakesink, everything is okay.</para>
157
158 </sect3>
159
160 </sect2>
161
162 <sect2 role="commands">
163 <title>Command Explanations</title>
164
165 <para><option>--enable-gtk-doc</option>: This parameter is used to rebuild
166 and install the API documentation.</para>
167
168 <para><option>--enable-docbook</option>: This parameter is used to build
169 HTML, PDF and PostScript versions of the
170 <application>GStreamer</application> User's Manual, FAQ and Writer's Guide.
171 Note that you must have all the listed dependencies installed.</para>
172
173 <para><command>chown -v -R root:root ...</command>: The documentation is
174 installed with ownerships of the user who untarred and built the package.
175 This command changes the ownerships of the installed documentation files to
176 root:root and is only executed if the documentation files were built and
177 installed.</para>
178
179 </sect2>
180
181 <sect2 role="content">
182 <title>Contents</title>
183
184 <segmentedlist>
185 <segtitle>Installed Programs</segtitle>
186 <segtitle>Installed Libraries</segtitle>
187 <segtitle>Installed Directories</segtitle>
188
189 <seglistitem>
190 <seg>gst-feedback{,-0.10}, gst-inspect{,-0.10}, gst-launch{,-0.10},
191 gst-typefind{,-0.10}, gst-xmllaunch{,-0.10} and
192 gst-xmlinspect{,-0.10}</seg>
193 <seg>libgstbase-0.10.{so,a}, libgstcheck-0.10.{so,a},
194 libgstcontroller-0.10.{so,a}, libgstdataprotocol-0.10.{so,a},
195 libgstnet-0.10.{so,a}, libgstreamer-0.10.{so,a}, and
196 libgst*.{so,a} plugin modules</seg>
197 <seg>/usr/include/gstreamer-0.10, /usr/lib/gstreamer-0.10,
198 /usr/share/doc/gstreamer-0.10,
199 /usr/share/gtk-doc/html/gstreamer{,-libs,-plugins}-0.10</seg>
200 </seglistitem>
201 </segmentedlist>
202
203 <variablelist>
204 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
205 <?dbfo list-presentation="list"?>
206 <?dbhtml list-presentation="table"?>
207
208 <varlistentry id="gst-feedback">
209 <term><command>gst-feedback-0.10</command></term>
210 <listitem>
211 <para>generates debug info for <application>GStreamer</application>
212 bug reports.</para>
213 <indexterm zone="gstreamer gst-feedback">
214 <primary sortas="b-gst-feedback">gst-feedback-0.10</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="gst-inspect">
220 <term><command>gst-inspect-0.10</command></term>
221 <listitem>
222 <para>prints information about a
223 <application>GStreamer</application> plugin or element.</para>
224 <indexterm zone="gstreamer gst-inspect">
225 <primary sortas="b-gst-inspect">gst-inspect-0.10</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="gst-launch">
231 <term><command>gst-launch-0.10</command></term>
232 <listitem>
233 <para>is a tool that builds and runs basic
234 <application>GStreamer</application> pipelines.</para>
235 <indexterm zone="gstreamer gst-launch">
236 <primary sortas="b-gst-launch">gst-launch-0.10</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="gst-typefind">
242 <term><command>gst-typefind-0.10</command></term>
243 <listitem>
244 <para>uses the <application>GStreamer</application> type finding
245 system to determine the relevant <application>GStreamer</application>
246 plugin to parse or decode a file, and determine the corresponding
247 MIME type.</para>
248 <indexterm zone="gstreamer gst-typefind">
249 <primary sortas="b-gst-typefind">gst-typefind-0.10</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="gst-xmlinspect">
255 <term><command>gst-xmlinspect-0.10</command></term>
256 <listitem>
257 <para>prints information about a <application>GStreamer</application>
258 plugin or element in XML document format.</para>
259 <indexterm zone="gstreamer gst-xmlinspect">
260 <primary sortas="b-gst-xmlinspect">gst-xmlinspect-0.10</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry id="gst-xmllaunch">
266 <term><command>gst-xmllaunch-0.10</command></term>
267 <listitem>
268 <para>is used to build and run a basic <application>GStreamer</application>
269 pipeline, loading it from an XML description.</para>
270 <indexterm zone="gstreamer gst-xmllaunch">
271 <primary sortas="b-gst-xmllaunch">gst-xmllaunch-0.10</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 </variablelist>
277
278 </sect2>
279
280</sect1>
Note: See TracBrowser for help on using the repository browser.