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