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