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