source: multimedia/videoutils/mplayer.xml@ 215c728b

elogind
Last change on this file since 215c728b 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
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 "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-md5sum "58d39f72bf7f3ddaa9e019224bffcb74">
10 <!ENTITY mplayer-size "14 MB">
11 <!ENTITY mplayer-buildsize "207 MB">
12 <!ENTITY mplayer-time "1.4 SBU (Using parallelism=4)">
13
14 <!ENTITY mplayer-skin "Clearlooks-2.0">
15 <!ENTITY mplayer-skin-download-http "https://www.mplayerhq.hu/MPlayer/skins/&mplayer-skin;.tar.bz2">
16 <!ENTITY mplayer-skin-download-ftp "ftp://ftp.mplayerhq.hu/MPlayer/skins/&mplayer-skin;.tar.bz2">
17 <!ENTITY mplayer-skin-md5sum "c82d4dbd7f0c36dfecd63dff972807c5">
18 <!ENTITY mplayer-skin-size "34 KB">
19]>
20
21<sect1 id="mplayer" xreflabel="MPlayer-&mplayer-version;">
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
38 <para>
39 <application>MPlayer</application> is a powerful audio/video player
40 controlled via the command line or a graphical interface that is able to
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
47 &lfs84_checked;
48
49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
52 <para>
53 Download (HTTP): <ulink url="&mplayer-download-http;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download (FTP): <ulink url="&mplayer-download-ftp;"/>
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download MD5 sum: &mplayer-md5sum;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Download size: &mplayer-size;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated disk space required: &mplayer-buildsize;
74 </para>
75 </listitem>
76 <listitem>
77 <para>
78 Estimated build time: &mplayer-time;
79 </para>
80 </listitem>
81 </itemizedlist>
82<!--
83 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
84 <itemizedlist spacing='compact'>
85 <title>Required Patch</title>
86 <listitem>
87 <para><ulink url="&patch-root;/MPlayer-1.3.0-x264_fix-1.patch"/></para>
88 </listitem>
89 </itemizedlist>
90-->
91 <itemizedlist spacing='compact'>
92 <title>Skins</title>
93 <listitem>
94 <para>
95 GUI skin (HTTP): <ulink url="&mplayer-skin-download-http;"/>
96 </para>
97 </listitem>
98 <listitem>
99 <para>
100 GUI skin (FTP): <ulink url="&mplayer-skin-download-ftp;"/>
101 </para>
102 </listitem>
103 <listitem>
104 <para>
105 Skin MD5 sum: &mplayer-skin-md5sum;
106 </para>
107 </listitem>
108 <listitem>
109 <para>
110 Skin size: &mplayer-skin-size;
111 </para>
112 </listitem>
113 <listitem>
114 <para>
115 Alternative skins:
116 <ulink url="https://www.mplayerhq.hu/MPlayer/skins/"/>
117 </para>
118 </listitem>
119 </itemizedlist>
120
121 <note>
122 <para>
123 Skins are only required in order to use the
124 <application>Gtk+ 2</application> user interface.
125 </para>
126 </note>
127
128 <bridgehead renderas="sect3">MPlayer Dependencies</bridgehead>
129
130 <bridgehead renderas="sect4">Required</bridgehead>
131 <para role="required">
132 <xref linkend="yasm"/>
133 </para>
134
135 <bridgehead renderas="sect4">Recommended</bridgehead>
136 <para role="recommended">
137 <xref linkend="gtk2"/> and
138 <xref linkend="libvdpau-va-gl"/>
139 </para>
140
141 <bridgehead renderas="sect4">Optional Input Drivers and Libraries</bridgehead>
142 <para role="optional">
143 <xref linkend="cdparanoia"/>,
144 <xref linkend="libcdio"/> (to identify and play CDs),
145 <xref linkend="libdvdread"/>,
146 <xref linkend="libdvdnav"/>,
147 <xref linkend="libdvdcss"/>,
148 <xref linkend="samba"/>,
149 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
150 <ulink url="http://www.live555.com/">LIVE555 Streaming Media</ulink>,
151 <ulink url="http://rtmpdump.mplayerhq.hu/">RTMPDump</ulink>,
152 <ulink url="http://tivo-mplayer.sourceforge.net/mythtivo.html">TiVo vstream client</ulink>, and
153 <ulink url="http://www.xmms.org/">XMMS</ulink>
154 </para>
155
156 <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
157 <para role="optional">
158 <xref linkend="alsa"/>,
159 <xref linkend="pulseaudio"/>,
160 <xref linkend="sdl"/>,
161 <ulink url="http://jackaudio.org/">JACK</ulink>,
162 <ulink url="http://www.radscan.com/nas.html">NAS</ulink>, and
163 <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink>
164 </para>
165
166 <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
167 <para role="optional">
168 <xref linkend="aalib"/>,
169 <xref linkend="giflib"/>,
170 <xref linkend="libjpeg"/>,
171 <xref linkend="libmng"/>,
172 <xref linkend="libpng"/>,
173 <ulink url="https://sourceforge.net/projects/openjpeg.mirror/files/">OpenJPEG1</ulink>
174 <ulink url="http://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,
175 <ulink url="http://pkgs.fedoraproject.org/repo/pkgs/libcaca/">libcaca</ulink>, and
176 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>
177 </para>
178
179 <bridgehead renderas="sect4">Optional CODECs</bridgehead>
180 <para role="optional">
181 <!-- includes its own version of FFmpeg which is the recommended one by
182 the devs <xref linkend="ffmpeg"/>, -->
183 <xref linkend="faac"/>,
184 <xref linkend="faad2"/>,
185 <xref linkend="lame"/>,
186 <xref linkend="liba52"/>,
187 <xref linkend="libdv"/>,
188 <xref linkend="libmad"/>,
189 <xref linkend="libmpeg2"/>,
190 <xref linkend="libtheora"/>,
191 <xref linkend="libvpx"/>,
192 <xref linkend="lzo"/>,
193 <xref linkend="mpg123"/>,
194 <xref linkend="speex"/>,
195 <xref linkend="xvid"/>,
196 <xref linkend="x264"/>,
197 <ulink url="https://www.broadcom.com/support/crystal-hd">CrystalHD</ulink>,
198<!-- <ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,-->
199 <ulink url="http://sourceforge.net/projects/dirac/">Dirac</ulink>,
200 <ulink url="http://www.quut.com/gsm/">GSM</ulink>,
201 <ulink url="http://www.ilbcfreeware.org/">iLBC</ulink>,
202 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
203 <ulink url="http://wiki.multimedia.cx/index.php?title=NUT">libnut</ulink>,
204 <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
205 <ulink url="http://sourceforge.net/projects/opencore-amr/">OpenCore
206 Adaptive Multi Rate</ulink>,
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
210 <ulink url="http://sourceforge.net/projects/twolame/">TwoLAME</ulink>
211 </para>
212
213 <bridgehead renderas="sect4">Optional Miscellaneous Dependencies</bridgehead>
214 <para role="optional">
215 <xref linkend="fontconfig"/>,
216 <xref linkend="freetype2"/>,
217 <xref linkend="fribidi"/>,
218 <xref linkend="gnutls"/>,
219 <!-- <xref linkend="openssl"/>, only valid for samba3 at this time -->
220 <xref linkend="opus"/>, and
221 <xref linkend="unrar"/>;
222 <xref linkend="libxslt"/>,
223 <xref linkend="DocBook"/> and
224 <xref linkend="docbook-xsl"/> (all three required to build the HTML documentation); and
225 <ulink url="http://cihar.com/software/enca/">Enca</ulink>,
226 <!--LADSPA plugins and other sites of the maintainer are down.
227 <ulink url="http://www.ladspa.org/">LADSPA</ulink>,-->
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>)
231 </para>
232
233 <para condition="html" role="usernotes">
234 User Notes: <ulink url="&blfs-wiki;/mplayer"/>
235 </para>
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>
245 <para>
246 The package maintainers recommend building without any
247 optimizations.
248 </para>
249 </note>
250
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>
257
258 <para>
259 Install <application>MPlayer</application> by running the following
260 commands:
261 </para>
262
263<screen><userinput>./configure --prefix=/usr \
264 --confdir=/etc/mplayer \
265 --enable-dynamic-plugins \
266 --enable-menu \
267 --enable-gui &amp;&amp;
268make</userinput></screen>
269
270 <para>
271 If you wish to build the HTML documentation, issue the
272 following command:
273 </para>
274
275<screen><userinput>make doc</userinput></screen>
276
277 <para>
278 This package does not come with a test suite.
279 </para>
280
281 <para>
282 Now, as the <systemitem class="username">root</systemitem> user:
283 </para>
284
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>
288
289 <para>
290 To install the HTML documentation, issue the following commands as the
291 <systemitem class="username">root</systemitem> user:
292 </para>
293
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>
297
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>
307
308<screen role="root"><userinput>install -v -m644 etc/codecs.conf /etc/mplayer</userinput></screen>
309
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>
316
317<screen role="root"><userinput>install -v -m644 etc/*.conf /etc/mplayer</userinput></screen>
318
319 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
320 href="../../xincludes/update-icons-and-desktop.xml"/>
321
322 </sect3>
323
324 <sect3>
325 <title>Skin Installation (Optional)</title>
326
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>
333
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>
337 </sect3>
338 </sect2>
339
340 <sect2 role="commands">
341 <title>Command Explanations</title>
342
343 <para>
344 <parameter>--enable-gui</parameter>: This option builds the GUI interface
345 into <command>mplayer</command>.
346 </para>
347
348 <para>
349 <parameter>--enable-menu</parameter>: This option is set to enable the
350 on-screen display.
351 </para>
352<!--Currently broken
353 <para>
354 <option>-\-disable-ffmpeg_a</option>: You can use this option if you have
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
358 FFmpeg makes MPlayer and Mencoder about 9MB smaller. If MPlayer exhibits
359 unstable behavior linked to a system installed FFmpeg, try recompiling MPlayer
360 without this option (it is always more thoroughly tested with the included
361 FFmpeg).
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.
376 </para>
377
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
406 </sect2>
407
408 <sect2 role="configuration">
409 <title>Configuring MPlayer</title>
410
411 <sect3 id="mplayer-config">
412 <title>Config Files</title>
413
414 <para>
415 <filename>/etc/mplayer/*</filename> and
416 <filename>~/.mplayer/*</filename>
417 </para>
418
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
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
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>
444
445 </sect3>
446
447 </sect2>
448
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>
458 <seg>
459 gmplayer, mplayer and mencoder
460 </seg>
461 <seg>
462 None
463 </seg>
464 <seg>
465 /etc/mplayer,
466 /usr/share/doc/mplayer-&mplayer-version; and
467 /usr/share/mplayer
468 </seg>
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>
480 <para>
481 is a symlink to <command>mplayer</command> which brings up the
482 GTK+ 2 frontend of <application>MPlayer</application>.
483 </para>
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>
493 <para> is the main MPlayer video player.</para>
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>
503 <para>
504 is a powerful command line video decoding, encoding and filtering
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)
508 </para>
509 <indexterm zone="mplayer mencoder">
510 <primary sortas="b-mencoder">mencoder</primary>
511 </indexterm>
512 </listitem>
513 </varlistentry>
514
515 </variablelist>
516
517 </sect2>
518
519</sect1>
Note: See TracBrowser for help on using the repository browser.