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