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