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