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 gst-plugins-download-http "http://gstreamer.freedesktop.org/src/gst-plugins/gst-plugins-&gst-plugins-version;.tar.bz2">
|
---|
8 | <!ENTITY gst-plugins-download-ftp "&gnome-download-ftp;/gst-plugins/0.8/gst-plugins-&gst-plugins-version;.tar.bz2">
|
---|
9 | <!ENTITY gst-plugins-md5sum "ea787eeed3761ff03cb60ecebebe1c30">
|
---|
10 | <!ENTITY gst-plugins-size "2.4 MB">
|
---|
11 | <!ENTITY gst-plugins-buildsize "up to 109 MB (depends on what dependencies are installed)">
|
---|
12 | <!ENTITY gst-plugins-time "up to 3.6 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gst-plugins" xreflabel="GStreamer Plug-ins-&gst-plugins-version;">
|
---|
16 | <?dbhtml filename="gst-plugins.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>GStreamer Plug-ins-&gst-plugins-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="gst-plugins">
|
---|
26 | <primary sortas="a-GStreamer-Plug-ins">GStreamer Plug-ins</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to GStreamer Plug-ins</title>
|
---|
31 |
|
---|
32 | <para>The <application>GStreamer Plug-ins</application> package builds
|
---|
33 | graphics and multimedia CODEC interface modules for the
|
---|
34 | <application>GStreamer</application> package. There are over 170 different
|
---|
35 | modules that can be built, providing <application>GStreamer</application>
|
---|
36 | the capability to create a pipeline for almost every known media
|
---|
37 | stream. In recent versions of <application>GStreamer Plug-ins</application>,
|
---|
38 | the <application>FFmpeg</application> plugin has been removed and is now
|
---|
39 | released in a separate module. You can find out information about this
|
---|
40 | module and how to download it from <ulink
|
---|
41 | url="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html"/>.</para>
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>Download (HTTP): <ulink url="&gst-plugins-download-http;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download (FTP): <ulink url="&gst-plugins-download-ftp;"/></para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download MD5 sum: &gst-plugins-md5sum;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Download size: &gst-plugins-size;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated disk space required: &gst-plugins-buildsize;</para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>Estimated build time: &gst-plugins-time;</para>
|
---|
62 | </listitem>
|
---|
63 | </itemizedlist>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect3">GStreamer Plug-ins Dependencies</bridgehead>
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
68 | <para role="required"><xref linkend="gstreamer"/></para>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Optional Utilities (Graphics, Compression, Misc.)</bridgehead>
|
---|
71 | <para role="optional"><xref linkend="aalib"/>,
|
---|
72 | <xref linkend="cairo"/>,
|
---|
73 | <xref linkend="cdparanoia"/>,
|
---|
74 | <xref linkend="freetype2"/>,
|
---|
75 | <xref linkend="GConf"/>,
|
---|
76 | <xref linkend="gtk2"/>,
|
---|
77 | <xref linkend="gnome-vfs"/>,
|
---|
78 | <ulink url="http://talinux.fi.tal.org/pub/talinux/sources/Hermes-1.3.3.tar.gz">Hermes</ulink>,
|
---|
79 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
80 | <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>,
|
---|
81 | <ulink url="http://cvs.sourceforge.net/viewcvs.py/codecs/libcolorspace-pre/">libcolorspace</ulink>,
|
---|
82 | <xref linkend="libjpeg"/> or
|
---|
83 | <ulink url="http://sourceforge.net/projects/mjpeg/">MMX Jpeg</ulink>,
|
---|
84 | <ulink url="http://eetpc20.bd.psu.edu/~rfisher/Research/Libmmx/libmmx.html">libmmx</ulink>,
|
---|
85 | <xref linkend="libmng"/>,
|
---|
86 | <ulink url="http://www.schleef.org/liboil/">liboil</ulink>,
|
---|
87 | <xref linkend="libpng"/>,
|
---|
88 | <xref linkend="NASM"/>,
|
---|
89 | <xref linkend="pango"/>, and
|
---|
90 | <xref linkend="x-window-system"/></para>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Optional Audio Libraries/Drivers/CODECs</bridgehead>
|
---|
93 | <para role="optional"><xref linkend="alsa"/>,
|
---|
94 | <xref linkend="arts"/>,
|
---|
95 | <xref linkend="audiofile"/>,
|
---|
96 | <ulink url="http://www.comedi.org/cgi-bin/viewcvs.cgi/audioresample/">audioresample</ulink>,
|
---|
97 | <xref linkend="esound"/>,
|
---|
98 | <xref linkend="faac"/>,
|
---|
99 | <xref linkend="faad2"/>,
|
---|
100 | <xref linkend="flac"/>,
|
---|
101 | <ulink url="http://kbs.cs.tu-berlin.de/~jutta/toast.html">GSM</ulink>,
|
---|
102 | <ulink url="http://jackit.sourceforge.net/">JACK</ulink>,
|
---|
103 | <xref linkend="lame"/>,
|
---|
104 | <xref linkend="liba52"/>,
|
---|
105 | <ulink url="http://ronald.bitfreak.net/priv/">libamrnb</ulink>,
|
---|
106 | <ulink url="http://libcdaudio.sourceforge.net/">libcdaudio</ulink>,
|
---|
107 | <ulink url="http://www.videolan.org/libdca.html">libdts</ulink>,
|
---|
108 | <xref linkend="libmad"/> (and
|
---|
109 | <ulink url="http://sourceforge.net/projects/mad/">libid3tag</ulink>),
|
---|
110 | <xref linkend="libmikmod"/>,
|
---|
111 | <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
|
---|
112 | <xref linkend="libmusicbrainz"/>,
|
---|
113 | <xref linkend="libogg"/>,
|
---|
114 | <ulink url="http://www.linux1394.org/">libraw1394</ulink> (and
|
---|
115 | <ulink url="http://sourceforge.net/projects/libavc1394/">libavc1394</ulink>),
|
---|
116 | <ulink url="http://www.icecast.org/">libshout</ulink>,
|
---|
117 | <ulink url="http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/">libsidplay</ulink>,
|
---|
118 | <ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink>,
|
---|
119 | <xref linkend="libvorbis"/>,
|
---|
120 | <ulink url="http://www.ladspa.org/">LADSPA</ulink>,
|
---|
121 | <xref linkend="nas"/>,
|
---|
122 | <ulink url="http://0pointer.de/lennart/projects/polypaudio/">polypaudio</ulink>,
|
---|
123 | <xref linkend="speex"/>,
|
---|
124 | <ulink url="http://www.theora.org/">Theora</ulink>,
|
---|
125 | <ulink url="http://www.xiph.org/vorbis/">Tremor</ulink>,
|
---|
126 | <ulink url="http://www.wavpack.com/">WavPack</ulink>, and
|
---|
127 | <ulink url="http://developers.videolan.org/x264.html">x264</ulink></para>
|
---|
128 |
|
---|
129 | <bridgehead renderas="sect4">Optional Video Libraries/Drivers/CODECs</bridgehead>
|
---|
130 | <para role="optional"><ulink url="http://sourceforge.net/projects/dirac/">Dirac</ulink>,
|
---|
131 | <ulink url="http://directfb.org/">DirectFB</ulink>,
|
---|
132 | <!-- Dead link
|
---|
133 | <ulink url="http://www.divx.com/divx/linux/">DivX4Linux</ulink>,
|
---|
134 | -->
|
---|
135 | <ulink url="http://dxr3.sourceforge.net/">DXR3</ulink>,
|
---|
136 | <xref linkend="libdv"/>,
|
---|
137 | <ulink url="http://sourceforge.net/projects/dvd/">libdvdnav</ulink>,
|
---|
138 | <xref linkend="libdvdread"/>,
|
---|
139 | <xref linkend="libfame"/>,
|
---|
140 | <xref linkend="libmpeg2"/>,
|
---|
141 | <!-- <ulink url="https://cvs.comedi.org/cgi-bin/viewcvs.cgi/librfb/">librfb</ulink>, -->
|
---|
142 | <ulink url="http://mjpeg.sourceforge.net/">MJPEG Tools</ulink>,
|
---|
143 | <ulink url="http://www.thedirks.org/v4l2/">V4L2</ulink>, and
|
---|
144 | <xref linkend="xvid"/></para>
|
---|
145 |
|
---|
146 | <bridgehead renderas="sect4">Optional Multimedia Utilities</bridgehead>
|
---|
147 | <para role="optional"><ulink url="http://sourceforge.net/projects/libmms">libmms</ulink>,
|
---|
148 | <ulink url="http://sourceforge.net/projects/libvisual/">libvisual</ulink>,
|
---|
149 | <xref linkend="sdl"/>,
|
---|
150 | <ulink url="http://swfdec.sourceforge.net/">swfdec</ulink>, and
|
---|
151 | <xref linkend="xine-lib"/></para>
|
---|
152 |
|
---|
153 | <para condition="html" role="usernotes">User Notes:
|
---|
154 | <ulink url="&blfs-wiki;/gst-plugins"/></para>
|
---|
155 |
|
---|
156 | </sect2>
|
---|
157 |
|
---|
158 | <sect2 role="installation">
|
---|
159 | <title>Installation of GStreamer Plug-ins</title>
|
---|
160 |
|
---|
161 | <para>Install <application>GStreamer Plug-ins</application> by running the
|
---|
162 | following commands:</para>
|
---|
163 |
|
---|
164 | <screen><userinput>sed -i -e 's|LIBS="-lGLU|LIBS="-L/usr/X11R6/lib -lGLU|' \
|
---|
165 | -e '/GST_DOC/d' \
|
---|
166 | -e 's/lx264 -lm/& -lpthread/' \
|
---|
167 | configure &&
|
---|
168 | sed -i 's/X264_LIBS@/& -lpthread/' ext{,/x264}/Makefile.in &&
|
---|
169 |
|
---|
170 | ./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
171 | make</userinput></screen>
|
---|
172 |
|
---|
173 | <para>To check the results, issue:</para>
|
---|
174 |
|
---|
175 | <screen><userinput>sed -i 's|:\$(GST_LIB_DIR)/..||' gst/audioconvert/Makefile &&
|
---|
176 | make -C gst/audioconvert check</userinput></screen>
|
---|
177 |
|
---|
178 | <para> On some platforms in certain situations the tests may fail because
|
---|
179 | one or more of the plugins will fail to register. This will be displayed in
|
---|
180 | the output from the command. If this happens, you are urged to rename the
|
---|
181 | offending plugin and repeat the
|
---|
182 | <command>make -C gst/audioconvert check</command> command. Both tests
|
---|
183 | should pass before you continue. Simply renaming the offending plugin by
|
---|
184 | adding <filename class='extension'>.BAD</filename> to the end of the
|
---|
185 | filename is sufficient. Here is an example:</para>
|
---|
186 |
|
---|
187 | <screen><userinput>mv gst/audioconvert/../../ext/xine/.libs/libgstxine.so{,.BAD}</userinput></screen>
|
---|
188 |
|
---|
189 | <para>After the tests have completed successfully, if you had to rename any
|
---|
190 | of the plugins, ensure you rename it back to the original, or the
|
---|
191 | installation step will fail.</para>
|
---|
192 |
|
---|
193 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
194 |
|
---|
195 | <screen role="root"><userinput>make install &&
|
---|
196 | ldconfig</userinput></screen>
|
---|
197 |
|
---|
198 | <para>If you had to rename any of the plugins for the tests to complete
|
---|
199 | successfully, you will have to also rename (or remove) them so that the
|
---|
200 | <command>gst-register</command> command will complete successfully. The
|
---|
201 | plugins were installed into the
|
---|
202 | <filename class='directory'>/usr/lib/gstreamer-0.8</filename>
|
---|
203 | directory. Finish the installation by running the following command as the
|
---|
204 | <systemitem class="username">root</systemitem> user:</para>
|
---|
205 |
|
---|
206 | <screen role="root"><userinput>gst-register</userinput></screen>
|
---|
207 |
|
---|
208 | <caution>
|
---|
209 | <para>If you <command>touch</command>, <command>strip</command> or do
|
---|
210 | anything else that can update the time stamp (modification time) of the
|
---|
211 | plugin files, ensure you rerun the <command>gst-register</command>
|
---|
212 | command as the <systemitem class="username">root</systemitem> user again
|
---|
213 | so that the time stamp of the global registry file
|
---|
214 | (<filename>/var/cache/gstreamer-0.8/registry.xml</filename>) is dated
|
---|
215 | later than the time stamp of any of the plugin files.</para>
|
---|
216 | </caution>
|
---|
217 |
|
---|
218 | <sect3>
|
---|
219 | <title>Testing the Installation</title>
|
---|
220 |
|
---|
221 | <para>To test the functionality of the completed
|
---|
222 | <application>GStreamer</application> installation, you can run a couple
|
---|
223 | of tests. Perform the tests as an unprivileged user.</para>
|
---|
224 |
|
---|
225 | <para>The first test should complete without any errors displayed to
|
---|
226 | the screen:</para>
|
---|
227 |
|
---|
228 | <screen><userinput>gst-launch --iterations=10000 sinesrc ! fakesink</userinput></screen>
|
---|
229 |
|
---|
230 | <para>For the next test you'll need to choose an output method valid for
|
---|
231 | your system such as osssink/esdsink/artsdsink/alsasink/jacksink. Replace
|
---|
232 | the <replaceable><output_sink></replaceable> in the command below with
|
---|
233 | a valid output method. Running the command should produce a C tone for a
|
---|
234 | short duration.</para>
|
---|
235 |
|
---|
236 | <screen><userinput>gst-launch --iterations=50 sinesrc ! <replaceable><output_sink></replaceable></userinput></screen>
|
---|
237 |
|
---|
238 | </sect3>
|
---|
239 |
|
---|
240 | </sect2>
|
---|
241 |
|
---|
242 | <sect2 role="commands">
|
---|
243 | <title>Command Explanations</title>
|
---|
244 |
|
---|
245 | <para><command>sed -i ... configure</command>: The check for the OpenGL
|
---|
246 | (Mesa) libraries will fail if <application>X</application> is installed in
|
---|
247 | any directory other than <filename class='directory'>/usr</filename>. This
|
---|
248 | commands adds an additional search path. Additionally, the command removes
|
---|
249 | a misplaced line and fixes the checks for the
|
---|
250 | <application>x264</application> library.</para>
|
---|
251 |
|
---|
252 | <para><command>sed -i ... ext{,/x264}/Makefile.in</command>: This command
|
---|
253 | adds the <filename class='libraryfile'>libpthread.so</filename> library to
|
---|
254 | the list of libraries required to properly compile the
|
---|
255 | <application>x264</application> library.</para>
|
---|
256 |
|
---|
257 | <para><option>--with-gconf-schema-file-dir=&gnome-etc-dir;/gconf/schemas</option>:
|
---|
258 | Use this option if you have the <application>GNOME-2</application>
|
---|
259 | <application>GConf</application> package installed.</para>
|
---|
260 |
|
---|
261 | <para><option>--enable-gdk-pixbuf-loader</option>: Use this option to build
|
---|
262 | the GDK pixbuf loader module if you have <application>GTK+-2</application>
|
---|
263 | installed.</para>
|
---|
264 |
|
---|
265 | <para><option>--enable-xine</option>: Use this option to build the
|
---|
266 | <application>Xine</application> wrapper module if you have the
|
---|
267 | <application>Xine Libraries</application> package installed. On some
|
---|
268 | platforms, the module will have some corruption and cause the test suite
|
---|
269 | and <command>gst-register</command> command to fail.</para>
|
---|
270 |
|
---|
271 | <!--
|
---|
272 | <para><option>-enable-xine</option>: Using this option to build the
|
---|
273 | <application>Xine</application> wrapper module will break the build if you
|
---|
274 | have <application>xine-libs</application>-&xine-lib-version;
|
---|
275 | installed.</para>
|
---|
276 | -->
|
---|
277 |
|
---|
278 | <para>Note: all other modules are built if the <command>configure</command>
|
---|
279 | script discovers the required dependency package. To prevent a module from
|
---|
280 | being built, pass
|
---|
281 | <option>--disable-<replaceable><module></replaceable></option> to
|
---|
282 | <command>configure</command>. Run <command>configure --help</command>
|
---|
283 | for all the available module names.</para>
|
---|
284 |
|
---|
285 | </sect2>
|
---|
286 |
|
---|
287 | <sect2 role="content">
|
---|
288 | <title>Contents</title>
|
---|
289 |
|
---|
290 | <segmentedlist>
|
---|
291 | <segtitle>Installed Programs</segtitle>
|
---|
292 | <segtitle>Installed Libraries</segtitle>
|
---|
293 | <segtitle>Installed Directories</segtitle>
|
---|
294 |
|
---|
295 | <seglistitem>
|
---|
296 | <seg>gst-launch-ext-0.8 and gst-visualise-0.8</seg>
|
---|
297 | <seg>libgst*.{so,a}, numerous <application>GStreamer</application> plugins,
|
---|
298 | and a <application>Gstreamer</application> GDK pixbuf loader module</seg>
|
---|
299 | <seg>&gnome-etc-dir;/gconf/gconf.xml.defaults/schemas/system/gstreamer,
|
---|
300 | &gnome-etc-dir;/gconf/gconf.xml.defaults/system/gstreamer,
|
---|
301 | and many subdirs of /usr/include/gstreamer-0.8/gst</seg>
|
---|
302 | </seglistitem>
|
---|
303 | </segmentedlist>
|
---|
304 |
|
---|
305 | <variablelist>
|
---|
306 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
307 | <?dbfo list-presentation="list"?>
|
---|
308 | <?dbhtml list-presentation="table"?>
|
---|
309 |
|
---|
310 | <varlistentry id="gst-launch-ext">
|
---|
311 | <term><command>gst-launch-ext-0.8</command></term>
|
---|
312 | <listitem>
|
---|
313 | <para>is used to run a basic predefined
|
---|
314 | <application>GStreamer</application> pipeline as a quick test to ensure
|
---|
315 | proper working of codecs and <application>GStreamer</application>.</para>
|
---|
316 | <indexterm zone="gst-plugins gst-launch-ext">
|
---|
317 | <primary sortas="b-gst-launch-ext">gst-launch-ext-0.8</primary>
|
---|
318 | </indexterm>
|
---|
319 | </listitem>
|
---|
320 | </varlistentry>
|
---|
321 |
|
---|
322 | <varlistentry id="xxgst-visualise">
|
---|
323 | <term><command>gst-visualise-0.8</command></term>
|
---|
324 | <listitem>
|
---|
325 | <para>is used to run a basic <application>GStreamer</application>
|
---|
326 | pipeline to display a graphical visualisation of an audio stream.</para>
|
---|
327 | <indexterm zone="gst-plugins xxgst-visualise">
|
---|
328 | <primary sortas="b-gst-visualise">gst-visualise-0.8</primary>
|
---|
329 | </indexterm>
|
---|
330 | </listitem>
|
---|
331 | </varlistentry>
|
---|
332 |
|
---|
333 | </variablelist>
|
---|
334 |
|
---|
335 | </sect2>
|
---|
336 |
|
---|
337 | </sect1>
|
---|