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 "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 "69b594b43e52e1d0eaf512a89c7b3137">
|
---|
10 | <!ENTITY gstreamer-size "1.9 MB">
|
---|
11 | <!ENTITY gstreamer-buildsize "72 MB">
|
---|
12 | <!ENTITY gstreamer-time "1.5 SBU (includes building manuals 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 >= 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 &&
|
---|
117 | make</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 &&
|
---|
127 | install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &&
|
---|
128 | install -v -m644 docs/design/*.txt \
|
---|
129 | /usr/share/doc/gstreamer-0.10/design &&
|
---|
130 |
|
---|
131 | if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
|
---|
132 | chown -v -R root:root \
|
---|
133 | /usr/share/doc/gstreamer-0.10/*/html
|
---|
134 | fi</userinput></screen>
|
---|
135 |
|
---|
136 | <!-- Gtk-Docs are now installed by default, even without building them
|
---|
137 | <para>If you did not rebuild the API documentation by passing
|
---|
138 | <option>-enable-gtk-doc</option> to the <command>configure</command>
|
---|
139 | script and you wish to install the pre-built documentation, issue the
|
---|
140 | following command as the <systemitem class="username">root</systemitem>
|
---|
141 | user:</para>
|
---|
142 |
|
---|
143 | <screen role="root"><userinput>for DOCS in gst libs plugins; do make -C docs/$DOCS install-data; done</userinput></screen>
|
---|
144 | -->
|
---|
145 |
|
---|
146 | <sect3>
|
---|
147 | <title>Testing the Installation</title>
|
---|
148 |
|
---|
149 | <para>To test the functionality of the
|
---|
150 | <application>GStreamer</application> installation, you can run a simple
|
---|
151 | test as an unprivileged user (you may have to run
|
---|
152 | <command>ldconfig</command> as the
|
---|
153 | <systemitem class="username">root</systemitem> user before attempting
|
---|
154 | the test).</para>
|
---|
155 |
|
---|
156 | <screen><userinput>gst-launch -v fakesrc num_buffers=5 ! fakesink</userinput></screen>
|
---|
157 |
|
---|
158 | <para>If the command outputs a series of messages from fakesrc and
|
---|
159 | fakesink, everything is okay.</para>
|
---|
160 |
|
---|
161 | </sect3>
|
---|
162 |
|
---|
163 | </sect2>
|
---|
164 |
|
---|
165 | <sect2 role="commands">
|
---|
166 | <title>Command Explanations</title>
|
---|
167 |
|
---|
168 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
169 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
170 |
|
---|
171 | <para><option>--enable-docbook</option>: This parameter is used to build
|
---|
172 | HTML, PDF and PostScript versions of the
|
---|
173 | <application>GStreamer</application> User's Manual, FAQ and Writer's Guide.
|
---|
174 | Note that you must have all the listed dependencies installed.</para>
|
---|
175 |
|
---|
176 | <para><command>chown -v -R root:root ...</command>: The documentation is
|
---|
177 | installed with ownerships of the user who untarred and built the package.
|
---|
178 | This command changes the ownerships of the installed documentation files to
|
---|
179 | root:root and is only executed if the documentation files were built and
|
---|
180 | installed.</para>
|
---|
181 |
|
---|
182 | </sect2>
|
---|
183 |
|
---|
184 | <sect2 role="content">
|
---|
185 | <title>Contents</title>
|
---|
186 |
|
---|
187 | <segmentedlist>
|
---|
188 | <segtitle>Installed Programs</segtitle>
|
---|
189 | <segtitle>Installed Libraries</segtitle>
|
---|
190 | <segtitle>Installed Directories</segtitle>
|
---|
191 |
|
---|
192 | <seglistitem>
|
---|
193 | <seg>gst-feedback{,-0.10}, gst-inspect{,-0.10}, gst-launch{,-0.10},
|
---|
194 | gst-typefind{,-0.10}, gst-xmllaunch{,-0.10} and
|
---|
195 | gst-xmlinspect{,-0.10}</seg>
|
---|
196 | <seg>libgstbase-0.10.{so,a}, libgstcheck-0.10.{so,a},
|
---|
197 | libgstcontroller-0.10.{so,a}, libgstdataprotocol-0.10.{so,a},
|
---|
198 | libgstnet-0.10.{so,a}, libgstreamer-0.10.{so,a}, and
|
---|
199 | libgst*.{so,a} plugin modules</seg>
|
---|
200 | <seg>/usr/include/gstreamer-0.10, /usr/lib/gstreamer-0.10,
|
---|
201 | /usr/share/doc/gstreamer-0.10,
|
---|
202 | /usr/share/gtk-doc/html/gstreamer{,-libs,-plugins}-0.10</seg>
|
---|
203 | </seglistitem>
|
---|
204 | </segmentedlist>
|
---|
205 |
|
---|
206 | <variablelist>
|
---|
207 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
208 | <?dbfo list-presentation="list"?>
|
---|
209 | <?dbhtml list-presentation="table"?>
|
---|
210 |
|
---|
211 | <varlistentry id="gst-feedback">
|
---|
212 | <term><command>gst-feedback-0.10</command></term>
|
---|
213 | <listitem>
|
---|
214 | <para>generates debug info for <application>GStreamer</application>
|
---|
215 | bug reports.</para>
|
---|
216 | <indexterm zone="gstreamer gst-feedback">
|
---|
217 | <primary sortas="b-gst-feedback">gst-feedback-0.10</primary>
|
---|
218 | </indexterm>
|
---|
219 | </listitem>
|
---|
220 | </varlistentry>
|
---|
221 |
|
---|
222 | <varlistentry id="gst-inspect">
|
---|
223 | <term><command>gst-inspect-0.10</command></term>
|
---|
224 | <listitem>
|
---|
225 | <para>prints information about a
|
---|
226 | <application>GStreamer</application> plugin or element.</para>
|
---|
227 | <indexterm zone="gstreamer gst-inspect">
|
---|
228 | <primary sortas="b-gst-inspect">gst-inspect-0.10</primary>
|
---|
229 | </indexterm>
|
---|
230 | </listitem>
|
---|
231 | </varlistentry>
|
---|
232 |
|
---|
233 | <varlistentry id="gst-launch">
|
---|
234 | <term><command>gst-launch-0.10</command></term>
|
---|
235 | <listitem>
|
---|
236 | <para>is a tool that builds and runs basic
|
---|
237 | <application>GStreamer</application> pipelines.</para>
|
---|
238 | <indexterm zone="gstreamer gst-launch">
|
---|
239 | <primary sortas="b-gst-launch">gst-launch-0.10</primary>
|
---|
240 | </indexterm>
|
---|
241 | </listitem>
|
---|
242 | </varlistentry>
|
---|
243 |
|
---|
244 | <varlistentry id="gst-typefind">
|
---|
245 | <term><command>gst-typefind-0.10</command></term>
|
---|
246 | <listitem>
|
---|
247 | <para>uses the <application>GStreamer</application> type finding
|
---|
248 | system to determine the relevant <application>GStreamer</application>
|
---|
249 | plugin to parse or decode a file, and determine the corresponding
|
---|
250 | MIME type.</para>
|
---|
251 | <indexterm zone="gstreamer gst-typefind">
|
---|
252 | <primary sortas="b-gst-typefind">gst-typefind-0.10</primary>
|
---|
253 | </indexterm>
|
---|
254 | </listitem>
|
---|
255 | </varlistentry>
|
---|
256 |
|
---|
257 | <varlistentry id="gst-xmlinspect">
|
---|
258 | <term><command>gst-xmlinspect-0.10</command></term>
|
---|
259 | <listitem>
|
---|
260 | <para>prints information about a <application>GStreamer</application>
|
---|
261 | plugin or element in XML document format.</para>
|
---|
262 | <indexterm zone="gstreamer gst-xmlinspect">
|
---|
263 | <primary sortas="b-gst-xmlinspect">gst-xmlinspect-0.10</primary>
|
---|
264 | </indexterm>
|
---|
265 | </listitem>
|
---|
266 | </varlistentry>
|
---|
267 |
|
---|
268 | <varlistentry id="gst-xmllaunch">
|
---|
269 | <term><command>gst-xmllaunch-0.10</command></term>
|
---|
270 | <listitem>
|
---|
271 | <para>is used to build and run a basic <application>GStreamer</application>
|
---|
272 | pipeline, loading it from an XML description.</para>
|
---|
273 | <indexterm zone="gstreamer gst-xmllaunch">
|
---|
274 | <primary sortas="b-gst-xmllaunch">gst-xmllaunch-0.10</primary>
|
---|
275 | </indexterm>
|
---|
276 | </listitem>
|
---|
277 | </varlistentry>
|
---|
278 |
|
---|
279 | </variablelist>
|
---|
280 |
|
---|
281 | </sect2>
|
---|
282 |
|
---|
283 | </sect1>
|
---|