[f29d6ee] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[01062dd] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[0a35e881] | 6 |
|
---|
[7eba4892] | 7 | <!ENTITY mplayer-download-http "http://www.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.bz2">
|
---|
[01062dd] | 8 | <!ENTITY mplayer-download-ftp "ftp://ftp1.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.bz2">
|
---|
[7eba4892] | 9 | <!ENTITY mplayer-md5sum "aaca4fd327176c1afb463f0f047ef6f4">
|
---|
| 10 | <!ENTITY mplayer-size "6.6 MB">
|
---|
[9a9df1f8] | 11 | <!ENTITY mplayer-buildsize "97 MB (additional 22 MB for essential CODECs)">
|
---|
| 12 | <!ENTITY mplayer-time "2.0 SBU">
|
---|
[6c0c2a83] | 13 |
|
---|
[9a9df1f8] | 14 | <!ENTITY mplayer-codec "essential-20050412.tar.bz2">
|
---|
| 15 | <!ENTITY mplayer-codec-md5sum "5fe89bb095bdf9b4f9cda5479dbde906">
|
---|
| 16 | <!ENTITY mplayer-codec-size "9.3 MB">
|
---|
[f7ae70f] | 17 | <!ENTITY mplayer-alt-codec "all-20050412.tar.bz2">
|
---|
[6c0c2a83] | 18 |
|
---|
[4ec808b] | 19 | <!ENTITY mplayer-skin "Blue-1.5.tar.bz2">
|
---|
| 20 | <!ENTITY mplayer-skin-md5sum "371fa9457f0f23295ddaa93b57d862a0">
|
---|
| 21 | <!ENTITY mplayer-skin-size "218 KB">
|
---|
[6c0c2a83] | 22 |
|
---|
| 23 | <!ENTITY mplayer-font "font-arial-iso-8859-1">
|
---|
| 24 | <!ENTITY mplayer-font-md5sum "1ecd31d17b51f16332b1fcc7da36b312">
|
---|
| 25 | <!ENTITY mplayer-font-size "234 KB">
|
---|
[01062dd] | 26 | ]>
|
---|
| 27 |
|
---|
[0b5a693] | 28 | <sect1 id="mplayer" xreflabel="MPlayer-&mplayer-version;">
|
---|
[f29d6ee] | 29 | <?dbhtml filename="mplayer.html"?>
|
---|
| 30 |
|
---|
| 31 | <sect1info>
|
---|
| 32 | <othername>$LastChangedBy$</othername>
|
---|
| 33 | <date>$Date$</date>
|
---|
[4b4814c2] | 34 | <keywordset>
|
---|
| 35 | <keyword role="package">MPlayer-&mplayer-version;.tar</keyword>
|
---|
[f15e274] | 36 | <keyword role="ftpdir">MPlayer</keyword>
|
---|
[4b4814c2] | 37 | </keywordset>
|
---|
[f29d6ee] | 38 | </sect1info>
|
---|
| 39 |
|
---|
| 40 | <title>MPlayer-&mplayer-version;</title>
|
---|
| 41 |
|
---|
| 42 | <indexterm zone="mplayer">
|
---|
| 43 | <primary sortas="a-MPlayer">MPlayer</primary>
|
---|
| 44 | </indexterm>
|
---|
| 45 |
|
---|
| 46 | <sect2 role="package">
|
---|
| 47 | <title>Introduction to MPlayer</title>
|
---|
| 48 |
|
---|
[79ccca0] | 49 | <para>The <application>MPlayer</application> package contains an audio/video
|
---|
| 50 | player controlled via the command line or a graphical interface which is able
|
---|
| 51 | to play almost every popular audio and video file format and CODEC
|
---|
| 52 | (COder/DECoder, also COmpressor/DECompressor). With supported video
|
---|
| 53 | hardware and additional drivers, <application>MPlayer</application> can play
|
---|
[f29d6ee] | 54 | video files without an <application>X Window System</application> installed.</para>
|
---|
| 55 |
|
---|
[79ccca0] | 56 | <para>For <application>MPlayer</application> general information and
|
---|
| 57 | available features, including a full list of file formats, CODECs and
|
---|
| 58 | output devices supported by <application>MPlayer</application>, visit the
|
---|
[f29d6ee] | 59 | <ulink url="http://www1.mplayerhq.hu/homepage/design7/info.html">
|
---|
| 60 | <application>MPlayer</application> web site</ulink>.</para>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 63 | <itemizedlist spacing="compact">
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Download (HTTP): <ulink url="&mplayer-download-http;"/></para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>Download (FTP): <ulink url="&mplayer-download-ftp;"/></para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>Download MD5 sum: &mplayer-md5sum;</para>
|
---|
| 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>Download size: &mplayer-size;</para>
|
---|
| 75 | </listitem>
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>Estimated disk space required: &mplayer-buildsize;</para>
|
---|
| 78 | </listitem>
|
---|
| 79 | <listitem>
|
---|
| 80 | <para>Estimated build time: &mplayer-time;</para>
|
---|
| 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[d7ecaa6] | 85 |
|
---|
[f29d6ee] | 86 | <itemizedlist spacing='compact'>
|
---|
| 87 | <title>Patches</title>
|
---|
[da98fb3] | 88 | <listitem>
|
---|
| 89 | <para>Required Patch: <ulink
|
---|
| 90 | url="&patch-root;/MPlayer-&mplayer-version;-gcc4-1.patch"/></para>
|
---|
| 91 | </listitem>
|
---|
[f7ae70f] | 92 | <listitem>
|
---|
| 93 | <para>Required Patch: <ulink
|
---|
| 94 | url="&patch-root;/MPlayer-&mplayer-version;-x264_fixes-1.patch"/></para>
|
---|
| 95 | </listitem>
|
---|
[d08127d] | 96 | <listitem>
|
---|
| 97 | <para>Required Patch: <ulink
|
---|
| 98 | url="&patch-root;/MPlayer-&mplayer-version;-jack_fixes-1.patch"/></para>
|
---|
| 99 | </listitem>
|
---|
[f29d6ee] | 100 | <listitem>
|
---|
[79ccca0] | 101 | <para>Required Patch (for fbdev driver support): <ulink
|
---|
[f29d6ee] | 102 | url="&patch-root;/MPlayer-&mplayer-version;-kernel_2.6-1.patch"/></para>
|
---|
| 103 | </listitem>
|
---|
| 104 | </itemizedlist>
|
---|
| 105 |
|
---|
| 106 | <itemizedlist spacing='compact'>
|
---|
| 107 | <title>CODECs</title>
|
---|
| 108 | <listitem>
|
---|
[79ccca0] | 109 | <para>Proprietary CODECs: <ulink
|
---|
[f29d6ee] | 110 | url="http://www.mplayerhq.hu/MPlayer/releases/codecs/&mplayer-codec;"/></para>
|
---|
| 111 | </listitem>
|
---|
| 112 | <listitem>
|
---|
| 113 | <para>Download MD5 sum: &mplayer-codec-md5sum;</para>
|
---|
| 114 | </listitem>
|
---|
| 115 | <listitem>
|
---|
| 116 | <para>Download size: &mplayer-codec-size;</para>
|
---|
[f7ae70f] | 117 | </listitem>
|
---|
| 118 | <listitem>
|
---|
[6473e74] | 119 | <para>Alternate CODECs (provides additional functionality and is a
|
---|
[f7ae70f] | 120 | larger file): <ulink
|
---|
| 121 | url="http://www.mplayerhq.hu/MPlayer/releases/codecs/&mplayer-alt-codec;"/></para>
|
---|
[f29d6ee] | 122 | </listitem>
|
---|
[79ccca0] | 123 | <listitem><para>Additional CODECs: <ulink
|
---|
[f29d6ee] | 124 | url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/></para>
|
---|
| 125 | </listitem>
|
---|
| 126 | </itemizedlist>
|
---|
| 127 |
|
---|
| 128 | <itemizedlist spacing='compact'>
|
---|
| 129 | <title>Skins</title>
|
---|
| 130 | <listitem>
|
---|
[79ccca0] | 131 | <para>Default GUI skin: <ulink
|
---|
[7eba4892] | 132 | url="http://www.mplayerhq.hu/MPlayer/Skin/&mplayer-skin;"/></para>
|
---|
[f29d6ee] | 133 | </listitem>
|
---|
| 134 | <listitem>
|
---|
| 135 | <para>Download MD5 sum: &mplayer-skin-md5sum;</para>
|
---|
| 136 | </listitem>
|
---|
| 137 | <listitem>
|
---|
| 138 | <para>Download size: &mplayer-skin-size;</para>
|
---|
| 139 | </listitem>
|
---|
| 140 | <listitem>
|
---|
[79ccca0] | 141 | <para>Additional skins: <ulink
|
---|
[f29d6ee] | 142 | url="http://www1.mplayerhq.hu/MPlayer/Skin/"/></para>
|
---|
| 143 | </listitem>
|
---|
| 144 | </itemizedlist>
|
---|
| 145 |
|
---|
| 146 | <itemizedlist spacing='compact'>
|
---|
| 147 | <title>Fonts</title>
|
---|
| 148 | <listitem>
|
---|
[79ccca0] | 149 | <para>Prerendered fonts: <ulink
|
---|
[f29d6ee] | 150 | url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/&mplayer-font;.tar.bz2"/></para>
|
---|
| 151 | </listitem>
|
---|
| 152 | <listitem>
|
---|
| 153 | <para>Download MD5 sum: &mplayer-font-md5sum;</para>
|
---|
| 154 | </listitem>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>Download size: &mplayer-font-size;</para>
|
---|
| 157 | </listitem>
|
---|
| 158 | <listitem>
|
---|
[79ccca0] | 159 | <para>Additional fonts: <ulink
|
---|
[f29d6ee] | 160 | url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/"/></para>
|
---|
| 161 | </listitem>
|
---|
| 162 | </itemizedlist>
|
---|
| 163 |
|
---|
| 164 | <note>
|
---|
[79ccca0] | 165 | <para>The CODECs, skins and fonts are not required to
|
---|
[f29d6ee] | 166 | build and use <application>MPlayer</application>.</para>
|
---|
| 167 | </note>
|
---|
| 168 |
|
---|
| 169 | <bridgehead renderas="sect3">MPlayer Dependencies</bridgehead>
|
---|
[d7ecaa6] | 170 |
|
---|
[f29d6ee] | 171 | <bridgehead renderas="sect4">Optional Input Drivers and Libraries</bridgehead>
|
---|
[4b4814c2] | 172 | <para role="optional"><xref linkend="cdparanoia"/>,
|
---|
[79ccca0] | 173 | <xref linkend="libdv"/>,
|
---|
[f7ae70f] | 174 | <xref linkend="libdvdread"/> (must disable internal mpdvdkit support),
|
---|
[79ccca0] | 175 | <xref linkend="samba3"/>,
|
---|
[5d1d9df] | 176 | <ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>,
|
---|
[5e9008a] | 177 | <ulink url="http://armory.nicewarrior.org/projects/vstream-client/">TiVo vstream client</ulink>,
|
---|
[f7ae70f] | 178 | <!-- Disabling for now as only internal Matroska support is available
|
---|
[d7ecaa6] | 179 | <ulink url="http://www.matroska.org/downloads/linux.html">libmatroska</ulink>
|
---|
[79ccca0] | 180 | (requires
|
---|
[f7ae70f] | 181 | <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>), -->
|
---|
| 182 | <ulink url="http://www.linuxtv.org/">DVB drivers</ulink>, and
|
---|
| 183 | <ulink url="http://www.metzlerbros.org/dvb/">DVB</ulink></para>
|
---|
[d7ecaa6] | 184 |
|
---|
[f29d6ee] | 185 | <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
|
---|
[4b4814c2] | 186 | <para role="optional"><xref linkend="alsa"/>,
|
---|
[79ccca0] | 187 | <xref linkend="arts"/>,
|
---|
| 188 | <xref linkend="esound"/>,
|
---|
| 189 | <xref linkend="nas"/>,
|
---|
| 190 | <xref linkend="sdl"/> (also used for video output),
|
---|
| 191 | <xref linkend="xmms"/>,
|
---|
[12ca7381] | 192 | <ulink url="http://0pointer.de/lennart/projects/polypaudio/">polypaudio</ulink>,
|
---|
[79ccca0] | 193 | <ulink url="http://bio2jack.sourceforge.net/">bio2jack</ulink> (requires
|
---|
[f7ae70f] | 194 | <ulink url="http://jackit.sourceforge.net/">JACK</ulink>), and
|
---|
| 195 | <ulink url="http://www.ladspa.org/">LADSPA</ulink></para>
|
---|
[d7ecaa6] | 196 |
|
---|
[f29d6ee] | 197 | <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
|
---|
[e77976f] | 198 | <para role="optional"><xref linkend="x-window-system"/>,
|
---|
[79ccca0] | 199 | <xref linkend="libpng"/>,
|
---|
| 200 | <xref linkend="libjpeg"/>,
|
---|
[0d93d684] | 201 | <!-- <xref linkend="libungif"/> or -->
|
---|
| 202 | <xref linkend="giflib"/>,
|
---|
[79ccca0] | 203 | <xref linkend="GTK"/>,
|
---|
| 204 | <xref linkend="freetype2"/>,
|
---|
| 205 | <xref linkend="fontconfig"/>,
|
---|
| 206 | <xref linkend="aalib"/>,
|
---|
[b9d81c7f] | 207 | <xref linkend="fribidi"/>,
|
---|
[5e9008a] | 208 | <ulink url="http://sourceforge.net/projects/unichrome/">XvMC Wrapper</ulink>,
|
---|
[79ccca0] | 209 | <ulink url="http://www.directfb.org/">DirectFB</ulink>,
|
---|
| 210 | <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
|
---|
| 211 | <ulink url="http://www.ggi-project.org/">GGI</ulink>,
|
---|
[f7ae70f] | 212 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>, and
|
---|
[f29d6ee] | 213 | <ulink url="http://trific.ath.cx/software/enca/">Enca</ulink></para>
|
---|
[d7ecaa6] | 214 |
|
---|
[f29d6ee] | 215 | <bridgehead renderas="sect4">Optional CODECs</bridgehead>
|
---|
[4b4814c2] | 216 | <para role="optional"><xref linkend="libvorbis"/>,
|
---|
[79ccca0] | 217 | <xref linkend="xvid"/>,
|
---|
[f7ae70f] | 218 | <xref linkend="LZO"/> (requires <ulink
|
---|
| 219 | url="http://www.oberhumer.com/opensource/lzo/download/LZO-v1/lzo-1.08.tar.gz">
|
---|
| 220 | Version 1</ulink>),
|
---|
[79ccca0] | 221 | <xref linkend="libmad"/>,
|
---|
| 222 | <xref linkend="lame"/>,
|
---|
| 223 | <xref linkend="libfame"/>,
|
---|
| 224 | <ulink url="http://www.theora.org/">Theora</ulink>,
|
---|
[4ec808b] | 225 | <!-- Dead link
|
---|
[f7ae70f] | 226 | <ulink url="http://www.xiph.org/ogg/vorbis/index.html">Tremor</ulink>
|
---|
| 227 | (requires <xref linkend="libvorbis"/> and you must disable the internal
|
---|
| 228 | version),
|
---|
[4ec808b] | 229 | -->
|
---|
[f7ae70f] | 230 | <ulink url="http://sourceforge.net/projects/faac">FAAD2</ulink>
|
---|
| 231 | (must disable internal version to use the system-installed version),
|
---|
| 232 | <ulink url="http://developers.videolan.org/x264.html">x264</ulink>,
|
---|
[4ec808b] | 233 | <!-- Dead link
|
---|
[f7ae70f] | 234 | <ulink url="http://www.divx.com/divx/linux/">DivX</ulink>,
|
---|
[4ec808b] | 235 | -->
|
---|
[f7ae70f] | 236 | <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26104-540.zip">
|
---|
| 237 | AMR narrowband (floating point)</ulink> or
|
---|
| 238 | <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26073-530.zip">
|
---|
| 239 | AMR naarrowband (fixed point)</ulink>,
|
---|
| 240 | <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26204-530.zip">
|
---|
| 241 | AMR wideband</ulink>,
|
---|
[5e9008a] | 242 | <ulink
|
---|
| 243 | url="ftp://ftp.videolan.org/pub/videolan/vlc/0.8.2/contrib/toolame-02m-beta8.tar.bz2">
|
---|
| 244 | tooLAME</ulink>,
|
---|
[f7ae70f] | 245 | <ulink url="http://www.videolan.org/libdca.html">libdts</ulink>,
|
---|
| 246 | <ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink>, and
|
---|
| 247 | <ulink url="http://www.lirc.org/">LIRC</ulink></para>
|
---|
| 248 |
|
---|
| 249 | <bridgehead renderas="sect4">Optional Hardware Specific Options</bridgehead>
|
---|
| 250 | <para>There is hardware specific packages (or vendor supplied software) you
|
---|
| 251 | can install to improve the performance of your video card when using
|
---|
| 252 | <application>MPlayer</application>. Some of the packages and/or vendor
|
---|
| 253 | supplied software and the <application>MPlayer</application> specific
|
---|
| 254 | driver created if it is found is shown here.</para>
|
---|
| 255 |
|
---|
| 256 | <itemizedlist spacing='compact'>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>mga: Matrox G200/G400/G450/G550 hardware YUV overlay via the
|
---|
| 259 | mga_vid device</para>
|
---|
| 260 | </listitem>
|
---|
| 261 | <listitem>
|
---|
| 262 | <para>xmga: Matrox G200/G400/G450/G550 overlay (mga_vid) in X11
|
---|
| 263 | window</para>
|
---|
| 264 | </listitem>
|
---|
| 265 | <listitem>
|
---|
| 266 | <para>syncfb: Matrox G400 YUV support on framebuffer</para>
|
---|
| 267 | </listitem>
|
---|
| 268 | <listitem>
|
---|
| 269 | <para>3dfx: Voodoo 3/Banshee hardware YUV support (/dev/3dfx)</para>
|
---|
| 270 | </listitem>
|
---|
| 271 | <listitem>
|
---|
| 272 | <para>tdfxfb: Voodoo 3/Banshee hardware YUV support on tdfx
|
---|
| 273 | framebuffer</para>
|
---|
| 274 | </listitem>
|
---|
| 275 | <listitem>
|
---|
| 276 | <para>mpegpes: support for Siemens DVB hardware MPEG-1/2 decoder boards
|
---|
| 277 | (or MPEG-PES file output)</para>
|
---|
| 278 | </listitem>
|
---|
| 279 | <listitem>
|
---|
| 280 | <para>dxr2: support for DXR2 hardware MPEG-1/2 decoder boards
|
---|
| 281 | <ulink url="http://dxr2.sourceforge.net/">Dxr2</ulink></para>
|
---|
| 282 | </listitem>
|
---|
| 283 | <listitem>
|
---|
| 284 | <para>dxr3: support for DXR3/Hollywood+ hardware MPEG-1/2 decoder
|
---|
| 285 | boards <ulink
|
---|
| 286 | url="http://dxr3.sourceforge.net/">libdxr3</ulink></para>
|
---|
| 287 | </listitem>
|
---|
| 288 | <listitem>
|
---|
| 289 | <para>zr: support for Zoran360[56]7 based hardware MJPEG cards</para>
|
---|
| 290 | </listitem>
|
---|
| 291 | </itemizedlist>
|
---|
[f29d6ee] | 292 |
|
---|
[0e2aa08] | 293 | <para condition="html" role="usernotes">User Notes:
|
---|
| 294 | <ulink url="&blfs-wiki;/mplayer"/></para>
|
---|
| 295 |
|
---|
[f29d6ee] | 296 | </sect2>
|
---|
| 297 |
|
---|
| 298 | <sect2 role="installation">
|
---|
| 299 | <title>Installation of MPlayer</title>
|
---|
| 300 |
|
---|
| 301 | <sect3>
|
---|
| 302 | <title>CODEC Installation (Optional)</title>
|
---|
| 303 |
|
---|
[79ccca0] | 304 | <para>If you downloaded any proprietary CODECs (which can provide support
|
---|
| 305 | for additional audio and video formats such as Real, Indeo and QuickTime),
|
---|
[d7ecaa6] | 306 | extract them to <filename class="directory">/usr/lib/mplayer/codecs</filename>
|
---|
[79ccca0] | 307 | using the following commands as the <systemitem
|
---|
| 308 | class="username">root</systemitem> user (substitute and/or add different
|
---|
[f29d6ee] | 309 | CODEC filenames, if necessary):</para>
|
---|
| 310 |
|
---|
| 311 | <screen role="root"><userinput>install -v -d -m755 /usr/lib/mplayer/codecs &&
|
---|
[d4dc95a2] | 312 | tar -xvf ../&mplayer-codec; \
|
---|
[a242f2e1] | 313 | -C /usr/lib/mplayer/codecs --strip-components=1 &&
|
---|
[f29d6ee] | 314 | chown -v -R root:root /usr/lib/mplayer/codecs</userinput></screen>
|
---|
[0a35e881] | 315 |
|
---|
[79ccca0] | 316 | <para>If you installed any CODECs, ensure you add
|
---|
[d7ecaa6] | 317 | <option>--with-codecsdir=/usr/lib/mplayer/codecs</option>
|
---|
[f29d6ee] | 318 | to the <command>configure</command> script.</para>
|
---|
[0a35e881] | 319 |
|
---|
[f29d6ee] | 320 | </sect3>
|
---|
[0a35e881] | 321 |
|
---|
[f29d6ee] | 322 | <sect3>
|
---|
| 323 | <title>GUI Installation (Optional)</title>
|
---|
[0a35e881] | 324 |
|
---|
[79ccca0] | 325 | <para>To enable building the GUI version of
|
---|
| 326 | <application>MPlayer</application> (requires <xref linkend="GTK"/>), add
|
---|
[d7ecaa6] | 327 | <option>--enable-gui</option> to the <command>configure</command>
|
---|
[79ccca0] | 328 | script. You'll also need to extract at least one skin. Extract the desired
|
---|
| 329 | skin and create the default location (as the <systemitem
|
---|
[f29d6ee] | 330 | class="username">root</systemitem> user):</para>
|
---|
| 331 |
|
---|
| 332 | <screen role="root"><userinput>install -v -d -m755 /usr/share/mplayer/Skin &&
|
---|
[d4dc95a2] | 333 | tar -xvf ../&mplayer-skin; \
|
---|
[26f7934] | 334 | -C /usr/share/mplayer/Skin &&
|
---|
[9aa1897] | 335 | chown -v -R root:root /usr/share/mplayer/Skin/Blue &&
|
---|
[f7ae70f] | 336 | chmod -v 755 /usr/share/mplayer/Skin/Blue{,/icons} &&
|
---|
[f29d6ee] | 337 | ln -sfv Blue /usr/share/mplayer/Skin/default</userinput></screen>
|
---|
| 338 |
|
---|
| 339 | </sect3>
|
---|
| 340 |
|
---|
| 341 | <sect3>
|
---|
| 342 | <title>Installing OSD and Subtitles Support (Optional)</title>
|
---|
| 343 |
|
---|
[79ccca0] | 344 | <para>To enable OSD (On Screen Display) and subtitles support, add
|
---|
[d7ecaa6] | 345 | <option>--enable-menu</option> to the <command>configure</command>
|
---|
[f7ae70f] | 346 | script. You'll also need to set up at least one font (see font
|
---|
| 347 | installation instructions a little later).</para>
|
---|
[f29d6ee] | 348 |
|
---|
| 349 | </sect3>
|
---|
| 350 |
|
---|
| 351 | <sect3>
|
---|
| 352 | <title>Main MPlayer Installation</title>
|
---|
| 353 |
|
---|
| 354 | <note>
|
---|
| 355 | <para>The package maintainers recommend building without any
|
---|
| 356 | optimizations.</para>
|
---|
| 357 | </note>
|
---|
| 358 |
|
---|
[f7ae70f] | 359 | <para><application>MPlayer</application> can build a shared
|
---|
| 360 | post-processing library from the internal
|
---|
| 361 | <application>FFmpeg</application> package which
|
---|
| 362 | other packages can link to. This requires
|
---|
| 363 | <application>MPlayer</application>
|
---|
| 364 | to link dynamically to this library instead of the default statically
|
---|
| 365 | linked method. If you desire to build the shared library, add
|
---|
| 366 | <option>--enable-shared-pp</option> and
|
---|
| 367 | <option>--disable-fastmemcpy</option> to the <command>configure</command>
|
---|
[79ccca0] | 368 | script. The <option>--disable-fastmemcpy</option> parameter is required to
|
---|
[f7ae70f] | 369 | avoid <computeroutput>undefined reference</computeroutput> errors when
|
---|
| 370 | other packages link to the shared library.</para>
|
---|
[f29d6ee] | 371 |
|
---|
[79ccca0] | 372 | <para>You may wish to examine the output from
|
---|
| 373 | <command>./configure --help</command> to find out what additional
|
---|
| 374 | parameters to <command>configure</command> are needed to include
|
---|
[f29d6ee] | 375 | the dependencies you have installed on your system.</para>
|
---|
| 376 |
|
---|
[79ccca0] | 377 | <para>Install <application>MPlayer</application> by running the following
|
---|
[f29d6ee] | 378 | commands:</para>
|
---|
| 379 |
|
---|
| 380 | <screen><userinput>patch -Np1 -i ../MPlayer-&mplayer-version;-kernel_2.6-1.patch &&
|
---|
[da98fb3] | 381 | patch -Np1 -i ../MPlayer-&mplayer-version;-gcc4-1.patch &&
|
---|
[d08127d] | 382 | patch -Np1 -i ../MPlayer-&mplayer-version;-jack_fixes-1.patch &&
|
---|
[f7ae70f] | 383 | patch -Np1 -i ../MPlayer-&mplayer-version;-x264_fixes-1.patch &&
|
---|
[0a35e881] | 384 | ./configure --prefix=/usr --confdir=/etc/mplayer \
|
---|
[26f7934] | 385 | --enable-largefiles &&
|
---|
[f29d6ee] | 386 | make</userinput></screen>
|
---|
[ec2270f] | 387 |
|
---|
[f29d6ee] | 388 | <para>This package does not come with a test suite.</para>
|
---|
[ace94c34] | 389 |
|
---|
[f29d6ee] | 390 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[ec2270f] | 391 |
|
---|
[f29d6ee] | 392 | <screen role="root"><userinput>make install &&
|
---|
[9a9df1f8] | 393 | install -v -m755 -d /usr/share/doc/mplayer-&mplayer-version; &&
|
---|
[f29d6ee] | 394 | cp -v -R DOCS/* /usr/share/doc/mplayer-&mplayer-version;</userinput></screen>
|
---|
| 395 |
|
---|
[79ccca0] | 396 | <para>Passing parameters to <command>configure</command> may result
|
---|
[f7ae70f] | 397 | in the creation of <filename class='libraryfile'>libdha.so.1.0</filename>.
|
---|
| 398 | If so, you may wish to create a symlink to this library in case other
|
---|
| 399 | packages link to <filename class='libraryfile'>libdha.so</filename>. Use
|
---|
| 400 | the following command as the
|
---|
| 401 | <systemitem class="username">root</systemitem> user to create the
|
---|
| 402 | symlink:</para>
|
---|
[9aa1897] | 403 |
|
---|
[f29d6ee] | 404 | <screen role="root"><userinput>ln -v -s libdha.so.1.0 /usr/lib/libdha.so</userinput></screen>
|
---|
[9aa1897] | 405 |
|
---|
[f29d6ee] | 406 | <para>You will need <filename>codecs.conf</filename> only if you want to
|
---|
| 407 | change its properties, as the main binary contains an internal copy of
|
---|
[f7ae70f] | 408 | it. Ensure any changes you make to <filename>codecs.conf</filename>
|
---|
| 409 | achieve the desired results, as incorrect entries in this file have been
|
---|
| 410 | known to cause errors and render the player unusable. If necessary,
|
---|
| 411 | create the file using the following command.</para>
|
---|
[01062dd] | 412 |
|
---|
[f29d6ee] | 413 | <screen role="root"><userinput>install -m644 etc/codecs.conf /etc/mplayer</userinput></screen>
|
---|
[01062dd] | 414 |
|
---|
[f29d6ee] | 415 | <para>You may also want to copy all the default configuration files to
|
---|
[f7ae70f] | 416 | <filename class='directory'>/etc/mplayer</filename> for future reference
|
---|
| 417 | or more customization ability.</para>
|
---|
[9aa1897] | 418 |
|
---|
[f29d6ee] | 419 | <screen role="root"><userinput>install -m644 etc/*.conf /etc/mplayer</userinput></screen>
|
---|
[9aa1897] | 420 |
|
---|
[46fe005] | 421 | <para><application>MPlayer</application> requires that the RTC run at a
|
---|
| 422 | frequency of 1024 Hz. Make this setting change at boot-time by adding
|
---|
| 423 | a line to <filename>/etc/sysctl.conf</filename>:</para>
|
---|
| 424 |
|
---|
| 425 | <screen role="root"><userinput>echo "dev.rtc.max-user-freq=1024" >> /etc/sysctl.conf</userinput></screen>
|
---|
| 426 |
|
---|
[f29d6ee] | 427 | </sect3>
|
---|
[0a35e881] | 428 |
|
---|
[f29d6ee] | 429 | <sect3>
|
---|
[79ccca0] | 430 | <title>OSD and Subtitles Font Installation (Required if '--enable-menu' Was
|
---|
[f29d6ee] | 431 | Passed to 'configure')</title>
|
---|
[0a35e881] | 432 |
|
---|
[79ccca0] | 433 | <para>The recommended method to set up a font for
|
---|
| 434 | <application>MPlayer</application> is to link a TTF file to
|
---|
| 435 | your <filename class="directory">~/.mplayer</filename> directory. A link
|
---|
| 436 | should be created in each user's home directory who may use
|
---|
[f29d6ee] | 437 | <application>MPlayer</application>. For example:</para>
|
---|
[01062dd] | 438 |
|
---|
[f29d6ee] | 439 | <screen><userinput>install -v -m750 -d ~/.mplayer &&
|
---|
[9a9df1f8] | 440 | ln -v -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf \
|
---|
[f29d6ee] | 441 | ~/.mplayer/subfont.ttf</userinput></screen>
|
---|
[01062dd] | 442 |
|
---|
[79ccca0] | 443 | <para>There are several other ways to set up a font package. To use a
|
---|
| 444 | prerendered <application>MPlayer</application> font package, extract
|
---|
[f29d6ee] | 445 | and link one of the font tarballs using the following commands:</para>
|
---|
[0a35e881] | 446 |
|
---|
[d4dc95a2] | 447 | <screen role="root"><userinput>tar -xvf ../&mplayer-font;.tar.bz2 \
|
---|
[0a35e881] | 448 | -C /usr/share/mplayer/font &&
|
---|
[9a9df1f8] | 449 | chown -v -R root:root /usr/share/mplayer/font &&
|
---|
[0a35e881] | 450 | cd /usr/share/mplayer/font &&
|
---|
[0e2aa08] | 451 | ln -v -sf &mplayer-font;/font-arial-<replaceable><font size></replaceable>-iso-8859-1/* .</userinput></screen>
|
---|
[f29d6ee] | 452 |
|
---|
| 453 | <para>Available font sizes are 14, 18, 24 or 28.</para>
|
---|
[0a35e881] | 454 |
|
---|
[79ccca0] | 455 | <para>Additional information as well as additional methods to set up an
|
---|
| 456 | <application>MPlayer</application> font package can be found at <ulink
|
---|
[f29d6ee] | 457 | url="http://www.mplayerhq.hu/DOCS/HTML/en/subosd.html#mpsub-install"/>.</para>
|
---|
[0a35e881] | 458 |
|
---|
[f29d6ee] | 459 | </sect3>
|
---|
[01062dd] | 460 |
|
---|
[f29d6ee] | 461 | <sect3>
|
---|
| 462 | <title>Installation for DVD Playback (Optional)</title>
|
---|
[01062dd] | 463 |
|
---|
[79ccca0] | 464 | <para>If you want DVD playback with <application>MPlayer</application>,
|
---|
[cbcc71f1] | 465 | you need to ensure a link exists between your DVD drive and
|
---|
[79ccca0] | 466 | <filename>/dev/dvd</filename>. If necessary, create the link using the
|
---|
[f29d6ee] | 467 | following commands:</para>
|
---|
[01062dd] | 468 |
|
---|
[f29d6ee] | 469 | <screen role="root"><userinput>cat >> /etc/udev/rules.d/24-dvd.rules << "EOF"
|
---|
[79ccca0] | 470 | <literal># Create a /dev/dvd symlink
|
---|
[d7ecaa6] | 471 |
|
---|
[0e2aa08] | 472 | KERNEL="<replaceable><dvd drive></replaceable>", SYMLINK="dvd"</literal>
|
---|
[d7ecaa6] | 473 |
|
---|
[f29d6ee] | 474 | EOF
|
---|
| 475 | udevstart</userinput></screen>
|
---|
| 476 |
|
---|
[0e2aa08] | 477 | <para>Replace <replaceable><dvd drive></replaceable> with whatever
|
---|
[f29d6ee] | 478 | device is appropriate, for example <filename>hdc</filename>. If
|
---|
| 479 | you don't know which device to choose, type:</para>
|
---|
| 480 |
|
---|
| 481 | <screen><userinput>dmesg | grep DVD</userinput></screen>
|
---|
| 482 |
|
---|
| 483 | <para>It should result in an output like:</para>
|
---|
| 484 |
|
---|
| 485 | <screen><computeroutput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
|
---|
| 486 | ATAPI CD/DVD-ROM drive</computeroutput></screen>
|
---|
| 487 |
|
---|
| 488 | </sect3>
|
---|
| 489 |
|
---|
| 490 | </sect2>
|
---|
| 491 |
|
---|
| 492 | <sect2 role="configuration">
|
---|
| 493 | <title>Configuring MPlayer</title>
|
---|
| 494 |
|
---|
| 495 | <sect3 id="mplayer-config">
|
---|
| 496 | <title>Config Files</title>
|
---|
| 497 |
|
---|
| 498 | <para><filename>/etc/mplayer/*</filename> and
|
---|
| 499 | <filename>~/.mplayer/*</filename></para>
|
---|
| 500 |
|
---|
| 501 | <indexterm zone="mplayer mplayer-config">
|
---|
| 502 | <primary sortas="e-AA.mplayer">~/.mplayer/*</primary>
|
---|
| 503 | </indexterm>
|
---|
| 504 |
|
---|
| 505 | <indexterm zone="mplayer mplayer-config">
|
---|
| 506 | <primary sortas="e-etc-mplayer">/etc/mplayer/*</primary>
|
---|
| 507 | </indexterm>
|
---|
| 508 |
|
---|
| 509 | </sect3>
|
---|
| 510 |
|
---|
| 511 | <sect3>
|
---|
| 512 | <title>Configuration Information</title>
|
---|
| 513 |
|
---|
[f7ae70f] | 514 | <para>Typically, there's no configuration required for the system-wide
|
---|
| 515 | files in <filename class='directory'>/etc/mplayer</filename> (in fact,
|
---|
| 516 | this directory is empty unless you copied the default files as mentioned
|
---|
| 517 | above). Configuration can be accomplished by choosing the configuration
|
---|
| 518 | button located on the <application>MPlayer</application> GUI. Any
|
---|
[79ccca0] | 519 | configuration changes made here will be copied to the user's
|
---|
[f29d6ee] | 520 | <filename class='directory'>~/.mplayer</filename> directory.</para>
|
---|
| 521 |
|
---|
| 522 | </sect3>
|
---|
| 523 |
|
---|
| 524 | </sect2>
|
---|
| 525 |
|
---|
| 526 | <sect2 role="content">
|
---|
| 527 | <title>Contents</title>
|
---|
| 528 |
|
---|
| 529 | <segmentedlist>
|
---|
| 530 | <segtitle>Installed Programs</segtitle>
|
---|
| 531 | <segtitle>Installed Libraries</segtitle>
|
---|
| 532 | <segtitle>Installed Directories</segtitle>
|
---|
| 533 |
|
---|
| 534 | <seglistitem>
|
---|
| 535 | <seg>gmplayer, mplayer, and mencoder</seg>
|
---|
| 536 | <seg>libdha.so and optionally, libpostproc.so</seg>
|
---|
[79ccca0] | 537 | <seg>~/.mplayer, /etc/mplayer, /usr/include/postproc, /usr/lib/mplayer,
|
---|
[f29d6ee] | 538 | /usr/share/mplayer, and /usr/share/doc/mplayer-&mplayer-version;</seg>
|
---|
| 539 | </seglistitem>
|
---|
| 540 | </segmentedlist>
|
---|
| 541 |
|
---|
| 542 | <variablelist>
|
---|
| 543 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 544 | <?dbfo list-presentation="list"?>
|
---|
| 545 | <?dbhtml list-presentation="table"?>
|
---|
| 546 |
|
---|
| 547 | <varlistentry id="gmplayer">
|
---|
| 548 | <term><command>gmplayer</command></term>
|
---|
| 549 | <listitem>
|
---|
[79ccca0] | 550 | <para>is a symlink to <command>mplayer</command> which
|
---|
| 551 | brings up the graphical user interface component of
|
---|
[f29d6ee] | 552 | <application>MPlayer</application>.</para>
|
---|
| 553 | <indexterm zone="mplayer gmplayer">
|
---|
| 554 | <primary sortas="b-gmplayer">gmplayer</primary>
|
---|
| 555 | </indexterm>
|
---|
| 556 | </listitem>
|
---|
| 557 | </varlistentry>
|
---|
| 558 |
|
---|
| 559 | <varlistentry id="mplayer-prog">
|
---|
| 560 | <term><command>mplayer</command></term>
|
---|
| 561 | <listitem>
|
---|
[79ccca0] | 562 | <para> manages the input formats, the CODECs and
|
---|
| 563 | the output formats to play video files, DVDs,
|
---|
| 564 | (S)VCDs or network streams containing audio and/or video
|
---|
[f29d6ee] | 565 | information on your system.</para>
|
---|
| 566 |
|
---|
| 567 | <para>Examples:</para>
|
---|
| 568 |
|
---|
| 569 | <screen><userinput>mplayer -fs blfs.avi
|
---|
[1e901a7] | 570 | mplayer -vo fbdev -fb /dev/fb0 dvd://1 \
|
---|
| 571 | -aid 128 -sub en -framedrop
|
---|
[01062dd] | 572 | mplayer -fs vcd://1 # works both for VCDs and SVCDs
|
---|
[1e901a7] | 573 | mplayer \
|
---|
| 574 | http://www.students.uni-marburg.de/~Klossa/hapkidofight_lo.mpg</userinput></screen>
|
---|
[f29d6ee] | 575 |
|
---|
[f7ae70f] | 576 | <para>For further information, look at the very good documentation
|
---|
| 577 | included with the package in the source tree subdirectory
|
---|
[f29d6ee] | 578 | <filename class="directory">DOCS</filename> (also installed at
|
---|
| 579 | <filename class='directory'>/usr/share/doc/mplayer</filename>).</para>
|
---|
| 580 | <indexterm zone="mplayer mplayer-prog">
|
---|
| 581 | <primary sortas="b-mplayer">mplayer</primary>
|
---|
| 582 | </indexterm>
|
---|
| 583 | </listitem>
|
---|
| 584 | </varlistentry>
|
---|
| 585 |
|
---|
| 586 | <varlistentry id="mencoder">
|
---|
| 587 | <term><command>mencoder</command></term>
|
---|
| 588 | <listitem>
|
---|
[d7ecaa6] | 589 | <para>is used to encode any <application>MPlayer</application>
|
---|
[79ccca0] | 590 | playable movie to DivX4, <application>XviD</application> or any
|
---|
[f29d6ee] | 591 | CODEC in <filename class='libraryfile'>libavcodec</filename> with
|
---|
| 592 | PCM/MP3/VBRMP3 audio.</para>
|
---|
| 593 |
|
---|
| 594 | <para>Example:</para>
|
---|
| 595 |
|
---|
| 596 | <screen><userinput>rm frameno.avi
|
---|
[01062dd] | 597 | mencoder -dvd 1 -aid 128 -ovc frameno -oac mp3lame \
|
---|
[f29d6ee] | 598 | -lameopts vbr=3 -o frameno.avi
|
---|
[01062dd] | 599 |
|
---|
[f29d6ee] | 600 | <literal># mencoder should output bitrates for average encodings
|
---|
[01062dd] | 601 | # now, choose one you like best! In the following lines,
|
---|
| 602 | # replace <bitrate> and <name.avi> with statements of your
|
---|
[f29d6ee] | 603 | # personal liking.</literal>
|
---|
[01062dd] | 604 |
|
---|
[f29d6ee] | 605 | mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
|
---|
[1e901a7] | 606 | -lavcopts vcodec=mpeg4:vpass=1:vhq:vbitrate=<bitrate> \
|
---|
| 607 | -o <name.avi>
|
---|
[01062dd] | 608 | mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
|
---|
[1e901a7] | 609 | -lavcopts vcodec=mpeg4:vpass=2:vhq:vbitrate=<bitrate> \
|
---|
| 610 | -o <name.avi>
|
---|
[f29d6ee] | 611 | mencoder -forceidx <name.avi></userinput></screen>
|
---|
| 612 | <indexterm zone="mplayer mencoder">
|
---|
| 613 | <primary sortas="b-mencoder">mencoder</primary>
|
---|
| 614 | </indexterm>
|
---|
| 615 | </listitem>
|
---|
| 616 | </varlistentry>
|
---|
| 617 |
|
---|
| 618 | <varlistentry id="libdha">
|
---|
| 619 | <term><filename class='libraryfile'>libdha.so</filename></term>
|
---|
| 620 | <listitem>
|
---|
[79ccca0] | 621 | <para>contains functions used by the
|
---|
[f29d6ee] | 622 | <application>MPlayer</application> programs.</para>
|
---|
| 623 | <indexterm zone="mplayer libdha">
|
---|
| 624 | <primary sortas="c-libdha">libdha.so</primary>
|
---|
| 625 | </indexterm>
|
---|
| 626 | </listitem>
|
---|
| 627 | </varlistentry>
|
---|
| 628 |
|
---|
| 629 | <varlistentry id="libpostproc">
|
---|
| 630 | <term><filename class='libraryfile'>libpostproc.so</filename></term>
|
---|
| 631 | <listitem>
|
---|
[79ccca0] | 632 | <para>is a post-processing filter library used by the
|
---|
[f29d6ee] | 633 | <application>MPlayer</application> programs and other packages.</para>
|
---|
| 634 | <indexterm zone="mplayer libpostproc">
|
---|
| 635 | <primary sortas="c-libpostproc">libpostproc.so</primary>
|
---|
| 636 | </indexterm>
|
---|
| 637 | </listitem>
|
---|
| 638 | </varlistentry>
|
---|
| 639 |
|
---|
| 640 | </variablelist>
|
---|
| 641 |
|
---|
| 642 | </sect2>
|
---|
[f45b1953] | 643 |
|
---|
| 644 | </sect1>
|
---|