source: multimedia/videoutils/mplayer.xml@ a3f21a76

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a3f21a76 was f15e274, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Typo fix. Multimedia.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5382 af4574ff-66df-0310-9fd7-8a98e5e911e0

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