source: multimedia/videoutils/mplayer.xml@ faf325d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 faf325d was faf325d, checked in by Krejzi <krejzi@…>, 11 years ago

Package updates and fixes. kdepim patch unnecesary with 4.10.3. Fix alsa-lib issues when building libkcompactdisc.

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

  • Property mode set to 100644
File size: 15.2 KB
Line 
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 mplayer-download-http
8 "http://www.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.xz">
9 <!ENTITY mplayer-download-ftp
10 "ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.xz">
11 <!ENTITY mplayer-md5sum "39dd55f30eb5403f219a606e79a6648a">
12 <!ENTITY mplayer-size "11 MB">
13 <!ENTITY mplayer-buildsize "183 MB (120 MB using system-installed FFMpeg)">
14 <!ENTITY mplayer-time "4 SBU (1.5 SBU using system-installed FFMpeg)">
15
16 <!ENTITY mplayer-skin "Clearlooks-1.5">
17 <!ENTITY mplayer-skin-download-http
18 "http://www.mplayerhq.hu/MPlayer/skins/&mplayer-skin;.tar.bz2">
19 <!ENTITY mplayer-skin-download-ftp
20 "ftp://ftp.mplayerhq.hu/MPlayer/skins/&mplayer-skin;.tar.bz2">
21 <!ENTITY mplayer-skin-md5sum "6b046a78fb15b243dc1eb5884276a750">
22 <!ENTITY mplayer-skin-size "40 KB">
23]>
24
25<sect1 id="mplayer" xreflabel="MPlayer-&mplayer-version;">
26 <?dbhtml filename="mplayer.html"?>
27
28 <sect1info>
29 <othername>$LastChangedBy$</othername>
30 <date>$Date$</date>
31 </sect1info>
32
33 <title>MPlayer-&mplayer-version;</title>
34
35 <indexterm zone="mplayer">
36 <primary sortas="a-MPlayer">MPlayer</primary>
37 </indexterm>
38
39 <sect2 role="package">
40 <title>Introduction to MPlayer</title>
41
42 <para>
43 <application>MPlayer</application> is a powerful audio/video player
44 controlled via the command line or a graphical interface that is able to
45 play almost every popular audio and video file format. With supported
46 video hardware and additional drivers, <application>MPlayer</application>
47 can play video files without an <application>X Window System</application>
48 installed.
49 </para>
50
51 &lfs73_checked;
52
53 <bridgehead renderas="sect3">Package Information</bridgehead>
54 <itemizedlist spacing="compact">
55 <listitem>
56 <para>Download (HTTP): <ulink url="&mplayer-download-http;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download (FTP): <ulink url="&mplayer-download-ftp;"/></para>
60 </listitem>
61 <listitem>
62 <para>Download MD5 sum: &mplayer-md5sum;</para>
63 </listitem>
64 <listitem>
65 <para>Download size: &mplayer-size;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated disk space required: &mplayer-buildsize;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated build time: &mplayer-time;</para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76
77 <itemizedlist spacing='compact'>
78 <title>Skins</title>
79 <listitem>
80 <para>
81 GUI skin (HTTP): <ulink url="&mplayer-skin-download-http;"/>
82 </para>
83 </listitem>
84 <listitem>
85 <para>GUI skin (FTP): <ulink url="&mplayer-skin-download-ftp;"/></para>
86 </listitem>
87 <listitem>
88 <para>Skin MD5 sum: &mplayer-skin-md5sum;</para>
89 </listitem>
90 <listitem>
91 <para>Skin size: &mplayer-skin-size;</para>
92 </listitem>
93 <listitem>
94 <para>
95 Alternative skins:
96 <ulink url="http://www1.mplayerhq.hu/MPlayer/skins/"/>
97 </para>
98 </listitem>
99 </itemizedlist>
100
101 <note>
102 <para>
103 Skins are only required to use the <application>Gtk+ 2</application>
104 user interface.
105 </para>
106 </note>
107
108 <bridgehead renderas="sect3">MPlayer Dependencies</bridgehead>
109
110 <bridgehead renderas="sect4">Required</bridgehead>
111 <para role="required"><xref linkend="yasm"/></para>
112
113 <bridgehead renderas="sect4">Recommended</bridgehead>
114 <para role="recommended"><xref linkend="gtk2"/></para>
115
116 <bridgehead renderas="sect4">Optional Input Drivers and Libraries</bridgehead>
117 <para role="optional">
118 <xref linkend="cdparanoia"/>,
119 <xref linkend="samba3"/>,
120 <xref linkend="libdvdread"/>,
121 <xref linkend="libdvdnav"/>,
122 <xref linkend="libdvdcss"/>,
123 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
124 <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>,
125 <ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>,
126 <ulink url="http://rtmpdump.mplayerhq.hu/">RTMPDump</ulink>,
127 <ulink url="http://code.google.com/p/vstream-client/">TiVo vstream client</ulink>
128 and
129 <ulink url="http://www.xmms.org/">XMMS</ulink>
130 </para>
131
132 <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
133 <para role="optional">
134 <xref linkend="alsa"/>,
135 <!-- <xref linkend="arts"/>, -->
136 <xref linkend="esound"/>,
137 <xref linkend="pulseaudio"/>,
138 <xref linkend="sdl"/>,
139 <ulink url="http://jackaudio.org/">JACK</ulink>,
140 <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink> and
141 <ulink url="http://www.radscan.com/nas.html">NAS</ulink>
142 </para>
143
144 <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
145 <para role="optional">
146 <xref linkend="aalib"/>,
147 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
148 <xref linkend="giflib"/>,
149 <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
150 <xref linkend="libjpeg"/>,
151 <xref linkend="libmng"/>,
152 <xref linkend="libpng"/>,
153 <xref linkend="openjpeg"/> and
154 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>
155 </para>
156
157 <bridgehead renderas="sect4">Optional CODECs</bridgehead>
158 <para role="optional">
159 <xref linkend="ffmpeg"/>,
160 <xref linkend="libmad"/>,
161 <xref linkend="LZO"/>,
162 <xref linkend="speex"/>,
163 <xref linkend="libtheora"/>,
164 <xref linkend="mpg123"/>,
165 <xref linkend="liba52"/>,
166 <xref linkend="faac"/>,
167 <xref linkend="faad2"/>,
168 <xref linkend="libdv"/>,
169 <xref linkend="xvid"/>,
170 <xref linkend="libvpx"/>,
171 <xref linkend="lame"/>,
172 <ulink url="http://sourceforge.net/projects/twolame/">TwoLAME</ulink>,
173 <ulink url="https://launchpad.net/libgsm">libgsm</ulink>,
174 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
175 <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
176 <ulink url="http://sourceforge.net/projects/opencore-amr/">OpenCore
177 Adaptive Multi Rate</ulink>,
178 <ulink url="http://www.broadcom.com/support/crystal_hd/">CrystalHD</ulink>,
179 <ulink url="http://www.videolan.org/developers/x264.html">x264</ulink>,
180 <ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,
181 <ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink> and
182 <ulink url="http://wiki.multimedia.cx/index.php?title=NUT">libnut</ulink>
183 </para>
184
185 <bridgehead renderas="sect4">Optional Miscellaneous Dependencies</bridgehead>
186 <para role="optional">
187 <ulink url="http://cihar.com/software/enca/">Enca</ulink>,
188 <xref linkend="fontconfig"/>,
189 <xref linkend="freetype2"/>,
190 <xref linkend="fribidi"/>,
191 <xref linkend="gtk2"/> (required for the GUI),
192 <ulink url="http://www.ladspa.org/">LADSPA</ulink>,
193 <ulink url="http://sourceforge.net/projects/bs2b/">libbs2b</ulink>,
194 <ulink url="http://www.lirc.org/">LIRC</ulink> (and
195 <ulink url="http://www.dolda2000.com/~fredrik/lirccd/">LIRC Client Daemon</ulink>),
196 <xref linkend="unrar"/>, and
197 <xref linkend="libxslt"/>,
198 <xref linkend="DocBook"/> and
199 <xref linkend="docbook-xsl"/> (all three required to build the HTML documentation)
200 </para>
201
202 <para condition="html" role="usernotes">
203 User Notes: <ulink url="&blfs-wiki;/mplayer"/>
204 </para>
205 </sect2>
206
207 <sect2 role="installation">
208 <title>Installation of MPlayer</title>
209
210 <sect3>
211 <title>Main MPlayer Installation</title>
212
213 <note>
214 <para>The package maintainers recommend building without any
215 optimizations.</para>
216 </note>
217
218 <para>
219 You may wish to examine the output from
220 <command>./configure --help</command> to find out what additional
221 parameters to <command>configure</command> are needed to include the
222 dependencies you have installed on your system.
223 </para>
224
225 <para>
226 Install <application>MPlayer</application> by running the following
227 commands:
228 </para>
229
230<screen><userinput>./configure --prefix=/usr \
231 --confdir=/etc/mplayer \
232 --enable-dynamic-plugins \
233 --enable-menu \
234 --enable-gui &amp;&amp;
235make</userinput></screen>
236
237 <para>If you wish to rebuild the chunked HTML documentation and build
238 a non-chunked HTML version of the docs, issue the following command:</para>
239
240<screen><userinput>make doc</userinput></screen>
241
242 <para>This package does not come with a test suite.</para>
243
244 <para>
245 Now, as the <systemitem class="username">root</systemitem> user:
246 </para>
247
248<screen role="root"><userinput>make install</userinput></screen>
249
250 <para>
251 To install the HTML documentation, issue the following commands as the
252 <systemitem class="username">root</systemitem> user:
253 </para>
254
255<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/mplayer-&mplayer-version; &amp;&amp;
256install -v -m644 DOCS/HTML/en/* \
257 /usr/share/doc/mplayer-&mplayer-version;</userinput></screen>
258
259 <para>
260 You will only need <filename>codecs.conf</filename> if you want to
261 change its properties, as the main binary contains an internal copy of
262 it. Ensure any changes you make to <filename>codecs.conf</filename>
263 achieve the desired results, as incorrect entries in this file have been
264 known to cause errors and render the player unusable. If necessary,
265 create the file as the <systemitem class="username">root</systemitem>
266 user:
267 </para>
268
269<screen role="root"><userinput>install -v -m644 etc/codecs.conf /etc/mplayer</userinput></screen>
270
271 <para>
272 You may alternatively want to copy all the default configuration files
273 to <filename class='directory'>/etc/mplayer</filename> for future
274 reference or more customization ability. As the
275 <systemitem class="username">root</systemitem> user:
276 </para>
277
278<screen role="root"><userinput>install -v -m644 etc/*.conf /etc/mplayer</userinput></screen>
279
280 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
281 href="../../xincludes/update-icons-and-desktop.xml"/>
282 </sect3>
283
284 <sect3>
285 <title>Skin Installation (Optional)</title>
286
287 <para>
288 To enable the Gtk+ 2 frontend of <application>MPlayer</application>,
289 you'll need to install at least one skin. Extract the desired skin and
290 create the default location (as the
291 <systemitem class="username">root</systemitem> user):
292 </para>
293
294<screen role="root"><userinput>tar -xvf ../&mplayer-skin;.tar.bz2 \
295 -C /usr/share/mplayer/skins &amp;&amp;
296ln -sfv Clearlooks /usr/share/mplayer/skins/default</userinput></screen>
297 </sect3>
298 </sect2>
299
300 <sect2 role="commands">
301 <title>Command Explanations</title>
302
303 <para>
304 <parameter>--enable-gui</parameter>: This option builds the GUI interface
305 into <command>mplayer</command>.
306 </para>
307
308 <para>
309 <parameter>--enable-menu</parameter>: This option is set to enable the
310 on-screen display.
311 </para>
312
313 <para>
314 <option>--disable-ffmpeg_a</option>: You can use this option if you have
315 installed <xref linkend="ffmpeg"/>. MPlayer includes a copy of the FFmpeg
316 source and without this option it will statically compile the included
317 version of FFmpeg into itself. Dynamically linking to a system installed
318 FFmpeg makes MPlayer and Mencoder about 9MB smaller. If MPlayer exhibits
319 unstable behavior linked to a system installed FFmpeg, try recompiling MPlayer
320 without this option (it is always more thoroughly tested with the included
321 FFmpeg).
322 </para>
323 </sect2>
324
325 <sect2 role="configuration">
326 <title>Configuring MPlayer</title>
327
328 <sect3 id="mplayer-config">
329 <title>Config Files</title>
330
331 <para><filename>/etc/mplayer/*</filename> and
332 <filename>~/.mplayer/*</filename></para>
333
334 <indexterm zone="mplayer mplayer-config">
335 <primary sortas="e-AA.mplayer">~/.mplayer/*</primary>
336 </indexterm>
337
338 <indexterm zone="mplayer mplayer-config">
339 <primary sortas="e-etc-mplayer">/etc/mplayer/*</primary>
340 </indexterm>
341 </sect3>
342
343 <sect3>
344 <title>Configuration Information</title>
345
346 <para>
347 Typically, there's no configuration required for the system-wide files
348 in <filename class='directory'>/etc/mplayer</filename> (in fact, this
349 directory is empty unless you copied the default files as mentioned
350 above). Configuration can be accomplished by choosing the configuration
351 button located on the <application>MPlayer</application> GUI. Any
352 configuration changes made in the GUI will be saved in the user's
353 <filename class='directory'>~/.mplayer</filename> directory.
354 </para>
355 </sect3>
356 </sect2>
357
358 <sect2 role="content">
359 <title>Contents</title>
360
361 <segmentedlist>
362 <segtitle>Installed Programs</segtitle>
363 <segtitle>Installed Libraries</segtitle>
364 <segtitle>Installed Directories</segtitle>
365
366 <seglistitem>
367 <seg>gmplayer, mplayer and mencoder</seg>
368 <seg>none</seg>
369 <seg>
370 /etc/mplayer,
371 /usr/lib/mplayer,
372 /usr/share/mplayer and
373 /usr/share/doc/mplayer
374 </seg>
375 </seglistitem>
376 </segmentedlist>
377
378 <variablelist>
379 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
380 <?dbfo list-presentation="list"?>
381 <?dbhtml list-presentation="table"?>
382
383 <varlistentry id="gmplayer">
384 <term><command>gmplayer</command></term>
385 <listitem>
386 <para>
387 is a symlink to <command>mplayer</command> which brings up the
388 Gtk+ 2 frontend of <application>MPlayer</application>.
389 </para>
390 <indexterm zone="mplayer gmplayer">
391 <primary sortas="b-gmplayer">gmplayer</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 <varlistentry id="mplayer-prog">
397 <term><command>mplayer</command></term>
398 <listitem>
399 <para> is the main MPlayer video player.</para>
400 <indexterm zone="mplayer mplayer-prog">
401 <primary sortas="b-mplayer">mplayer</primary>
402 </indexterm>
403 </listitem>
404 </varlistentry>
405
406 <varlistentry id="mencoder">
407 <term><command>mencoder</command></term>
408 <listitem>
409 <para>
410 is a powerful command line video decoding, encoding and filtering
411 tool that is useful for (amongst other things) ripping DVDs to files
412 on your hard disk (see
413 /usr/share/doc/mplayer-&mplayer-version;/mencoder.html)
414 </para>
415 <indexterm zone="mplayer mencoder">
416 <primary sortas="b-mencoder">mencoder</primary>
417 </indexterm>
418 </listitem>
419 </varlistentry>
420 </variablelist>
421 </sect2>
422</sect1>
Note: See TracBrowser for help on using the repository browser.