1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY mplayer-download-http "http://anduin.linuxfromscratch.org/sources/BLFS/svn/m/mplayer-svn_20120315.tar.xz">
|
---|
8 | <!ENTITY mplayer-download-ftp " ">
|
---|
9 | <!ENTITY mplayer-md5sum "bcd0f9986a4f14a89ea9fb5ffb15d857">
|
---|
10 | <!ENTITY mplayer-size "9.9 MB">
|
---|
11 | <!ENTITY mplayer-buildsize "137 MB">
|
---|
12 | <!ENTITY mplayer-time "4.7 SBU">
|
---|
13 |
|
---|
14 | <!ENTITY mplayer-skin "Blue-1.8.tar.bz2">
|
---|
15 | <!ENTITY mplayer-skin-md5sum "340368f4e33f767d9df109990fb29c02">
|
---|
16 | <!ENTITY mplayer-skin-size "218 KB">
|
---|
17 | ]>
|
---|
18 |
|
---|
19 | <sect1 id="mplayer" xreflabel="MPlayer-&mplayer-version;">
|
---|
20 | <?dbhtml filename="mplayer.html"?>
|
---|
21 |
|
---|
22 | <sect1info>
|
---|
23 | <othername>$LastChangedBy$</othername>
|
---|
24 | <date>$Date$</date>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>MPlayer-&mplayer-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="mplayer">
|
---|
30 | <primary sortas="a-MPlayer">MPlayer</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to MPlayer</title>
|
---|
35 |
|
---|
36 | <para>The <application>MPlayer</application> package contains a powerful
|
---|
37 | audio/video player controlled via the command line or graphical interface
|
---|
38 | which is able to play almost every popular audio and video file format. With
|
---|
39 | supported video hardware and additional drivers, <application>MPlayer</application> can
|
---|
40 | play video files without an <application>X Window System</application>
|
---|
41 | installed.</para>
|
---|
42 |
|
---|
43 | <para>For <application>MPlayer</application> general information and
|
---|
44 | available features, including a full list of file formats, codecs and
|
---|
45 | output devices supported by <application>MPlayer</application>, visit the
|
---|
46 | <ulink url="http://www.mplayerhq.hu/">
|
---|
47 | <application>MPlayer</application> web site</ulink>.</para>
|
---|
48 |
|
---|
49 | &lfs70_checked;
|
---|
50 |
|
---|
51 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
52 | <itemizedlist spacing="compact">
|
---|
53 | <listitem>
|
---|
54 | <para>Download (HTTP): <ulink url="&mplayer-download-http;"/></para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Download (FTP): <ulink url="&mplayer-download-ftp;"/></para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>Download MD5 sum: &mplayer-md5sum;</para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>Download size: &mplayer-size;</para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>Estimated disk space required: &mplayer-buildsize;</para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>Estimated build time: &mplayer-time;</para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
74 | <!--
|
---|
75 | <itemizedlist spacing='compact'>
|
---|
76 | <title>Patches</title>
|
---|
77 | <listitem>
|
---|
78 | <para>Required Patch: <ulink
|
---|
79 | url="http://www.mplayerhq.hu/MPlayer/patches/asmrules_fix_20061231.diff"/></para>
|
---|
80 | </listitem>
|
---|
81 | <listitem>
|
---|
82 | <para>Required Patch: <ulink
|
---|
83 | url="http://www.mplayerhq.hu/MPlayer/patches/cddb_fix_20070605.diff"/></para>
|
---|
84 | </listitem>
|
---|
85 | <listitem>
|
---|
86 | <para>Required Patch: <ulink
|
---|
87 | url="&patch-root;/MPlayer-&mplayer-version;-ext_ffmpeg-1.patch"/></para>
|
---|
88 | </listitem>
|
---|
89 | </itemizedlist>
|
---|
90 | -->
|
---|
91 |
|
---|
92 | <itemizedlist spacing='compact'>
|
---|
93 | <title>Skins</title>
|
---|
94 | <listitem>
|
---|
95 | <para>Default GUI skin: <ulink
|
---|
96 | url="http://www.mplayerhq.hu/MPlayer/skins/&mplayer-skin;"/></para>
|
---|
97 | </listitem>
|
---|
98 | <listitem>
|
---|
99 | <para>Download MD5 sum: &mplayer-skin-md5sum;</para>
|
---|
100 | </listitem>
|
---|
101 | <listitem>
|
---|
102 | <para>Download size: &mplayer-skin-size;</para>
|
---|
103 | </listitem>
|
---|
104 | <listitem>
|
---|
105 | <para>Additional skins: <ulink
|
---|
106 | url="http://www1.mplayerhq.hu/MPlayer/skins/"/></para>
|
---|
107 | </listitem>
|
---|
108 | </itemizedlist>
|
---|
109 | <!--
|
---|
110 | <itemizedlist spacing='compact'>
|
---|
111 | <title>Fonts</title>
|
---|
112 | <listitem>
|
---|
113 | <para>Prerendered fonts: <ulink
|
---|
114 | url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/&mplayer-font;.tar.bz2"/></para>
|
---|
115 | </listitem>
|
---|
116 | <listitem>
|
---|
117 | <para>Download MD5 sum: &mplayer-font-md5sum;</para>
|
---|
118 | </listitem>
|
---|
119 | <listitem>
|
---|
120 | <para>Download size: &mplayer-font-size;</para>
|
---|
121 | </listitem>
|
---|
122 | <listitem>
|
---|
123 | <para>Additional fonts: <ulink
|
---|
124 | url="http://www1.mplayerhq.hu/MPlayer/releases/fonts/"/></para>
|
---|
125 | </listitem>
|
---|
126 | </itemizedlist>
|
---|
127 | -->
|
---|
128 | <para>Skins are not required to build and use <application>MPlayer
|
---|
129 | </application>.</para>
|
---|
130 |
|
---|
131 | <bridgehead renderas="sect3">MPlayer Dependencies</bridgehead>
|
---|
132 |
|
---|
133 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
134 | <para role="required">
|
---|
135 | <xref linkend="yasm"/>
|
---|
136 | </para>
|
---|
137 |
|
---|
138 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
139 | <para role="recommended">
|
---|
140 | <xref linkend="x-window-system"/>
|
---|
141 | </para>
|
---|
142 |
|
---|
143 | <bridgehead renderas="sect4">Optional Input Drivers and Libraries</bridgehead>
|
---|
144 | <para role="optional">
|
---|
145 | <xref linkend="cdparanoia"/>,
|
---|
146 | <xref linkend="samba3"/>,
|
---|
147 | <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
148 | <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>,
|
---|
149 | <ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>,
|
---|
150 | <ulink url="http://rtmpdump.mplayerhq.hu/">RTMPDump</ulink>,
|
---|
151 | <ulink url="http://code.google.com/p/vstream-client/">TiVo vstream client</ulink> and
|
---|
152 | <ulink url="http://www.xmms.org/">XMMS</ulink>
|
---|
153 | <!-- Mplayer can only use internal versions of these at the moment:
|
---|
154 | <xref linkend="libdvdread"/>,
|
---|
155 | <xref linkend="libdvdnav"/>,
|
---|
156 | <xref linkend="libdvdcss"/>,
|
---|
157 | -->
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
|
---|
161 | <para role="optional">
|
---|
162 | <xref linkend="alsa"/>,
|
---|
163 | <!-- <xref linkend="arts"/>, -->
|
---|
164 | <xref linkend="esound"/>,
|
---|
165 | <xref linkend='pulseaudio'/>,
|
---|
166 | <xref linkend="sdl"/>,
|
---|
167 | <ulink url="http://jackaudio.org/">JACK</ulink>,
|
---|
168 | <ulink url="http://openal.org/">OpenAL</ulink> and
|
---|
169 | <ulink url="http://www.radscan.com/nas.html">NAS</ulink>
|
---|
170 | </para>
|
---|
171 |
|
---|
172 | <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
|
---|
173 | <para role="optional">
|
---|
174 | <xref linkend="aalib"/>,
|
---|
175 | <xref linkend="libpng"/>,
|
---|
176 | <xref linkend="libjpeg"/>,
|
---|
177 | <xref linkend="libmng"/>,
|
---|
178 | <xref linkend="giflib"/>,
|
---|
179 | <ulink url="http://www.directfb.org/">DirectFB</ulink>,
|
---|
180 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
181 | <ulink url="http://www.svgalib.org/">SVGAlib</ulink> and
|
---|
182 | <ulink url="http://www.openjpeg.org/">OpenJPEG</ulink>
|
---|
183 | </para>
|
---|
184 |
|
---|
185 | <bridgehead renderas="sect4">Optional CODECs</bridgehead>
|
---|
186 | <para role="optional">
|
---|
187 | <xref linkend="libmad"/>,
|
---|
188 | <xref linkend="LZO"/>,
|
---|
189 | <xref linkend="speex"/>,
|
---|
190 | <xref linkend="libtheora"/>,
|
---|
191 | <xref linkend="mpg123"/>,
|
---|
192 | <xref linkend="liba52"/>,
|
---|
193 | <xref linkend="faac"/>,
|
---|
194 | <xref linkend="faad2"/>,
|
---|
195 | <xref linkend="libdv"/>,
|
---|
196 | <xref linkend="xvid"/>,
|
---|
197 | <xref linkend="libvpx"/>,
|
---|
198 | <xref linkend="lame"/>,
|
---|
199 | <ulink url="ftp://ftp.videolan.org/pub/videolan/vlc/0.8.2/contrib/toolame-02m-beta8.tar.bz2">tooLAME</ulink>,
|
---|
200 | <ulink url="http://sourceforge.net/projects/twolame/">TwoLAME</ulink>,
|
---|
201 | <ulink url="https://launchpad.net/libgsm">libgsm</ulink>,
|
---|
202 | <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
203 | <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
|
---|
204 | <ulink url="http://sourceforge.net/projects/opencore-amr/">OpenCore Adaptive Multi Rate</ulink>,
|
---|
205 | <ulink url="http://www.broadcom.com/support/crystal_hd/">CrystalHD</ulink>,
|
---|
206 | <ulink url="http://www.videolan.org/developers/x264.html">x264</ulink>,
|
---|
207 | <ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,
|
---|
208 | <ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink>,
|
---|
209 | <ulink url="http://wiki.multimedia.cx/index.php?title=NUT">libnut</ulink>
|
---|
210 |
|
---|
211 | <!-- MPlayer can only use an internal version of this at the moment
|
---|
212 | <xref linkend="ffmpeg"/> -->
|
---|
213 |
|
---|
214 | </para>
|
---|
215 |
|
---|
216 | <bridgehead renderas="sect4">Optional Miscellaneous Dependencies</bridgehead>
|
---|
217 | <para role="optional">
|
---|
218 | <xref linkend="fontconfig"/>,
|
---|
219 | <xref linkend="freetype2"/>,
|
---|
220 | <xref linkend="fribidi"/>,
|
---|
221 | <xref linkend="unrar"/>,
|
---|
222 | <xref linkend="gtk2"/> (required for the GUI),
|
---|
223 | <ulink url="http://cihar.com/software/enca/">Enca</ulink>,
|
---|
224 | <ulink url="http://www.ladspa.org/">LADSPA</ulink>,
|
---|
225 | <ulink url="http://sourceforge.net/projects/bs2b/">libbs2b</ulink>,
|
---|
226 | <ulink url="http://www.lirc.org/">LIRC</ulink> and
|
---|
227 | <ulink url="http://www.dolda2000.com/~fredrik/lirccd/">LIRC Client Daemon</ulink>,
|
---|
228 | <xref linkend="libxslt"/> (required to build the HTML documentation),
|
---|
229 | <xref linkend="DocBook"/> (required to build the HTML documentation) and
|
---|
230 | <xref linkend="docbook-xsl"/> (required to build the HTML documentation)
|
---|
231 | </para>
|
---|
232 |
|
---|
233 | <para condition="html" role="usernotes">User Notes:
|
---|
234 | <ulink url="&blfs-wiki;/mplayer"/></para>
|
---|
235 |
|
---|
236 | </sect2>
|
---|
237 |
|
---|
238 | <sect2 role="installation">
|
---|
239 | <title>Installation of MPlayer</title>
|
---|
240 |
|
---|
241 | <!-- MPlayer can play most filetypes without this
|
---|
242 | <sect3>
|
---|
243 | <title>CODEC Installation (Optional)</title>
|
---|
244 |
|
---|
245 | <para>If you downloaded the binary CODECs, extract them to
|
---|
246 | <filename class="directory">/usr/lib/mplayer/codecs</filename> using the
|
---|
247 | following commands as the <systemitem class="username">root</systemitem>
|
---|
248 | user (substitute and/or add different CODEC filenames, if necessary):</para>
|
---|
249 |
|
---|
250 | <screen role="root"><userinput>install -v -d -m755 /usr/lib/mplayer/codecs &&
|
---|
251 | tar -xvf ../&mplayer-codec; \
|
---|
252 | -C /usr/lib/mplayer/codecs -strip-components=1 &&
|
---|
253 | chown -v -R root:root /usr/lib/mplayer/codecs</userinput></screen>
|
---|
254 |
|
---|
255 | <para>If you installed any CODECs, ensure you add
|
---|
256 | <option>-codecsdir=/usr/lib/mplayer/codecs</option>
|
---|
257 | to the <command>configure</command> script.</para>
|
---|
258 |
|
---|
259 | </sect3>
|
---|
260 | -->
|
---|
261 | <!-- No longer needed
|
---|
262 | <sect3>
|
---|
263 | <title>Installing OSD and Subtitles Support (Optional)</title>
|
---|
264 |
|
---|
265 | <para>To enable OSD (On Screen Display) and subtitles support, add
|
---|
266 | <option>-enable-menu</option> to the <command>configure</command>
|
---|
267 | script. You'll also need to set up at least one font (see font
|
---|
268 | installation instructions a little later).</para>
|
---|
269 |
|
---|
270 | </sect3>
|
---|
271 | -->
|
---|
272 | <sect3>
|
---|
273 | <title>Main MPlayer Installation</title>
|
---|
274 |
|
---|
275 | <note>
|
---|
276 | <para>The package maintainers recommend building without any
|
---|
277 | optimizations.</para>
|
---|
278 | </note>
|
---|
279 |
|
---|
280 | <para>You may wish to examine the output from
|
---|
281 | <command>./configure --help</command> to find out what additional
|
---|
282 | parameters to <command>configure</command> are needed to include
|
---|
283 | the dependencies you have installed on your system.</para>
|
---|
284 |
|
---|
285 | <para>Install <application>MPlayer</application> by running the following
|
---|
286 | commands:</para>
|
---|
287 | <screen><userinput>./configure --prefix=/usr \
|
---|
288 | --confdir=/etc/mplayer \
|
---|
289 | --enable-dynamic-plugins \
|
---|
290 | --enable-menu \
|
---|
291 | --enable-gui &&
|
---|
292 | make</userinput></screen>
|
---|
293 |
|
---|
294 | <para>This package does not come with a test suite.</para>
|
---|
295 |
|
---|
296 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
297 |
|
---|
298 | <screen role="root"><userinput>make install &&</userinput></screen>
|
---|
299 |
|
---|
300 | <para>To build and install the HTML documentation, run as
|
---|
301 | <systemitem class="username">root</systemitem>:</para>
|
---|
302 |
|
---|
303 | <screen role="root"><userinput>make doc &&
|
---|
304 | install -d /usr/share/doc/mplayer-&mplayer-version; &&
|
---|
305 | cp DOCS/HTML/en/* /usr/share/doc/mplayer-&mplayer-version;</userinput></screen>
|
---|
306 |
|
---|
307 | <para>You will need <filename>codecs.conf</filename> only if you want to
|
---|
308 | change its properties, as the main binary contains an internal copy of
|
---|
309 | it. Ensure any changes you make to <filename>codecs.conf</filename>
|
---|
310 | achieve the desired results, as incorrect entries in this file have been
|
---|
311 | known to cause errors and render the player unusable. If necessary,
|
---|
312 | create the file using the following command.</para>
|
---|
313 |
|
---|
314 | <screen role="root"><userinput>install -m644 etc/codecs.conf /etc/mplayer</userinput></screen>
|
---|
315 |
|
---|
316 | <para>You may also want to copy all the default configuration files to
|
---|
317 | <filename class='directory'>/etc/mplayer</filename> for future reference
|
---|
318 | or more customization ability.</para>
|
---|
319 |
|
---|
320 | <screen role="root"><userinput>install -m644 etc/*.conf /etc/mplayer</userinput></screen>
|
---|
321 |
|
---|
322 | <!-- Is this needed?
|
---|
323 | <para><application>MPlayer</application> requires that the RTC run at a
|
---|
324 | frequency of 1024 Hz. Make this setting change at boot-time by adding
|
---|
325 | a line to <filename>/etc/sysctl.conf</filename>:</para>
|
---|
326 |
|
---|
327 | <screen role="root"><userinput>echo "dev.rtc.max-user-freq=1024" >> /etc/sysctl.conf</userinput></screen>
|
---|
328 | -->
|
---|
329 |
|
---|
330 | </sect3>
|
---|
331 |
|
---|
332 | <sect3>
|
---|
333 | <title>Skin Installation (Optional)</title>
|
---|
334 |
|
---|
335 | <para>To enable the GTK frontend of <application>MPlayer</application>,
|
---|
336 | you'll need to install at least one skin. Extract the desired skin and
|
---|
337 | create the default location (as the <systemitem class="username">root</systemitem>
|
---|
338 | user):</para>
|
---|
339 |
|
---|
340 | <screen role="root"><userinput>tar -xvf ../&mplayer-skin; \
|
---|
341 | -C /usr/share/mplayer/skins &&
|
---|
342 | chown -v -R root:root /usr/share/mplayer/skins/Blue &&
|
---|
343 | chmod -v 755 /usr/share/mplayer/skins/Blue{,/icons} &&
|
---|
344 | ln -sfv Blue /usr/share/mplayer/skins/default</userinput></screen>
|
---|
345 |
|
---|
346 | </sect3>
|
---|
347 |
|
---|
348 | <!--
|
---|
349 | <sect3>
|
---|
350 | <title>OSD and Subtitles Font Installation (Required if '-enable-menu' Was
|
---|
351 | Passed to 'configure')</title>
|
---|
352 |
|
---|
353 | <para>The recommended method to set up a font for
|
---|
354 | <application>MPlayer</application> is to link a TTF file to
|
---|
355 | the <filename class="directory">/usr/share/mplayer</filename> directory.
|
---|
356 | For example:</para>
|
---|
357 |
|
---|
358 | <screen><userinput>install -v -m750 -d /usr/share/mplayer &&
|
---|
359 | ln -v -sf /usr/share/fonts/X11-TTF/luxisri.ttf \
|
---|
360 | ~/.mplayer/subfont.ttf</userinput></screen>
|
---|
361 |
|
---|
362 | <para>There are several other ways to set up a font package. To use a
|
---|
363 | prerendered <application>MPlayer</application> font package, extract
|
---|
364 | and link one of the font tarballs using the following commands:</para>
|
---|
365 |
|
---|
366 | <screen role="root"><userinput>tar -xvf ../&mplayer-font;.tar.bz2 \
|
---|
367 | -C /usr/share/mplayer/font &&
|
---|
368 | chown -v -R root:root /usr/share/mplayer/font &&
|
---|
369 | cd /usr/share/mplayer/font &&
|
---|
370 | ln -v -sf &mplayer-font;/font-arial-<replaceable><font size></replaceable>-iso-8859-1/* .</userinput></screen>
|
---|
371 |
|
---|
372 | <para>Available font sizes are 14, 18, 24 or 28.</para>
|
---|
373 |
|
---|
374 | <para>Additional information as well as additional methods to set up an
|
---|
375 | <application>MPlayer</application> font package can be found at <ulink
|
---|
376 | url="http://www.mplayerhq.hu/DOCS/HTML/en/subosd.html#mpsub-install"/>.</para>
|
---|
377 |
|
---|
378 | </sect3>
|
---|
379 | -->
|
---|
380 |
|
---|
381 | <!--
|
---|
382 | Following section should be removed after BLFS-6.2.
|
---|
383 | Current Udev creates persistent cd/dvd links automatically
|
---|
384 | <sect3>
|
---|
385 | <title>Installation for DVD Playback (Optional)</title>
|
---|
386 |
|
---|
387 | <para>If you want DVD playback with <application>MPlayer</application>,
|
---|
388 | you need to ensure a link exists between your DVD drive and
|
---|
389 | <filename>/dev/dvd</filename>. This process is described in the
|
---|
390 | <ulink url="&lfs-root;/chapter07/symlinks.html">Creating custom
|
---|
391 | symlinks to devices</ulink> section in LFS. The user must be part
|
---|
392 | of the <systemitem class="groupname">cdrom</systemitem> group in
|
---|
393 | order to use the device.</para>
|
---|
394 |
|
---|
395 | </sect3>
|
---|
396 | -->
|
---|
397 | </sect2>
|
---|
398 |
|
---|
399 | <sect2 role="commands">
|
---|
400 | <title>Command Explanations</title>
|
---|
401 |
|
---|
402 | <para><parameter>--enable-gui</parameter>: This option is set to build GMPlayer,
|
---|
403 | a GTK frontend for MPlayer.</para>
|
---|
404 | <para><parameter>--enable-menu</parameter>: This option is set to enable the
|
---|
405 | on-screen-display.</para>
|
---|
406 | <!--
|
---|
407 | <para><parameter>-codecsdir=/usr/lib/mplayer/codecs</parameter>: Use this option
|
---|
408 | if you installed the binary codecs.</para>
|
---|
409 | -->
|
---|
410 |
|
---|
411 | </sect2>
|
---|
412 |
|
---|
413 | <sect2 role="configuration">
|
---|
414 | <title>Configuring MPlayer</title>
|
---|
415 |
|
---|
416 | <sect3 id="mplayer-config">
|
---|
417 | <title>Config Files</title>
|
---|
418 |
|
---|
419 | <para><filename>/etc/mplayer/*</filename> and
|
---|
420 | <filename>~/.mplayer/*</filename></para>
|
---|
421 |
|
---|
422 | <indexterm zone="mplayer mplayer-config">
|
---|
423 | <primary sortas="e-AA.mplayer">~/.mplayer/*</primary>
|
---|
424 | </indexterm>
|
---|
425 |
|
---|
426 | <indexterm zone="mplayer mplayer-config">
|
---|
427 | <primary sortas="e-etc-mplayer">/etc/mplayer/*</primary>
|
---|
428 | </indexterm>
|
---|
429 |
|
---|
430 | </sect3>
|
---|
431 |
|
---|
432 | <sect3>
|
---|
433 | <title>Configuration Information</title>
|
---|
434 |
|
---|
435 | <para>Typically, there's no configuration required for the system-wide
|
---|
436 | files in <filename class='directory'>/etc/mplayer</filename> (in fact,
|
---|
437 | this directory is empty unless you copied the default files as mentioned
|
---|
438 | above). Configuration can be accomplished by choosing the configuration
|
---|
439 | button located on the <application>MPlayer</application> GUI. Any
|
---|
440 | configuration changes made in the GUI will be saved in the user's
|
---|
441 | <filename class='directory'>~/.mplayer</filename> directory.</para>
|
---|
442 |
|
---|
443 | </sect3>
|
---|
444 |
|
---|
445 | </sect2>
|
---|
446 |
|
---|
447 | <sect2 role="content">
|
---|
448 | <title>Contents</title>
|
---|
449 |
|
---|
450 | <segmentedlist>
|
---|
451 | <segtitle>Installed Programs</segtitle>
|
---|
452 | <segtitle>Installed Libraries</segtitle>
|
---|
453 | <segtitle>Installed Directories</segtitle>
|
---|
454 |
|
---|
455 | <seglistitem>
|
---|
456 | <seg>gmplayer, mplayer and mencoder</seg>
|
---|
457 | <seg>none</seg>
|
---|
458 | <seg>/etc/mplayer, /usr/lib/mplayer, /usr/share/mplayer and
|
---|
459 | /usr/share/doc/mplayer</seg>
|
---|
460 | </seglistitem>
|
---|
461 | </segmentedlist>
|
---|
462 |
|
---|
463 | <variablelist>
|
---|
464 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
465 | <?dbfo list-presentation="list"?>
|
---|
466 | <?dbhtml list-presentation="table"?>
|
---|
467 |
|
---|
468 | <varlistentry id="gmplayer">
|
---|
469 | <term><command>gmplayer</command></term>
|
---|
470 | <listitem>
|
---|
471 | <para>is a symlink to <command>mplayer</command> which
|
---|
472 | brings up the GTK frontend of
|
---|
473 | <application>MPlayer</application>.</para>
|
---|
474 | <indexterm zone="mplayer gmplayer">
|
---|
475 | <primary sortas="b-gmplayer">gmplayer</primary>
|
---|
476 | </indexterm>
|
---|
477 | </listitem>
|
---|
478 | </varlistentry>
|
---|
479 |
|
---|
480 | <varlistentry id="mplayer-prog">
|
---|
481 | <term><command>mplayer</command></term>
|
---|
482 | <listitem>
|
---|
483 | <para> is the main MPlayer video player.</para>
|
---|
484 |
|
---|
485 | <!-- This is not the place for usage directions, right?
|
---|
486 | <para>Examples of usage:</para>
|
---|
487 |
|
---|
488 | <screen><userinput>mplayer -fs blfs.avi
|
---|
489 | mplayer -vo fbdev -fb /dev/fb0 dvd://1 \
|
---|
490 | -aid 128 -sub en -framedrop
|
---|
491 | mplayer -fs vcd://1 # works both for VCDs and SVCDs
|
---|
492 | mplayer http://fredrik.hubbe.net/plugger/test.mpg</userinput></screen>
|
---|
493 |
|
---|
494 | <para>For further information, look at the very good documentation
|
---|
495 | included with the package in the source tree subdirectory
|
---|
496 | <filename class="directory">DOCS</filename> (also installed at
|
---|
497 | <filename class='directory'>/usr/share/doc/mplayer-&mplayer-version;</filename>).</para>
|
---|
498 | -->
|
---|
499 | <indexterm zone="mplayer mplayer-prog">
|
---|
500 | <primary sortas="b-mplayer">mplayer</primary>
|
---|
501 | </indexterm>
|
---|
502 | </listitem>
|
---|
503 | </varlistentry>
|
---|
504 |
|
---|
505 | <varlistentry id="mencoder">
|
---|
506 | <term><command>mencoder</command></term>
|
---|
507 | <listitem>
|
---|
508 | <para>is a powerful command line video decoding, encoding and
|
---|
509 | filtering tool.</para>
|
---|
510 | <!-- Usage directions
|
---|
511 | is used to encode any <application>MPlayer</application>
|
---|
512 | playable movie to DivX4, <application>XviD</application> or any
|
---|
513 | CODEC in <filename class='libraryfile'>libavcodec</filename> with
|
---|
514 | PCM/MP3/VBRMP3 audio.</para>
|
---|
515 |
|
---|
516 | <para>Example:</para>
|
---|
517 |
|
---|
518 | <screen><userinput>rm frameno.avi
|
---|
519 | mencoder -dvd 1 -aid 128 -ovc frameno -oac mp3lame \
|
---|
520 | -lameopts vbr=3 -o frameno.avi
|
---|
521 |
|
---|
522 | <literal># mencoder should output bitrates for average encodings
|
---|
523 | # now, choose one you like best! In the following lines,
|
---|
524 | # replace <bitrate> and <name.avi> with statements of your
|
---|
525 | # personal liking.</literal>
|
---|
526 |
|
---|
527 | mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
|
---|
528 | -lavcopts vcodec=mpeg4:vpass=1:vhq:vbitrate=<bitrate> \
|
---|
529 | -o <name.avi>
|
---|
530 | mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
|
---|
531 | -lavcopts vcodec=mpeg4:vpass=2:vhq:vbitrate=<bitrate> \
|
---|
532 | -o <name.avi>
|
---|
533 | mencoder -forceidx <name.avi></userinput></screen>
|
---|
534 | -->
|
---|
535 | <indexterm zone="mplayer mencoder">
|
---|
536 | <primary sortas="b-mencoder">mencoder</primary>
|
---|
537 | </indexterm>
|
---|
538 | </listitem>
|
---|
539 | </varlistentry>
|
---|
540 | <!-- not installed anymore?
|
---|
541 | <varlistentry id="libdha">
|
---|
542 | <term><filename class='libraryfile'>libdha.so</filename></term>
|
---|
543 | <listitem>
|
---|
544 | <para>contains functions used by the
|
---|
545 | <application>MPlayer</application> programs.</para>
|
---|
546 | <indexterm zone="mplayer libdha">
|
---|
547 | <primary sortas="c-libdha">libdha.so</primary>
|
---|
548 | </indexterm>
|
---|
549 | </listitem>
|
---|
550 | </varlistentry>
|
---|
551 | -->
|
---|
552 | <!-- not installed anymore
|
---|
553 | <varlistentry id="libpostproc">
|
---|
554 | <term><filename class='libraryfile'>libpostproc.so</filename></term>
|
---|
555 | <listitem>
|
---|
556 | <para>is a post-processing filter library used by the
|
---|
557 | <application>MPlayer</application> programs and other packages.</para>
|
---|
558 | <indexterm zone="mplayer libpostproc">
|
---|
559 | <primary sortas="c-libpostproc">libpostproc.so</primary>
|
---|
560 | </indexterm>
|
---|
561 | </listitem>
|
---|
562 | </varlistentry>
|
---|
563 | -->
|
---|
564 | </variablelist>
|
---|
565 |
|
---|
566 | </sect2>
|
---|
567 |
|
---|
568 | </sect1>
|
---|