source: multimedia/videoutils/mplayer.xml@ a5070e6

systemd-11177
Last change on this file since a5070e6 was ffa42a5, checked in by Krejzi <krejzi@…>, 11 years ago

Update systemd branch.

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

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