source: multimedia/libdriv/gst-plugins.xml@ 0aeb696

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 0aeb696 was 0aeb696, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

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