source: multimedia/videoutils/mplayer.xml@ eede1a3

11.0 11.1 11.2 11.3 12.0 12.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 eede1a3 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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