source: multimedia/videoutils/mplayer.xml@ a4f37269

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 a4f37269 was a4f37269, checked in by DJ Lucas <dj@…>, 7 years ago

Update to OpenSSL-1.1.0f. Fixes #8214.
Update to OpenSSL Libraries 1.0.2l. Fixes #9282.
Remove Re-alpine and raplaced with Alpine-2.21.

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

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