source: multimedia/videoutils/mplayer.xml@ 72b8751

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 72b8751 was 2106476, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Fix mplayer patch url

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

  • Property mode set to 100644
File size: 18.3 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">
[e104a36]9 <!ENTITY mplayer-md5sum "e8a4d77ad4f509e81dd5e13b51636c1d">
[1c71552]10 <!ENTITY mplayer-size "12.7 MB">
11 <!ENTITY mplayer-buildsize "204 MB">
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
[1c71552]47 &lfs83_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>
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>
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
[1c71552]263<screen><userinput>patch -Np0 -i ../MPlayer-1.3.0-x264_fix-1.patch &amp;&amp;
264
265./configure --prefix=/usr \
[62662cb]266 --confdir=/etc/mplayer \
[874f1e88]267 --enable-dynamic-plugins \
[62662cb]268 --enable-menu \
269 --enable-gui &amp;&amp;
[f29d6ee]270make</userinput></screen>
[ec2270f]271
[755bb92]272 <para>
[2fcac83]273 If you wish to build the HTML documentation, issue the
274 following command:
[755bb92]275 </para>
[93ebc67]276
277<screen><userinput>make doc</userinput></screen>
278
[755bb92]279 <para>
280 This package does not come with a test suite.
281 </para>
[ace94c34]282
[62662cb]283 <para>
284 Now, as the <systemitem class="username">root</systemitem> user:
285 </para>
[ec2270f]286
[2fcac83]287<screen role="root"><userinput>make install &amp;&amp;
288ln -svf ../icons/hicolor/48x48/apps/mplayer.png \
289 /usr/share/pixmaps/mplayer.png</userinput></screen>
[442bf14]290
[62662cb]291 <para>
[93ebc67]292 To install the HTML documentation, issue the following commands as the
293 <systemitem class="username">root</systemitem> user:
[62662cb]294 </para>
[442bf14]295
[93ebc67]296<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/mplayer-&mplayer-version; &amp;&amp;
297install -v -m644 DOCS/HTML/en/* \
298 /usr/share/doc/mplayer-&mplayer-version;</userinput></screen>
[442bf14]299
[62662cb]300 <para>
301 You will only need <filename>codecs.conf</filename> if you want to
302 change its properties, as the main binary contains an internal copy of
303 it. Ensure any changes you make to <filename>codecs.conf</filename>
304 achieve the desired results, as incorrect entries in this file have been
305 known to cause errors and render the player unusable. If necessary,
306 create the file as the <systemitem class="username">root</systemitem>
307 user:
308 </para>
[01062dd]309
[808c12f]310<screen role="root"><userinput>install -v -m644 etc/codecs.conf /etc/mplayer</userinput></screen>
[01062dd]311
[62662cb]312 <para>
313 You may alternatively want to copy all the default configuration files
314 to <filename class='directory'>/etc/mplayer</filename> for future
315 reference or more customization ability. As the
316 <systemitem class="username">root</systemitem> user:
317 </para>
[9aa1897]318
[808c12f]319<screen role="root"><userinput>install -v -m644 etc/*.conf /etc/mplayer</userinput></screen>
[2946338a]320
321 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
322 href="../../xincludes/update-icons-and-desktop.xml"/>
[755bb92]323
[f29d6ee]324 </sect3>
[0a35e881]325
[f29d6ee]326 <sect3>
[874f1e88]327 <title>Skin Installation (Optional)</title>
328
[62662cb]329 <para>
330 To enable the Gtk+ 2 frontend of <application>MPlayer</application>,
331 you'll need to install at least one skin. Extract the desired skin and
332 create the default location (as the
333 <systemitem class="username">root</systemitem> user):
334 </para>
[f29d6ee]335
[2fcac83]336<screen role="root"><userinput>tar -xvf ../&mplayer-skin;.tar.bz2 \
337 -C /usr/share/mplayer/skins &amp;&amp;
338ln -sfvn Clearlooks /usr/share/mplayer/skins/default</userinput></screen>
[f29d6ee]339 </sect3>
[874f1e88]340 </sect2>
[62662cb]341
[874f1e88]342 <sect2 role="commands">
343 <title>Command Explanations</title>
[62662cb]344
345 <para>
[93ebc67]346 <parameter>--enable-gui</parameter>: This option builds the GUI interface
347 into <command>mplayer</command>.
[62662cb]348 </para>
349
350 <para>
351 <parameter>--enable-menu</parameter>: This option is set to enable the
352 on-screen display.
353 </para>
[2fcac83]354<!--Currently broken
[bccef10]355 <para>
[2fcac83]356 <option>-\-disable-ffmpeg_a</option>: You can use this option if you have
[bccef10]357 installed <xref linkend="ffmpeg"/>. MPlayer includes a copy of the FFmpeg
358 source and without this option it will statically compile the included
359 version of FFmpeg into itself. Dynamically linking to a system installed
[5a464e4d]360 FFmpeg makes MPlayer and Mencoder about 9MB smaller. If MPlayer exhibits
361 unstable behavior linked to a system installed FFmpeg, try recompiling MPlayer
[bccef10]362 without this option (it is always more thoroughly tested with the included
363 FFmpeg).
[2fcac83]364 </para>-->
365
366 <para>
367 <option>--language-doc="<replaceable>&lt;lang&gt;</replaceable>"</option>:
368 This switch enables the language used for the documentation. Use
369 <command>./configure --help</command> to find out what additional
370 information.
371 </para>
372
373 <para>
374 <option>--language-man="<replaceable>&lt;lang&gt;</replaceable>"</option>:
375 This switch enables the language used for the man pages. Use
376 <command>./configure --help</command> to find out what additional
377 information.
[bccef10]378 </para>
[755bb92]379
[2fcac83]380 <para>
381 <option>--language-msg="<replaceable>&lt;lang&gt;</replaceable>"</option>:
382 This switch enables the language used for the messages and the GUI. Use
383 <command>./configure --help</command> to find out what additional
384 information.
385 </para>
386
387 <para>
388 <option>--language="<replaceable>&lt;lang&gt;</replaceable>"</option>:
389 This switch defines the default language used. Use <command>./configure
390 --help</command> to find out what additional information.
391 </para>
392
393 <note>
394 <para>
395 Specific options override --language. You can pass a list of
396 languages separated by whitespace or commas instead of a single
397 language. Nonexisting translations will be dropped from each list.
398 All documentation and man page translations available in the list
399 will be installed, for the messages the first available translation
400 will be used. The value "all" will activate all translations. The
401 LINGUAS environment variable is honored. In all cases the fallback is
402 English. Values listed by <command>./configure --help</command> are
403 not all available, as would normally be expected. You need to build
404 test.
405 </para>
406 </note>
407
[f29d6ee]408 </sect2>
409
410 <sect2 role="configuration">
411 <title>Configuring MPlayer</title>
412
413 <sect3 id="mplayer-config">
414 <title>Config Files</title>
415
[755bb92]416 <para>
417 <filename>/etc/mplayer/*</filename> and
418 <filename>~/.mplayer/*</filename>
419 </para>
[f29d6ee]420
[e104a36]421 <note><para>To play a DVD, it may be useful to ensure a /dev/dvd
422 device is created. You may need to set this up as described in
423 <xref linkend="dev-dvd"/>.</para></note>
424
[f29d6ee]425 <indexterm zone="mplayer mplayer-config">
426 <primary sortas="e-AA.mplayer">~/.mplayer/*</primary>
427 </indexterm>
428
429 <indexterm zone="mplayer mplayer-config">
430 <primary sortas="e-etc-mplayer">/etc/mplayer/*</primary>
431 </indexterm>
432 </sect3>
433
434 <sect3>
435 <title>Configuration Information</title>
436
[62662cb]437 <para>
438 Typically, there's no configuration required for the system-wide files
439 in <filename class='directory'>/etc/mplayer</filename> (in fact, this
440 directory is empty unless you copied the default files as mentioned
441 above). Configuration can be accomplished by choosing the configuration
442 button located on the <application>MPlayer</application> GUI. Any
443 configuration changes made in the GUI will be saved in the user's
444 <filename class='directory'>~/.mplayer</filename> directory.
445 </para>
[755bb92]446
[f29d6ee]447 </sect3>
[755bb92]448
[f29d6ee]449 </sect2>
[62662cb]450
[f29d6ee]451 <sect2 role="content">
452 <title>Contents</title>
453
454 <segmentedlist>
455 <segtitle>Installed Programs</segtitle>
456 <segtitle>Installed Libraries</segtitle>
457 <segtitle>Installed Directories</segtitle>
458
459 <seglistitem>
[755bb92]460 <seg>
461 gmplayer, mplayer and mencoder
462 </seg>
463 <seg>
464 None
465 </seg>
[faec3f7]466 <seg>
467 /etc/mplayer,
[10c82eb]468 /usr/share/doc/mplayer-&mplayer-version; and
469 /usr/share/mplayer
[faec3f7]470 </seg>
[f29d6ee]471 </seglistitem>
472 </segmentedlist>
473
474 <variablelist>
475 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
476 <?dbfo list-presentation="list"?>
477 <?dbhtml list-presentation="table"?>
478
479 <varlistentry id="gmplayer">
480 <term><command>gmplayer</command></term>
481 <listitem>
[62662cb]482 <para>
483 is a symlink to <command>mplayer</command> which brings up the
[755bb92]484 GTK+ 2 frontend of <application>MPlayer</application>.
[62662cb]485 </para>
[f29d6ee]486 <indexterm zone="mplayer gmplayer">
487 <primary sortas="b-gmplayer">gmplayer</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
492 <varlistentry id="mplayer-prog">
493 <term><command>mplayer</command></term>
494 <listitem>
[874f1e88]495 <para> is the main MPlayer video player.</para>
[f29d6ee]496 <indexterm zone="mplayer mplayer-prog">
497 <primary sortas="b-mplayer">mplayer</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="mencoder">
503 <term><command>mencoder</command></term>
504 <listitem>
[faec3f7]505 <para>
506 is a powerful command line video decoding, encoding and filtering
[62662cb]507 tool that is useful for (amongst other things) ripping DVDs to files
508 on your hard disk (see
509 /usr/share/doc/mplayer-&mplayer-version;/mencoder.html)
[faec3f7]510 </para>
[f29d6ee]511 <indexterm zone="mplayer mencoder">
512 <primary sortas="b-mencoder">mencoder</primary>
513 </indexterm>
514 </listitem>
515 </varlistentry>
[755bb92]516
[f29d6ee]517 </variablelist>
[755bb92]518
[f29d6ee]519 </sect2>
[755bb92]520
[f45b1953]521</sect1>
Note: See TracBrowser for help on using the repository browser.