source: multimedia/videoutils/mplayer.xml@ af73a280

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

Package updates and fixes. kdepim patch unnecesary with 4.10.3. Fix alsa-lib issues when building libkcompactdisc.

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

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