source: multimedia/videoutils/mplayer.xml@ 36ec89cb

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 36ec89cb was 36ec89cb, checked in by Randy McMurchy <randy@…>, 18 years ago

Several fixes to the MPlayer instructions, see the ChangeLog for full details

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

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