[ff769b8c] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[01062dd] | 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
[0a35e881] | 5 |
|
---|
[01062dd] | 6 | <!ENTITY mplayer-download-http "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.bz2">
|
---|
| 7 | <!ENTITY mplayer-download-ftp "ftp://ftp1.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.bz2">
|
---|
[ec2270f] | 8 | <!ENTITY mplayer-md5sum "a812d945b884c2e2fa7f90c57cd76bff">
|
---|
| 9 | <!ENTITY mplayer-size "6.3 MB">
|
---|
| 10 | <!ENTITY mplayer-buildsize "93.5 MB (additional 22 MB for essential CODECs)">
|
---|
| 11 | <!ENTITY mplayer-time "2.19 SBU">
|
---|
[6c0c2a83] | 12 |
|
---|
| 13 | <!ENTITY mplayer-codec "essential-20050115.tar.bz2">
|
---|
| 14 | <!ENTITY mplayer-codec-md5sum "b627e5710c6f2bf38fc2a6ef81c13be8">
|
---|
| 15 | <!ENTITY mplayer-codec-size "9.4 MB">
|
---|
| 16 |
|
---|
| 17 | <!ENTITY mplayer-skin "Blue-1.4.tar.bz2">
|
---|
| 18 | <!ENTITY mplayer-skin-md5sum "3006f514cf0c9a8f832cfb1abee276bf">
|
---|
| 19 | <!ENTITY mplayer-skin-size "221 KB">
|
---|
| 20 |
|
---|
| 21 | <!ENTITY mplayer-font "font-arial-iso-8859-1">
|
---|
| 22 | <!ENTITY mplayer-font-md5sum "1ecd31d17b51f16332b1fcc7da36b312">
|
---|
| 23 | <!ENTITY mplayer-font-size "234 KB">
|
---|
[01062dd] | 24 | ]>
|
---|
| 25 |
|
---|
[0b5a693] | 26 | <sect1 id="mplayer" xreflabel="MPlayer-&mplayer-version;">
|
---|
[a0f03b0] | 27 | <sect1info>
|
---|
[5cd0959d] | 28 | <othername>$LastChangedBy$</othername>
|
---|
| 29 | <date>$Date$</date>
|
---|
[a0f03b0] | 30 | </sect1info>
|
---|
[dd3f20f0] | 31 | <?dbhtml filename="mplayer.html"?>
|
---|
[9aa1897] | 32 | <title><application>MPlayer</application>-&mplayer-version;</title>
|
---|
[0b5a693] | 33 | <indexterm zone="mplayer">
|
---|
[ec2270f] | 34 | <primary sortas="a-MPlayer">MPlayer</primary></indexterm>
|
---|
[f45b1953] | 35 |
|
---|
[01062dd] | 36 | <sect2>
|
---|
| 37 | <title>Introduction to <application>MPlayer</application></title>
|
---|
| 38 |
|
---|
[0a35e881] | 39 | <para>The <application>MPlayer</application> package contains an audio/video
|
---|
| 40 | player controlled via the command line or a graphical interface which is
|
---|
| 41 | able to play almost every popular audio and video file format
|
---|
| 42 | and <acronym>CODEC</acronym> (COder/DECoder, also COmpressor/DECompressor).
|
---|
| 43 | With supported video hardware and additional drivers,
|
---|
| 44 | <application>MPlayer</application> can play video files without an
|
---|
| 45 | <application>X</application> window system installed.</para>
|
---|
| 46 |
|
---|
[9aa1897] | 47 | <para>For <application>MPlayer</application> general information and available
|
---|
| 48 | features, including a full list of file formats, <acronym>CODEC</acronym>s and
|
---|
[0a35e881] | 49 | output devices supported by <application>MPlayer</application>, visit the
|
---|
[9aa1897] | 50 | <ulink url="http://www1.mplayerhq.hu/homepage/design7/info.html">
|
---|
[0a35e881] | 51 | <application>MPlayer</application> web site</ulink>.</para>
|
---|
[01062dd] | 52 |
|
---|
| 53 | <sect3><title>Package information</title>
|
---|
| 54 | <itemizedlist spacing='compact'>
|
---|
[9aa1897] | 55 | <listitem><para>Download (HTTP):
|
---|
| 56 | <ulink url="&mplayer-download-http;"/></para></listitem>
|
---|
| 57 | <listitem><para>Download (FTP):
|
---|
| 58 | <ulink url="&mplayer-download-ftp;"/></para></listitem>
|
---|
[ec2270f] | 59 | <listitem><para>Download MD5 sum: &mplayer-md5sum;</para></listitem>
|
---|
[01062dd] | 60 | <listitem><para>Download size: &mplayer-size;</para></listitem>
|
---|
[9aa1897] | 61 | <listitem><para>Estimated disk space required:
|
---|
| 62 | &mplayer-buildsize;</para></listitem>
|
---|
| 63 | <listitem><para>Estimated build time:
|
---|
| 64 | &mplayer-time;</para></listitem></itemizedlist>
|
---|
[01062dd] | 65 | </sect3>
|
---|
| 66 |
|
---|
| 67 | <sect3><title>Additional downloads</title>
|
---|
[0a35e881] | 68 | <para><emphasis>Patches</emphasis></para>
|
---|
| 69 | <itemizedlist spacing='compact'>
|
---|
| 70 | <listitem><para>Required Patch (for fbdev driver support): <ulink
|
---|
| 71 | url="&patch-root;/MPlayer-&mplayer-version;-kernel_2.6-1.patch"/></para>
|
---|
[6c0c2a83] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
[0a35e881] | 74 |
|
---|
| 75 | <para><emphasis><acronym>CODEC</acronym>s</emphasis></para>
|
---|
| 76 | <itemizedlist spacing='compact'>
|
---|
| 77 | <listitem><para>Proprietary <acronym>CODEC</acronym>s: <ulink
|
---|
[6c0c2a83] | 78 | url="http://www.mplayerhq.hu/MPlayer/releases/codecs/&mplayer-codec;"/></para>
|
---|
| 79 | </listitem>
|
---|
| 80 | <listitem><para>Download MD5 sum: &mplayer-codec-md5sum;</para></listitem>
|
---|
| 81 | <listitem><para>Download size: &mplayer-codec-size;</para></listitem>
|
---|
[0a35e881] | 82 | <listitem><para>Additional <acronym>CODEC</acronym>s: <ulink
|
---|
| 83 | url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/></para>
|
---|
[6c0c2a83] | 84 | </listitem>
|
---|
| 85 | </itemizedlist>
|
---|
[0a35e881] | 86 |
|
---|
| 87 | <para><emphasis>Skins</emphasis></para>
|
---|
[01062dd] | 88 | <itemizedlist spacing='compact'>
|
---|
[0a35e881] | 89 | <listitem><para>Default <acronym>GUI</acronym> skin: <ulink
|
---|
[6c0c2a83] | 90 | url="http://www1.mplayerhq.hu/MPlayer/Skin/&mplayer-skin;"/></para>
|
---|
[01062dd] | 91 | </listitem>
|
---|
[6c0c2a83] | 92 | <listitem><para>Download MD5 sum: &mplayer-skin-md5sum;</para></listitem>
|
---|
| 93 | <listitem><para>Download size: &mplayer-skin-size;</para></listitem>
|
---|
[0a35e881] | 94 | <listitem><para>Additional skins: <ulink
|
---|
| 95 | url="http://www1.mplayerhq.hu/MPlayer/Skin/"/></para>
|
---|
| 96 | </listitem></itemizedlist>
|
---|
[01062dd] | 97 |
|
---|
[0a35e881] | 98 | <para><emphasis>Fonts</emphasis></para>
|
---|
| 99 | <itemizedlist spacing='compact'>
|
---|
| 100 | <listitem><para>Prerendered fonts: <ulink
|
---|
[6c0c2a83] | 101 | url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/&mplayer-font;.tar.bz2"/>
|
---|
| 102 | </para></listitem>
|
---|
| 103 | <listitem><para>Download MD5 sum: &mplayer-font-md5sum;</para></listitem>
|
---|
| 104 | <listitem><para>Download size: &mplayer-font-size;</para></listitem>
|
---|
[0a35e881] | 105 | <listitem><para>Additional fonts: <ulink
|
---|
| 106 | url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/"/></para>
|
---|
| 107 | </listitem></itemizedlist>
|
---|
[01062dd] | 108 |
|
---|
[0a35e881] | 109 | <note><para>The <acronym>CODEC</acronym>s, skins and fonts are not required to
|
---|
| 110 | build and use <application>MPlayer</application>.</para></note>
|
---|
[01062dd] | 111 | </sect3>
|
---|
| 112 |
|
---|
| 113 | <sect3><title><application>MPlayer</application> dependencies</title>
|
---|
[9aa1897] | 114 | <sect4><title>Optional input drivers and libraries</title>
|
---|
[0b5a693] | 115 | <para><xref linkend="cdparanoia"/>,
|
---|
[9aa1897] | 116 | <xref linkend="libdv"/>,
|
---|
| 117 | <xref linkend="libdvdread"/>,
|
---|
| 118 | <xref linkend="samba3"/>,
|
---|
[0a35e881] | 119 | <ulink url="http://www.live.com/mplayer/">LIVE.COM Streaming Media</ulink>,
|
---|
[9aa1897] | 120 | <ulink url="http://www.matroska.org/downloads/linux.html">libmatroska</ulink>
|
---|
| 121 | and <ulink url="http://www.metzlerbros.org/dvb/">DVB</ulink></para>
|
---|
| 122 | </sect4>
|
---|
| 123 |
|
---|
| 124 | <sect4><title>Optional audio output drivers and libraries</title>
|
---|
| 125 | <para><xref linkend="alsa"/>,
|
---|
| 126 | <xref linkend="arts"/>,
|
---|
| 127 | <xref linkend="esound"/>,
|
---|
| 128 | <xref linkend="nas"/>,
|
---|
| 129 | <xref linkend="sdl"/> (also used for video output),
|
---|
[5db3785e] | 130 | <xref linkend="xmms"/>,
|
---|
[9aa1897] | 131 | <ulink url="http://0pointer.de/lennart/projects/polypaudio/">polypaudio</ulink>,
|
---|
| 132 | <ulink url="http://bio2jack.sourceforge.net/">bio2jack</ulink> (requires
|
---|
| 133 | <ulink url="http://jackit.sourceforge.net/">JACK</ulink>)</para>
|
---|
| 134 | </sect4>
|
---|
| 135 |
|
---|
| 136 | <sect4><title>Optional video output drivers and libraries</title>
|
---|
| 137 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
| 138 | <xref linkend="libpng"/>,
|
---|
| 139 | <xref linkend="libjpeg"/>,
|
---|
| 140 | <xref linkend="libungif"/> or <xref linkend="giflib"/>,
|
---|
| 141 | <xref linkend="GTK"/>,
|
---|
| 142 | <xref linkend="freetype2"/>,
|
---|
| 143 | <xref linkend="fontconfig"/>,
|
---|
| 144 | <xref linkend="aalib"/>,
|
---|
| 145 | <ulink url="http://www.directfb.org/">DirectFB</ulink>,
|
---|
| 146 | <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
|
---|
| 147 | <ulink url="http://www.ggi-project.org/">GGI</ulink>,
|
---|
| 148 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
| 149 | <ulink url="http://www.ladspa.org/">LADSPA</ulink>,
|
---|
[0a35e881] | 150 | <ulink url="http://dxr2.sourceforge.net/">Dxr2</ulink>,
|
---|
[9aa1897] | 151 | <ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink>,
|
---|
| 152 | <ulink url="http://prdownloads.sourceforge.net/zapping/mp1e-1.9.3.tar.bz2">MP1E</ulink>,
|
---|
| 153 | <ulink url="http://freedesktop.org/Software/FriBidi">FriBidi</ulink> and
|
---|
| 154 | <ulink url="http://trific.ath.cx/software/enca/">Enca</ulink></para>
|
---|
| 155 | </sect4>
|
---|
| 156 |
|
---|
| 157 | <sect4><title>Optional <acronym>CODEC</acronym>s</title>
|
---|
| 158 | <para><xref linkend="libvorbis"/>,
|
---|
| 159 | <xref linkend="xvid"/>,
|
---|
| 160 | <xref linkend="LZO"/>,
|
---|
| 161 | <xref linkend="libmad"/>,
|
---|
[5db3785e] | 162 | <xref linkend="lame"/>,
|
---|
[9aa1897] | 163 | <xref linkend="libfame"/>,
|
---|
| 164 | <ulink url="http://www.theora.org/">Theora</ulink>,
|
---|
| 165 | <ulink url="http://www.xiph.org/ogg/vorbis/index.html">Tremor</ulink>,
|
---|
| 166 | <ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAD2</ulink>,
|
---|
| 167 | <ulink url="http://www.divx.com/divx/linux/">DivX4Linux</ulink>,
|
---|
| 168 | <ulink url="http://users.tpg.com.au/adslblvi/#tooLAME">tooLAME</ulink>,
|
---|
| 169 | <ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink>
|
---|
| 170 | and <ulink url="http://www.lirc.org/">LIRC</ulink></para>
|
---|
| 171 | </sect4>
|
---|
[01062dd] | 172 | </sect3>
|
---|
| 173 |
|
---|
| 174 | </sect2>
|
---|
| 175 |
|
---|
| 176 | <sect2>
|
---|
| 177 | <title>Installation of <application>MPlayer</application></title>
|
---|
| 178 |
|
---|
[0a35e881] | 179 | <sect3>
|
---|
| 180 | <title><acronym>CODEC</acronym> installation (optional)</title>
|
---|
| 181 |
|
---|
| 182 | <para>If you downloaded any proprietary <acronym>CODEC</acronym>s
|
---|
| 183 | (which can provide support for additional audio and video formats such as
|
---|
| 184 | Real, Indeo and QuickTime), extract them to
|
---|
| 185 | <filename class="directory">/usr/lib/mplayer/codecs</filename>
|
---|
[ec2270f] | 186 | using the following commands as the root user (substitute and/or add different
|
---|
[0a35e881] | 187 | <acronym>CODEC</acronym> filenames, if necessary):</para>
|
---|
| 188 |
|
---|
[ec2270f] | 189 | <screen><userinput role='root'><command>install -d -m755 /usr/lib/mplayer/codecs &&
|
---|
[6c0c2a83] | 190 | tar -jxf ../&mplayer-codec; \
|
---|
[a242f2e1] | 191 | -C /usr/lib/mplayer/codecs --strip-components=1 &&
|
---|
[0a35e881] | 192 | chown -R root:root /usr/lib/mplayer/codecs</command></userinput></screen>
|
---|
| 193 |
|
---|
[9aa1897] | 194 | <para>If you installed any <acronym>CODEC</acronym>s, ensure you add
|
---|
| 195 | <option>--with-codecsdir=/usr/lib/mplayer/codecs</option>
|
---|
[0a35e881] | 196 | to the <command>configure</command> script.</para>
|
---|
| 197 | </sect3>
|
---|
| 198 |
|
---|
| 199 | <sect3>
|
---|
| 200 | <title><acronym>GUI</acronym> installation (optional)</title>
|
---|
| 201 |
|
---|
| 202 | <para>To enable building the <acronym>GUI</acronym> version of
|
---|
| 203 | <application>MPlayer</application> (requires <xref linkend="GTK"/>), add
|
---|
[9aa1897] | 204 | <option>--enable-gui</option> to the <command>configure</command>
|
---|
[0a35e881] | 205 | script. You'll also need to extract at least one skin. Extract the desired
|
---|
[ec2270f] | 206 | skin and create the default location (as the root user):</para>
|
---|
[0a35e881] | 207 |
|
---|
[ec2270f] | 208 | <screen><userinput role='root'><command>install -v -d -m755 /usr/share/mplayer/Skin &&
|
---|
[6c0c2a83] | 209 | tar -jxf ../&mplayer-skin; \
|
---|
[26f7934] | 210 | -C /usr/share/mplayer/Skin &&
|
---|
[9aa1897] | 211 | chown -v -R root:root /usr/share/mplayer/Skin/Blue &&
|
---|
| 212 | chmod -v 0755 /usr/share/mplayer/Skin/Blue{,/icons} &&
|
---|
| 213 | ln -sfv Blue /usr/share/mplayer/Skin/default</command></userinput></screen>
|
---|
[0a35e881] | 214 | </sect3>
|
---|
| 215 |
|
---|
| 216 | <sect3>
|
---|
| 217 | <title>Installing <acronym>OSD</acronym> and subtitles support
|
---|
| 218 | (optional)</title>
|
---|
| 219 |
|
---|
| 220 | <para>To enable <acronym>OSD</acronym> (On Screen Display) and subtitles
|
---|
[9aa1897] | 221 | support, add <option>--enable-menu</option> to the
|
---|
[0a35e881] | 222 | <command>configure</command> script. You'll also need to set up at least one
|
---|
| 223 | font (see font installation instructions a little later).</para>
|
---|
| 224 | </sect3>
|
---|
| 225 |
|
---|
| 226 | <sect3>
|
---|
| 227 | <title>Main <application>MPlayer</application> installation</title>
|
---|
[01062dd] | 228 |
|
---|
| 229 | <note><para>The package maintainers recommend building without any
|
---|
| 230 | optimizations.</para></note>
|
---|
| 231 |
|
---|
[0a35e881] | 232 | <para>Install <application>MPlayer</application> by running the following
|
---|
| 233 | commands:</para>
|
---|
[01062dd] | 234 |
|
---|
[0a35e881] | 235 | <screen><userinput><command>patch -Np1 -i ../MPlayer-&mplayer-version;-kernel_2.6-1.patch &&
|
---|
| 236 | ./configure --prefix=/usr --confdir=/etc/mplayer \
|
---|
[26f7934] | 237 | --enable-largefiles &&
|
---|
[ec2270f] | 238 | make</command></userinput></screen>
|
---|
| 239 |
|
---|
| 240 | <para>Now, as the root user:</para>
|
---|
| 241 |
|
---|
| 242 | <screen><userinput role='root'><command>make install &&
|
---|
[0a35e881] | 243 | install -d -m755 /usr/share/doc/mplayer &&
|
---|
[9aa1897] | 244 | cp -R DOCS/* /usr/share/doc/mplayer</command></userinput></screen>
|
---|
| 245 |
|
---|
| 246 | <para><application>MPlayer</application> can build a shared post-processing
|
---|
| 247 | library which other packages can link to. Doing this means that
|
---|
| 248 | <application>MPlayer</application> must also link dynamically to this library
|
---|
| 249 | instead of the default statically linked method. If you desire to build the
|
---|
| 250 | shared library, add <option>--enable-shared-pp</option> to the
|
---|
| 251 | <command>configure</command> script, then execute the following command after
|
---|
| 252 | the commands above:</para>
|
---|
| 253 |
|
---|
[ec2270f] | 254 | <screen><userinput role='root'><command>make -C libavcodec/libpostproc install</command></userinput></screen>
|
---|
[01062dd] | 255 |
|
---|
| 256 | <para>You will need <filename>codecs.conf</filename> only if you want to
|
---|
| 257 | change its properties, as the main binary contains an internal copy of
|
---|
[0a35e881] | 258 | it. Ensure any changes you make to <filename>codecs.conf</filename> achieve
|
---|
| 259 | the desired results, as incorrect entries in this file have been known to
|
---|
[9aa1897] | 260 | cause errors and render the player unusable. If necessary, create the file
|
---|
| 261 | using the following command.</para>
|
---|
[01062dd] | 262 |
|
---|
[ec2270f] | 263 | <screen><userinput role='root'><command>install -m644 etc/codecs.conf /etc/mplayer</command></userinput></screen>
|
---|
[9aa1897] | 264 |
|
---|
| 265 | <para>You may also want to copy all the default configuration files to
|
---|
| 266 | <filename class='directory'>/etc/mplayer</filename> for future reference or
|
---|
| 267 | more customization ability.</para>
|
---|
| 268 |
|
---|
[ec2270f] | 269 | <screen><userinput role='root'><command>install -m644 etc/*.conf /etc/mplayer</command></userinput></screen>
|
---|
[0a35e881] | 270 | </sect3>
|
---|
| 271 |
|
---|
| 272 | <sect3>
|
---|
| 273 | <title><acronym>OSD</acronym> and subtitles font installation
|
---|
| 274 | (required if <parameter>--enable-menu</parameter> was passed to
|
---|
| 275 | <command>configure</command>)</title>
|
---|
| 276 |
|
---|
| 277 | <para>The recommended method to set up a font for
|
---|
| 278 | <application>MPlayer</application> is to link a <acronym>TTF</acronym> file to
|
---|
| 279 | your <filename class="directory">~/.mplayer</filename> directory. A link
|
---|
| 280 | should be created in each user's home directory who may use
|
---|
[6c0c2a83] | 281 | <application>MPlayer</application>. For example:</para>
|
---|
[01062dd] | 282 |
|
---|
[0a35e881] | 283 | <screen><userinput><command>mkdir ~/.mplayer &&
|
---|
| 284 | ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf \
|
---|
| 285 | ~/.mplayer/subfont.ttf</command></userinput></screen>
|
---|
[01062dd] | 286 |
|
---|
[0a35e881] | 287 | <para>There are several other ways to set up a font package. To use a
|
---|
| 288 | prerendered <application>MPlayer</application> font package, extract and link
|
---|
| 289 | one of the font tarballs using the following commands:</para>
|
---|
| 290 |
|
---|
[6c0c2a83] | 291 | <screen><userinput role='root'><command>tar -jxf ../&mplayer-font;.tar.bz2 \
|
---|
[0a35e881] | 292 | -C /usr/share/mplayer/font &&
|
---|
| 293 | chown -R root:root /usr/share/mplayer/font &&
|
---|
| 294 | cd /usr/share/mplayer/font &&
|
---|
[6c0c2a83] | 295 | ln -sf &mplayer-font;/font-arial-<replaceable>[font size]</replaceable>-iso-8859-1/* .</command></userinput></screen>
|
---|
[0a35e881] | 296 |
|
---|
| 297 | <para>Available font sizes are 14, 18, 24 or 28.</para>
|
---|
| 298 |
|
---|
| 299 | <para>Additional information as well as additional methods to set up an
|
---|
| 300 | <application>MPlayer</application> font package can be found at <ulink
|
---|
| 301 | url="http://www.mplayerhq.hu/DOCS/HTML/en/subosd.html#mpsub-install"/>.</para>
|
---|
| 302 | </sect3>
|
---|
[01062dd] | 303 |
|
---|
| 304 | <sect3>
|
---|
[0a35e881] | 305 | <title>Installation for <acronym>DVD</acronym> playback (optional)</title>
|
---|
[01062dd] | 306 |
|
---|
| 307 | <para>If you want <acronym>DVD</acronym> playback with
|
---|
[0a35e881] | 308 | <application>MPlayer</application>, you need to ensure a link exists
|
---|
| 309 | from your <acronym>DVD</acronym> drive to <filename>/dev/dvd</filename>. If
|
---|
[9aa1897] | 310 | necessary, create the link using the following commands:</para>
|
---|
[01062dd] | 311 |
|
---|
[ec2270f] | 312 | <screen><userinput role='root'><command>cat >> /etc/udev/rules.d/24-dvd.rules << "EOF"</command>
|
---|
[9aa1897] | 313 | # Create a /dev/dvd symlink
|
---|
| 314 |
|
---|
| 315 | KERNEL="<replaceable>[dvd drive]</replaceable>", SYMLINK="dvd"
|
---|
| 316 |
|
---|
| 317 | <command>EOF
|
---|
| 318 | udevstart</command></userinput></screen>
|
---|
[01062dd] | 319 |
|
---|
| 320 | <para>Replace <replaceable>[dvd drive]</replaceable> with whatever
|
---|
[9aa1897] | 321 | device is appropriate, for example <filename>hdc</filename>. If
|
---|
[01062dd] | 322 | you don't know which device to choose, type:</para>
|
---|
| 323 |
|
---|
| 324 | <screen><userinput><command>dmesg | grep DVD</command></userinput></screen>
|
---|
| 325 |
|
---|
| 326 | <para>It should result in an output like:</para>
|
---|
| 327 |
|
---|
| 328 | <screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
|
---|
| 329 | ATAPI CD/DVD-ROM drive</userinput></screen>
|
---|
| 330 | </sect3>
|
---|
| 331 |
|
---|
| 332 | </sect2>
|
---|
| 333 |
|
---|
| 334 | <sect2>
|
---|
[9aa1897] | 335 | <title>Configuring <application>MPlayer</application></title>
|
---|
[01062dd] | 336 |
|
---|
[ec2270f] | 337 | <sect3 id="mplayer-config"><title>Config files</title>
|
---|
[0a35e881] | 338 | <para><filename>/etc/mplayer/*</filename>,
|
---|
| 339 | <filename>~/.mplayer/*</filename></para>
|
---|
[0b5a693] | 340 | <indexterm zone="mplayer mplayer-config">
|
---|
[ec2270f] | 341 | <primary sortas="e-AA.mplayer">~/.mplayer/*</primary></indexterm>
|
---|
[0b5a693] | 342 | <indexterm zone="mplayer mplayer-config">
|
---|
[ec2270f] | 343 | <primary sortas="e-etc-mplayer">/etc/mplayer/*</primary></indexterm>
|
---|
[01062dd] | 344 | </sect3>
|
---|
| 345 |
|
---|
[9aa1897] | 346 | <sect3><title>Configuration information</title>
|
---|
| 347 | <para>Typically, there's no configuration required for the system-wide files
|
---|
| 348 | in <filename class='directory'>/etc/mplayer</filename> (in fact, this
|
---|
| 349 | directory is empty unless you copied the default files as mentioned above).
|
---|
| 350 | Configuration can be accomplished by choosing the configuration button located
|
---|
| 351 | on the <application>MPlayer</application> <acronym>GUI</acronym>. Any
|
---|
| 352 | configuration changes made here will be copied to the user's
|
---|
[ec2270f] | 353 | <filename class='directory'>~/.mplayer</filename> directory.</para>
|
---|
[9aa1897] | 354 | </sect3>
|
---|
| 355 |
|
---|
[01062dd] | 356 | </sect2>
|
---|
| 357 |
|
---|
| 358 | <sect2>
|
---|
| 359 | <title>Contents</title>
|
---|
| 360 |
|
---|
[ec2270f] | 361 | <segmentedlist>
|
---|
| 362 | <segtitle>Installed Programs</segtitle>
|
---|
| 363 | <segtitle>Installed Libraries</segtitle>
|
---|
| 364 | <segtitle>Installed Directories</segtitle>
|
---|
| 365 | <seglistitem>
|
---|
| 366 | <seg>gmplayer, mplayer and mencoder</seg>
|
---|
| 367 | <seg>libdha.so and optionally, libpostproc.so</seg>
|
---|
| 368 | <seg>/etc/mplayer, /usr/lib/mplayer, /usr/share/mplayer and
|
---|
| 369 | /usr/share/doc/mplayer</seg>
|
---|
| 370 | </seglistitem>
|
---|
| 371 | </segmentedlist>
|
---|
| 372 |
|
---|
| 373 | <variablelist>
|
---|
| 374 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 375 | <?dbfo list-presentation="list"?>
|
---|
| 376 |
|
---|
| 377 | <varlistentry id="gmplayer">
|
---|
| 378 | <term><command>gmplayer</command></term>
|
---|
| 379 | <listitem><para>is a symlink to <command>mplayer</command> which brings up
|
---|
| 380 | the graphical user interface component of
|
---|
| 381 | <application>MPlayer</application>.</para>
|
---|
[0b5a693] | 382 | <indexterm zone="mplayer gmplayer">
|
---|
[ec2270f] | 383 | <primary sortas="b-gmplayer">gmplayer</primary></indexterm>
|
---|
| 384 | </listitem>
|
---|
| 385 | </varlistentry>
|
---|
[01062dd] | 386 |
|
---|
[0b5a693] | 387 | <varlistentry id="mplayer-prog">
|
---|
[ec2270f] | 388 | <term><command>mplayer</command></term>
|
---|
| 389 | <listitem><para> manages the input formats, the <acronym>CODEC</acronym>s and
|
---|
| 390 | the output formats to play video files, <acronym>DVD</acronym>s,
|
---|
| 391 | (S)<acronym>VCD</acronym>s or network streams containing audio and/or video
|
---|
| 392 | information on your system.</para>
|
---|
[0b5a693] | 393 | <indexterm zone="mplayer mplayer-prog">
|
---|
[ec2270f] | 394 | <primary sortas="b-mplayer">mplayer</primary></indexterm>
|
---|
[0a35e881] | 395 |
|
---|
[01062dd] | 396 | <para>Examples:</para>
|
---|
| 397 |
|
---|
[ec2270f] | 398 | <screen><userinput><command>mplayer -fs blfs.avi
|
---|
[01062dd] | 399 | mplayer -vo fbdev -fb /dev/fb0 dvd://1 -aid 128 -sub en -framedrop
|
---|
| 400 | mplayer -fs vcd://1 # works both for VCDs and SVCDs
|
---|
[ec2270f] | 401 | mplayer http://www.students.uni-marburg.de/~Klossa/hapkidofight_lo.mpg</command></userinput></screen>
|
---|
[01062dd] | 402 |
|
---|
[0a35e881] | 403 | <para>For further information, look at the very good documentation included
|
---|
| 404 | with the package in the source tree subdirectory
|
---|
| 405 | <filename class="directory">DOCS</filename> (also installed at
|
---|
| 406 | <filename class='directory'>/usr/share/doc/mplayer</filename>).</para>
|
---|
[ec2270f] | 407 | </listitem>
|
---|
| 408 | </varlistentry>
|
---|
[01062dd] | 409 |
|
---|
[ec2270f] | 410 | <varlistentry id="mencoder">
|
---|
| 411 | <term><command>mencoder</command></term>
|
---|
| 412 | <listitem><para>is used to encode any <application>MPlayer</application>
|
---|
| 413 | playable movie to DivX4, <application>XviD</application> or any
|
---|
| 414 | <acronym>CODEC</acronym> in
|
---|
[0a35e881] | 415 | <filename class='libraryfile'>libavcodec</filename> with
|
---|
[01062dd] | 416 | <acronym>PCM</acronym>/MP3/VBRMP3 audio.</para>
|
---|
[0b5a693] | 417 | <indexterm zone="mplayer mencoder">
|
---|
[ec2270f] | 418 | <primary sortas="b-mencoder">mencoder</primary></indexterm>
|
---|
[01062dd] | 419 |
|
---|
| 420 | <para>Example:</para>
|
---|
| 421 |
|
---|
| 422 | <screen><userinput><command>rm frameno.avi
|
---|
| 423 | mencoder -dvd 1 -aid 128 -ovc frameno -oac mp3lame \
|
---|
| 424 | -lameopts vbr=3 -o frameno.avi</command>
|
---|
| 425 |
|
---|
| 426 | # mencoder should output bitrates for average encodings
|
---|
| 427 | # now, choose one you like best! In the following lines,
|
---|
| 428 | # replace <bitrate> and <name.avi> with statements of your
|
---|
| 429 | # personal liking.
|
---|
| 430 |
|
---|
| 431 | <command>mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
|
---|
| 432 | -lavcopts vcodec=mpeg4:vpass=1:vhq:vbitrate=<bitrate> -o <name.avi>
|
---|
| 433 | mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
|
---|
| 434 | -lavcopts vcodec=mpeg4:vpass=2:vhq:vbitrate=<bitrate> -o <name.avi>
|
---|
| 435 | mencoder -forceidx <name.avi></command></userinput></screen>
|
---|
[ec2270f] | 436 | </listitem>
|
---|
| 437 | </varlistentry>
|
---|
| 438 |
|
---|
| 439 | <varlistentry id="libdha">
|
---|
| 440 | <term><filename class='libraryfile'>libdha.so</filename></term>
|
---|
| 441 | <listitem><para>contains functions used by the
|
---|
| 442 | <application>MPlayer</application> programs.</para>
|
---|
[0b5a693] | 443 | <indexterm zone="mplayer libdha">
|
---|
[ec2270f] | 444 | <primary sortas="c-libdha">libdha.so</primary></indexterm>
|
---|
| 445 | </listitem>
|
---|
| 446 | </varlistentry>
|
---|
| 447 |
|
---|
| 448 | <varlistentry id="libpostproc">
|
---|
| 449 | <term><filename class='libraryfile'>libpostproc.so</filename></term>
|
---|
| 450 | <listitem><para>is a post-processing filter library used by the
|
---|
| 451 | <application>MPlayer</application> programs and other packages.</para>
|
---|
[0b5a693] | 452 | <indexterm zone="mplayer libpostproc">
|
---|
[ec2270f] | 453 | <primary sortas="c-libpostproc">libpostproc.so</primary></indexterm>
|
---|
| 454 | </listitem>
|
---|
| 455 | </varlistentry>
|
---|
| 456 |
|
---|
| 457 | </variablelist>
|
---|
[01062dd] | 458 |
|
---|
| 459 | </sect2>
|
---|
[f45b1953] | 460 |
|
---|
| 461 | </sect1>
|
---|