source: multimedia/videoutils/mplayer.xml@ e7d893b

elogind
Last change on this file since e7d893b was e7d893b, checked in by DJ Lucas <dj@…>, 5 years ago

Merge to HEAD 21602.

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

  • Property mode set to 100644
File size: 18.2 KB
RevLine 
[f29d6ee]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[01062dd]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[0a35e881]6
[e104a36]7 <!ENTITY mplayer-download-http "http://www.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.xz">
[8dfc5c3]8 <!ENTITY mplayer-download-ftp "ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.xz">
[e7d893b]9 <!ENTITY mplayer-md5sum "58d39f72bf7f3ddaa9e019224bffcb74">
10 <!ENTITY mplayer-size "14 MB">
11 <!ENTITY mplayer-buildsize "207 MB">
[1c71552]12 <!ENTITY mplayer-time "1.4 SBU (Using parallelism=4)">
[2fcac83]13
[b65f260d]14 <!ENTITY mplayer-skin "Clearlooks-2.0">
[31197e0]15 <!ENTITY mplayer-skin-download-http "https://www.mplayerhq.hu/MPlayer/skins/&mplayer-skin;.tar.bz2">
[2fcac83]16 <!ENTITY mplayer-skin-download-ftp "ftp://ftp.mplayerhq.hu/MPlayer/skins/&mplayer-skin;.tar.bz2">
[b65f260d]17 <!ENTITY mplayer-skin-md5sum "c82d4dbd7f0c36dfecd63dff972807c5">
18 <!ENTITY mplayer-skin-size "34 KB">
[01062dd]19]>
20
[0b5a693]21<sect1 id="mplayer" xreflabel="MPlayer-&mplayer-version;">
[f29d6ee]22 <?dbhtml filename="mplayer.html"?>
23
24 <sect1info>
25 <othername>$LastChangedBy$</othername>
26 <date>$Date$</date>
27 </sect1info>
28
29 <title>MPlayer-&mplayer-version;</title>
30
31 <indexterm zone="mplayer">
32 <primary sortas="a-MPlayer">MPlayer</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to MPlayer</title>
37
[62662cb]38 <para>
39 <application>MPlayer</application> is a powerful audio/video player
[93ebc67]40 controlled via the command line or a graphical interface that is able to
[62662cb]41 play almost every popular audio and video file format. With supported
42 video hardware and additional drivers, <application>MPlayer</application>
43 can play video files without an <application>X Window System</application>
44 installed.
45 </para>
46
[b1d19e8d]47 &lfs84_checked;
[f29d6ee]48
49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
[755bb92]52 <para>
53 Download (HTTP): <ulink url="&mplayer-download-http;"/>
54 </para>
[f29d6ee]55 </listitem>
56 <listitem>
[755bb92]57 <para>
58 Download (FTP): <ulink url="&mplayer-download-ftp;"/>
59 </para>
[f29d6ee]60 </listitem>
61 <listitem>
[755bb92]62 <para>
63 Download MD5 sum: &mplayer-md5sum;
64 </para>
[f29d6ee]65 </listitem>
66 <listitem>
[755bb92]67 <para>
68 Download size: &mplayer-size;
69 </para>
[f29d6ee]70 </listitem>
71 <listitem>
[755bb92]72 <para>
73 Estimated disk space required: &mplayer-buildsize;
74 </para>
[f29d6ee]75 </listitem>
76 <listitem>
[755bb92]77 <para>
78 Estimated build time: &mplayer-time;
79 </para>
[f29d6ee]80 </listitem>
81 </itemizedlist>
[e7d893b]82<!--
[52a2c8d]83 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[1c71552]84 <itemizedlist spacing='compact'>
85 <title>Required Patch</title>
86 <listitem>
[2106476]87 <para><ulink url="&patch-root;/MPlayer-1.3.0-x264_fix-1.patch"/></para>
[1c71552]88 </listitem>
89 </itemizedlist>
[e7d893b]90-->
[f29d6ee]91 <itemizedlist spacing='compact'>
92 <title>Skins</title>
93 <listitem>
[62662cb]94 <para>
95 GUI skin (HTTP): <ulink url="&mplayer-skin-download-http;"/>
96 </para>
[f29d6ee]97 </listitem>
98 <listitem>
[755bb92]99 <para>
100 GUI skin (FTP): <ulink url="&mplayer-skin-download-ftp;"/>
101 </para>
[f29d6ee]102 </listitem>
103 <listitem>
[755bb92]104 <para>
105 Skin MD5 sum: &mplayer-skin-md5sum;
106 </para>
[f29d6ee]107 </listitem>
108 <listitem>
[755bb92]109 <para>
110 Skin size: &mplayer-skin-size;
111 </para>
[f29d6ee]112 </listitem>
113 <listitem>
[62662cb]114 <para>
115 Alternative skins:
[31197e0]116 <ulink url="https://www.mplayerhq.hu/MPlayer/skins/"/>
[62662cb]117 </para>
[f29d6ee]118 </listitem>
119 </itemizedlist>
[62662cb]120
121 <note>
122 <para>
[2fcac83]123 Skins are only required in order to use the
124 <application>Gtk+ 2</application> user interface.
[62662cb]125 </para>
126 </note>
[f29d6ee]127
128 <bridgehead renderas="sect3">MPlayer Dependencies</bridgehead>
[d7ecaa6]129
[442bf14]130 <bridgehead renderas="sect4">Required</bridgehead>
[755bb92]131 <para role="required">
132 <xref linkend="yasm"/>
133 </para>
[62662cb]134
[874f1e88]135 <bridgehead renderas="sect4">Recommended</bridgehead>
[755bb92]136 <para role="recommended">
[07584d8]137 <xref linkend="gtk2"/> and
[e104a36]138 <xref linkend="libvdpau-va-gl"/>
[755bb92]139 </para>
[62662cb]140
[f29d6ee]141 <bridgehead renderas="sect4">Optional Input Drivers and Libraries</bridgehead>
[874f1e88]142 <para role="optional">
[62662cb]143 <xref linkend="cdparanoia"/>,
[f90448e]144 <xref linkend="libcdio"/> (to identify and play CDs),
[62662cb]145 <xref linkend="libdvdread"/>,
146 <xref linkend="libdvdnav"/>,
147 <xref linkend="libdvdcss"/>,
[3eadb03d]148 <xref linkend="samba"/>,
[62662cb]149 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
[755bb92]150 <ulink url="http://www.live555.com/">LIVE555 Streaming Media</ulink>,
[62662cb]151 <ulink url="http://rtmpdump.mplayerhq.hu/">RTMPDump</ulink>,
[31197e0]152 <ulink url="http://tivo-mplayer.sourceforge.net/mythtivo.html">TiVo vstream client</ulink>, and
[62662cb]153 <ulink url="http://www.xmms.org/">XMMS</ulink>
[874f1e88]154 </para>
[d7ecaa6]155
[f29d6ee]156 <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
[e2e42c7]157 <para role="optional">
158 <xref linkend="alsa"/>,
[d6da5da]159 <xref linkend="pulseaudio"/>,
[874f1e88]160 <xref linkend="sdl"/>,
161 <ulink url="http://jackaudio.org/">JACK</ulink>,
[3eadb03d]162 <ulink url="http://www.radscan.com/nas.html">NAS</ulink>, and
163 <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink>
[e2e42c7]164 </para>
[d7ecaa6]165
[f29d6ee]166 <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
[874f1e88]167 <para role="optional">
[62662cb]168 <xref linkend="aalib"/>,
[bccef10]169 <xref linkend="giflib"/>,
170 <xref linkend="libjpeg"/>,
171 <xref linkend="libmng"/>,
172 <xref linkend="libpng"/>,
[0fd465f5]173 <ulink url="https://sourceforge.net/projects/openjpeg.mirror/files/">OpenJPEG1</ulink>
[8763a1da]174 <ulink url="http://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,
[2fcac83]175 <ulink url="http://pkgs.fedoraproject.org/repo/pkgs/libcaca/">libcaca</ulink>, and
[bccef10]176 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>
[874f1e88]177 </para>
[50d88079]178
[f29d6ee]179 <bridgehead renderas="sect4">Optional CODECs</bridgehead>
[874f1e88]180 <para role="optional">
[aa93e7ab]181 <!-- includes its own version of FFmpeg which is the recommended one by
182 the devs <xref linkend="ffmpeg"/>, -->
[62662cb]183 <xref linkend="faac"/>,
184 <xref linkend="faad2"/>,
[3eadb03d]185 <xref linkend="lame"/>,
186 <xref linkend="liba52"/>,
[62662cb]187 <xref linkend="libdv"/>,
[3eadb03d]188 <xref linkend="libmad"/>,
[2fcac83]189 <xref linkend="libmpeg2"/>,
[3eadb03d]190 <xref linkend="libtheora"/>,
[62662cb]191 <xref linkend="libvpx"/>,
[3eadb03d]192 <xref linkend="lzo"/>,
193 <xref linkend="mpg123"/>,
194 <xref linkend="speex"/>,
195 <xref linkend="xvid"/>,
196 <xref linkend="x264"/>,
[31197e0]197 <ulink url="https://www.broadcom.com/support/crystal-hd">CrystalHD</ulink>,
[2fcac83]198<!-- <ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,-->
199 <ulink url="http://sourceforge.net/projects/dirac/">Dirac</ulink>,
[755bb92]200 <ulink url="http://www.quut.com/gsm/">GSM</ulink>,
[2fcac83]201 <ulink url="http://www.ilbcfreeware.org/">iLBC</ulink>,
[62662cb]202 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
[3eadb03d]203 <ulink url="http://wiki.multimedia.cx/index.php?title=NUT">libnut</ulink>,
[62662cb]204 <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
205 <ulink url="http://sourceforge.net/projects/opencore-amr/">OpenCore
[755bb92]206 Adaptive Multi Rate</ulink>,
[2fcac83]207<!-- <ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink>,-->
208 <ulink url="http://sourceforge.net/projects/schrodinger/">Schroedinger</ulink>,
209 <ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>, and
[3eadb03d]210 <ulink url="http://sourceforge.net/projects/twolame/">TwoLAME</ulink>
[874f1e88]211 </para>
[62662cb]212
[874f1e88]213 <bridgehead renderas="sect4">Optional Miscellaneous Dependencies</bridgehead>
214 <para role="optional">
215 <xref linkend="fontconfig"/>,
216 <xref linkend="freetype2"/>,
217 <xref linkend="fribidi"/>,
[2fcac83]218 <xref linkend="gnutls"/>,
[a4f37269]219 <!-- <xref linkend="openssl"/>, only valid for samba3 at this time -->
[95719ab]220 <xref linkend="opus"/>, and
[78b797d]221 <xref linkend="unrar"/>;
[93ebc67]222 <xref linkend="libxslt"/>,
223 <xref linkend="DocBook"/> and
[78b797d]224 <xref linkend="docbook-xsl"/> (all three required to build the HTML documentation); and
[3eadb03d]225 <ulink url="http://cihar.com/software/enca/">Enca</ulink>,
[d1c51434]226 <!--LADSPA plugins and other sites of the maintainer are down.
227 <ulink url="http://www.ladspa.org/">LADSPA</ulink>,-->
[3eadb03d]228 <ulink url="http://sourceforge.net/projects/bs2b/">libbs2b</ulink>, and
229 <ulink url="http://www.lirc.org/">LIRC</ulink> (and
230 <ulink url="http://www.dolda2000.com/~fredrik/lirccd/">LIRC Client Daemon</ulink>)
[874f1e88]231 </para>
[0e2aa08]232
[62662cb]233 <para condition="html" role="usernotes">
234 User Notes: <ulink url="&blfs-wiki;/mplayer"/>
235 </para>
[f29d6ee]236 </sect2>
237
238 <sect2 role="installation">
239 <title>Installation of MPlayer</title>
240
241 <sect3>
242 <title>Main MPlayer Installation</title>
243
244 <note>
[755bb92]245 <para>
246 The package maintainers recommend building without any
247 optimizations.
248 </para>
[f29d6ee]249 </note>
250
[62662cb]251 <para>
252 You may wish to examine the output from
253 <command>./configure --help</command> to find out what additional
254 parameters to <command>configure</command> are needed to include the
255 dependencies you have installed on your system.
256 </para>
[36ec89cb]257
[62662cb]258 <para>
259 Install <application>MPlayer</application> by running the following
260 commands:
261 </para>
262
[e7d893b]263<screen><userinput>./configure --prefix=/usr \
[62662cb]264 --confdir=/etc/mplayer \
[874f1e88]265 --enable-dynamic-plugins \
[62662cb]266 --enable-menu \
267 --enable-gui &amp;&amp;
[f29d6ee]268make</userinput></screen>
[ec2270f]269
[755bb92]270 <para>
[2fcac83]271 If you wish to build the HTML documentation, issue the
272 following command:
[755bb92]273 </para>
[93ebc67]274
275<screen><userinput>make doc</userinput></screen>
276
[755bb92]277 <para>
278 This package does not come with a test suite.
279 </para>
[ace94c34]280
[62662cb]281 <para>
282 Now, as the <systemitem class="username">root</systemitem> user:
283 </para>
[ec2270f]284
[2fcac83]285<screen role="root"><userinput>make install &amp;&amp;
286ln -svf ../icons/hicolor/48x48/apps/mplayer.png \
287 /usr/share/pixmaps/mplayer.png</userinput></screen>
[442bf14]288
[62662cb]289 <para>
[93ebc67]290 To install the HTML documentation, issue the following commands as the
291 <systemitem class="username">root</systemitem> user:
[62662cb]292 </para>
[442bf14]293
[93ebc67]294<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/mplayer-&mplayer-version; &amp;&amp;
295install -v -m644 DOCS/HTML/en/* \
296 /usr/share/doc/mplayer-&mplayer-version;</userinput></screen>
[442bf14]297
[62662cb]298 <para>
299 You will only need <filename>codecs.conf</filename> if you want to
300 change its properties, as the main binary contains an internal copy of
301 it. Ensure any changes you make to <filename>codecs.conf</filename>
302 achieve the desired results, as incorrect entries in this file have been
303 known to cause errors and render the player unusable. If necessary,
304 create the file as the <systemitem class="username">root</systemitem>
305 user:
306 </para>
[01062dd]307
[808c12f]308<screen role="root"><userinput>install -v -m644 etc/codecs.conf /etc/mplayer</userinput></screen>
[01062dd]309
[62662cb]310 <para>
311 You may alternatively want to copy all the default configuration files
312 to <filename class='directory'>/etc/mplayer</filename> for future
313 reference or more customization ability. As the
314 <systemitem class="username">root</systemitem> user:
315 </para>
[9aa1897]316
[808c12f]317<screen role="root"><userinput>install -v -m644 etc/*.conf /etc/mplayer</userinput></screen>
[2946338a]318
319 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
320 href="../../xincludes/update-icons-and-desktop.xml"/>
[755bb92]321
[f29d6ee]322 </sect3>
[0a35e881]323
[f29d6ee]324 <sect3>
[874f1e88]325 <title>Skin Installation (Optional)</title>
326
[62662cb]327 <para>
328 To enable the Gtk+ 2 frontend of <application>MPlayer</application>,
329 you'll need to install at least one skin. Extract the desired skin and
330 create the default location (as the
331 <systemitem class="username">root</systemitem> user):
332 </para>
[f29d6ee]333
[2fcac83]334<screen role="root"><userinput>tar -xvf ../&mplayer-skin;.tar.bz2 \
335 -C /usr/share/mplayer/skins &amp;&amp;
336ln -sfvn Clearlooks /usr/share/mplayer/skins/default</userinput></screen>
[f29d6ee]337 </sect3>
[874f1e88]338 </sect2>
[62662cb]339
[874f1e88]340 <sect2 role="commands">
341 <title>Command Explanations</title>
[62662cb]342
343 <para>
[93ebc67]344 <parameter>--enable-gui</parameter>: This option builds the GUI interface
345 into <command>mplayer</command>.
[62662cb]346 </para>
347
348 <para>
349 <parameter>--enable-menu</parameter>: This option is set to enable the
350 on-screen display.
351 </para>
[2fcac83]352<!--Currently broken
[bccef10]353 <para>
[2fcac83]354 <option>-\-disable-ffmpeg_a</option>: You can use this option if you have
[bccef10]355 installed <xref linkend="ffmpeg"/>. MPlayer includes a copy of the FFmpeg
356 source and without this option it will statically compile the included
357 version of FFmpeg into itself. Dynamically linking to a system installed
[5a464e4d]358 FFmpeg makes MPlayer and Mencoder about 9MB smaller. If MPlayer exhibits
359 unstable behavior linked to a system installed FFmpeg, try recompiling MPlayer
[bccef10]360 without this option (it is always more thoroughly tested with the included
361 FFmpeg).
[2fcac83]362 </para>-->
363
364 <para>
365 <option>--language-doc="<replaceable>&lt;lang&gt;</replaceable>"</option>:
366 This switch enables the language used for the documentation. Use
367 <command>./configure --help</command> to find out what additional
368 information.
369 </para>
370
371 <para>
372 <option>--language-man="<replaceable>&lt;lang&gt;</replaceable>"</option>:
373 This switch enables the language used for the man pages. Use
374 <command>./configure --help</command> to find out what additional
375 information.
[bccef10]376 </para>
[755bb92]377
[2fcac83]378 <para>
379 <option>--language-msg="<replaceable>&lt;lang&gt;</replaceable>"</option>:
380 This switch enables the language used for the messages and the GUI. Use
381 <command>./configure --help</command> to find out what additional
382 information.
383 </para>
384
385 <para>
386 <option>--language="<replaceable>&lt;lang&gt;</replaceable>"</option>:
387 This switch defines the default language used. Use <command>./configure
388 --help</command> to find out what additional information.
389 </para>
390
391 <note>
392 <para>
393 Specific options override --language. You can pass a list of
394 languages separated by whitespace or commas instead of a single
395 language. Nonexisting translations will be dropped from each list.
396 All documentation and man page translations available in the list
397 will be installed, for the messages the first available translation
398 will be used. The value "all" will activate all translations. The
399 LINGUAS environment variable is honored. In all cases the fallback is
400 English. Values listed by <command>./configure --help</command> are
401 not all available, as would normally be expected. You need to build
402 test.
403 </para>
404 </note>
405
[f29d6ee]406 </sect2>
407
408 <sect2 role="configuration">
409 <title>Configuring MPlayer</title>
410
411 <sect3 id="mplayer-config">
412 <title>Config Files</title>
413
[755bb92]414 <para>
415 <filename>/etc/mplayer/*</filename> and
416 <filename>~/.mplayer/*</filename>
417 </para>
[f29d6ee]418
[e104a36]419 <note><para>To play a DVD, it may be useful to ensure a /dev/dvd
420 device is created. You may need to set this up as described in
421 <xref linkend="dev-dvd"/>.</para></note>
422
[f29d6ee]423 <indexterm zone="mplayer mplayer-config">
424 <primary sortas="e-AA.mplayer">~/.mplayer/*</primary>
425 </indexterm>
426
427 <indexterm zone="mplayer mplayer-config">
428 <primary sortas="e-etc-mplayer">/etc/mplayer/*</primary>
429 </indexterm>
430 </sect3>
431
432 <sect3>
433 <title>Configuration Information</title>
434
[62662cb]435 <para>
436 Typically, there's no configuration required for the system-wide files
437 in <filename class='directory'>/etc/mplayer</filename> (in fact, this
438 directory is empty unless you copied the default files as mentioned
439 above). Configuration can be accomplished by choosing the configuration
440 button located on the <application>MPlayer</application> GUI. Any
441 configuration changes made in the GUI will be saved in the user's
442 <filename class='directory'>~/.mplayer</filename> directory.
443 </para>
[755bb92]444
[f29d6ee]445 </sect3>
[755bb92]446
[f29d6ee]447 </sect2>
[62662cb]448
[f29d6ee]449 <sect2 role="content">
450 <title>Contents</title>
451
452 <segmentedlist>
453 <segtitle>Installed Programs</segtitle>
454 <segtitle>Installed Libraries</segtitle>
455 <segtitle>Installed Directories</segtitle>
456
457 <seglistitem>
[755bb92]458 <seg>
459 gmplayer, mplayer and mencoder
460 </seg>
461 <seg>
462 None
463 </seg>
[faec3f7]464 <seg>
465 /etc/mplayer,
[10c82eb]466 /usr/share/doc/mplayer-&mplayer-version; and
467 /usr/share/mplayer
[faec3f7]468 </seg>
[f29d6ee]469 </seglistitem>
470 </segmentedlist>
471
472 <variablelist>
473 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
474 <?dbfo list-presentation="list"?>
475 <?dbhtml list-presentation="table"?>
476
477 <varlistentry id="gmplayer">
478 <term><command>gmplayer</command></term>
479 <listitem>
[62662cb]480 <para>
481 is a symlink to <command>mplayer</command> which brings up the
[755bb92]482 GTK+ 2 frontend of <application>MPlayer</application>.
[62662cb]483 </para>
[f29d6ee]484 <indexterm zone="mplayer gmplayer">
485 <primary sortas="b-gmplayer">gmplayer</primary>
486 </indexterm>
487 </listitem>
488 </varlistentry>
489
490 <varlistentry id="mplayer-prog">
491 <term><command>mplayer</command></term>
492 <listitem>
[874f1e88]493 <para> is the main MPlayer video player.</para>
[f29d6ee]494 <indexterm zone="mplayer mplayer-prog">
495 <primary sortas="b-mplayer">mplayer</primary>
496 </indexterm>
497 </listitem>
498 </varlistentry>
499
500 <varlistentry id="mencoder">
501 <term><command>mencoder</command></term>
502 <listitem>
[faec3f7]503 <para>
504 is a powerful command line video decoding, encoding and filtering
[62662cb]505 tool that is useful for (amongst other things) ripping DVDs to files
506 on your hard disk (see
507 /usr/share/doc/mplayer-&mplayer-version;/mencoder.html)
[faec3f7]508 </para>
[f29d6ee]509 <indexterm zone="mplayer mencoder">
510 <primary sortas="b-mencoder">mencoder</primary>
511 </indexterm>
512 </listitem>
513 </varlistentry>
[755bb92]514
[f29d6ee]515 </variablelist>
[755bb92]516
[f29d6ee]517 </sect2>
[755bb92]518
[f45b1953]519</sect1>
Note: See TracBrowser for help on using the repository browser.