source: multimedia/libdriv/gst-plugins.xml@ 4ec808b

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 4ec808b was 4ec808b, checked in by Andrew Benton <andy@…>, 18 years ago

Broken links

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

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