annotate DOCS/xml/en/install.xml @ 20641:2155f45d58c2

Move "and" to end of list, improves grammar
author torinthiel
date Sat, 04 Nov 2006 09:24:33 +0000
parents c0687e92d463
children 1ad8b711d8f8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20535
c0687e92d463 convert DOCS/xml/en and help_mp-en.h to UTF-8
kraymer
parents: 20396
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10403
diff changeset
2 <!-- $Revision$ -->
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
3 <chapter id="install">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 <title>Installation</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <para>
11311
92b8eae72aca Mention README.
diego
parents: 11271
diff changeset
7 A quick installation guide can be found in the <filename>README</filename>
92b8eae72aca Mention README.
diego
parents: 11271
diff changeset
8 file. Please read it first and then come back here for the rest of the gory
92b8eae72aca Mention README.
diego
parents: 11271
diff changeset
9 details.
92b8eae72aca Mention README.
diego
parents: 11271
diff changeset
10 </para>
92b8eae72aca Mention README.
diego
parents: 11271
diff changeset
11
92b8eae72aca Mention README.
diego
parents: 11271
diff changeset
12 <para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 In this section I'll try to guide you through the compiling and configuring
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 process of <application>MPlayer</application>. It's not easy, but it won't
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 necessarily be hard. If you experience a different behavior than what I
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 explain, please search through this documentation and you'll find your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 answers. If you see links, please follow them and read carefully what they
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
18 contain. It will take some time, but it IS worth it.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 You need a fairly recent system. On Linux, 2.4.x kernels are recommended.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
25 <sect1 id="softreq">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 <title>Software requirements</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
27
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 <listitem><para>
19968
3f5b5c24ce73 Update gcc section, some rewording.
diego
parents: 19823
diff changeset
30 <emphasis role="bold">binutils</emphasis> - Recommended version is <emphasis role="bold">2.11.x</emphasis>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 This program is responsible for generating MMX/ 3DNow!/etc instructions,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 thus very important.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 <listitem><para>
19968
3f5b5c24ce73 Update gcc section, some rewording.
diego
parents: 19823
diff changeset
35 <emphasis role="bold">gcc</emphasis> - Recommended versions are 2.95
3f5b5c24ce73 Update gcc section, some rewording.
diego
parents: 19823
diff changeset
36 and 3.3+. 2.96 and 3.0.x are known to generate faulty code, 3.1 and
20177
761dffbe4cf0 Recommend gcc 4.x on PowerPC.
diego
parents: 19969
diff changeset
37 3.2 also had problems. On PowerPC, use 4.x+.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 <listitem><para>
19968
3f5b5c24ce73 Update gcc section, some rewording.
diego
parents: 19823
diff changeset
40 <emphasis role="bold">XFree86</emphasis> - Recommended version is <emphasis role="bold">always the
10132
nicolas
parents: 10000
diff changeset
41 newest</emphasis> (4.3). Normally, everyone wants this, as starting
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 with XFree86 4.0.2, it contains the <link linkend="xv">XVideo</link>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 extension (somewhere referred to as <emphasis role="bold">Xv</emphasis>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 which is needed to enable the hardware YUV acceleration (fast image display)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 on cards that support it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 Make sure its <emphasis role="bold">development package</emphasis> is installed,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 too, otherwise it won't work.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 For some video cards you don't need XFree86. See list below.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 <listitem><para>
19968
3f5b5c24ce73 Update gcc section, some rewording.
diego
parents: 19823
diff changeset
51 <emphasis role="bold">make</emphasis> - Recommended version is
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 <emphasis role="bold">always the newest</emphasis> (at least 3.79.x). This
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 usually isn't important.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 <listitem><para>
19819
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
56 <emphasis role="bold">FreeType</emphasis> 2.0.9 or later is required
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
57 to have a font for the OSD and subtitles.
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
58 </para></listitem>
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
59 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 <emphasis role="bold">SDL</emphasis> - it's not mandatory, but can help in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 some cases (bad audio, video cards that lag strangely with the xv driver).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 Always use the newest (beginning from 1.2.x).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 <emphasis role="bold">libjpeg</emphasis> - optional JPEG decoder, used by the <option>-mf</option>
11324
9fceaedbd5a6 Missing <application> tags added, patch by Maciej Paszta <paszczi@go2.pl>.
diego
parents: 11311
diff changeset
66 option and some QT MOV files. Useful for both <application>MPlayer</application>
9fceaedbd5a6 Missing <application> tags added, patch by Maciej Paszta <paszczi@go2.pl>.
diego
parents: 11311
diff changeset
67 and <application>MEncoder</application> if
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 you plan to work with jpeg files.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 <emphasis role="bold">libpng</emphasis> - recommended and default (M)PNG decoder. Required for GUI.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
72 Useful for both <application>MPlayer</application> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 <application>MEncoder</application>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 <emphasis role="bold">lame</emphasis> - recommended, needed for encoding MP3 audio with
19968
3f5b5c24ce73 Update gcc section, some rewording.
diego
parents: 19823
diff changeset
77 <application>MEncoder</application>, recommended version is
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 <emphasis>always the newest</emphasis> (at least 3.90).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 <listitem><para>
11324
9fceaedbd5a6 Missing <application> tags added, patch by Maciej Paszta <paszczi@go2.pl>.
diego
parents: 11311
diff changeset
81 <emphasis role="bold">zlib</emphasis> - recommended, necessary for compressed
9fceaedbd5a6 Missing <application> tags added, patch by Maciej Paszta <paszczi@go2.pl>.
diego
parents: 11311
diff changeset
82 MOV header and PNG support.
9fceaedbd5a6 Missing <application> tags added, patch by Maciej Paszta <paszczi@go2.pl>.
diego
parents: 11311
diff changeset
83 </para></listitem>
9fceaedbd5a6 Missing <application> tags added, patch by Maciej Paszta <paszczi@go2.pl>.
diego
parents: 11311
diff changeset
84 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 <emphasis role="bold">libogg</emphasis> - optional, needed for playing OGG file format.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 <emphasis role="bold">libvorbis</emphasis> - optional, needed for playing OGG Vorbis audio.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90 <listitem><para>
17461
db3327b8e590 s/LIVE.COM/LIVE555/ + URL update
gpoirier
parents: 17321
diff changeset
91 <emphasis role="bold"><ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink></emphasis>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 - optional, needed for playing RTSP/RTP streams.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
94 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
95 <emphasis role="bold">directfb</emphasis> - optional, from
14048
8e4b54cea5cc We now only support directfb >= 0.9.13.
diego
parents: 14024
diff changeset
96 <ulink url="http://www.directfb.org"/>. At least 0.9.13 is required.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
98 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99 <emphasis role="bold">cdparanoia</emphasis> - optional, for CDDA support
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
101 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 <emphasis role="bold">libxmms</emphasis> - optional, for XMMS input plugin
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103 support. At least 1.2.7 is required.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 </para></listitem>
10132
nicolas
parents: 10000
diff changeset
105 <listitem><para>
nicolas
parents: 10000
diff changeset
106 <emphasis role="bold">libsmb</emphasis> - optional, for Samba support.
nicolas
parents: 10000
diff changeset
107 </para></listitem>
12662
05d46af5e2bf JACK audio support through bio2jack by Kamil Strzelecki <esack@o2.pl>
alex
parents: 12615
diff changeset
108 <listitem><para>
14310
f067fbec08e5 Document minimum required ALSA version.
diego
parents: 14121
diff changeset
109 <emphasis role="bold">ALSA</emphasis> - optional, for ALSA audio output
f067fbec08e5 Document minimum required ALSA version.
diego
parents: 14121
diff changeset
110 support. At least 0.9.0rc4 is required.
f067fbec08e5 Document minimum required ALSA version.
diego
parents: 14121
diff changeset
111 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112 </itemizedlist>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
113 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
116 <sect1 id="video-cards">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 <title>Video cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 There are generally two kind of video cards. One kind (the newer cards) has
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 <emphasis role="bold">hardware scaling and YUV acceleration</emphasis> support,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 the other cards don't.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
126 <sect2 id="yuv-cards">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 <title>YUV cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 They can display and scale (zoom) the picture to any size that fits in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 their memory, with <emphasis role="bold">small CPU usage</emphasis> (even when
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 zooming), thus fullscreen is nice and very fast.
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12779
diff changeset
133
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136 <emphasis role="bold">Matrox G200/G400/G450/G550 cards</emphasis>: although a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 <link linkend="vidix">Vidix driver</link> is provided, it is recommended to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 use the mga_vid module instead, for it works much better.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 Please see the <link linkend="mga_vid">mga_vid</link> section about its
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 installation and usage. It is important to do these steps
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 <emphasis>before</emphasis> compiling <application>MPlayer</application>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 otherwise no mga_vid support will be built. Also check out the
11394
4e8081a50351 small fix by Maciej Paszta <paszczi@go2.pl>
diego
parents: 11324
diff changeset
143 <link linkend="tvout-mga-g400">Matrox TV-out</link> section.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 <emphasis role="bold"> If you don't use Linux</emphasis>, your only
9683
nicolas
parents: 9677
diff changeset
145 possibility is the VIDIX driver: read the <link linkend="vidix">VIDIX</link> section.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 <emphasis role="bold">3Dfx Voodoo3/Banshee cards</emphasis>: please see
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 <link linkend="tdfxfb">tdfxfb</link> section in order to gain big speedup.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 It is important to do these steps <emphasis role="bold">before</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 compiling <application>MPlayer</application>, otherwise no 3Dfx support will be
19734
c7f185b2639b Remove tvout-voodoo section that only consists of one broken link.
diego
parents: 19730
diff changeset
152 built.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 If you use X, use at least <emphasis role="bold">4.2.0</emphasis>, as 3dfx Xv
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 driver was broken in 4.1.0, and earlier releases.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 <emphasis role="bold">ATI cards</emphasis>: <link linkend="vidix">VIDIX</link>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158 driver is provided for the following cards:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159 <emphasis role="bold">Radeon, Rage128, Mach64</emphasis> (Rage XL/Mobility, Xpert98).
11483
462b97f8746f move section out of <link> tags
wight
parents: 11461
diff changeset
160 Also see the <link linkend="tvout-ati">ATI cards</link> section of the TV-out documentation,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161 to know if you card's TV-out is supported under Linux/<application>MPlayer</application>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 <emphasis role="bold">S3 cards</emphasis>: the Savage and Virge/DX chips have
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 hardware acceleration. Use as new XFree86 version as possible, older drivers are
11483
462b97f8746f move section out of <link> tags
wight
parents: 11461
diff changeset
166 buggy. Savage chips have problems with YV12 display, see <link linkend="s3">S3 Xv</link>
462b97f8746f move section out of <link> tags
wight
parents: 11461
diff changeset
167 section for details. Older, Trio cards have no, or slow hardware support.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 <listitem><para>
9683
nicolas
parents: 9677
diff changeset
170 <emphasis role="bold">nVidia cards</emphasis>: may or may not be good choice for video playing.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171 If you do not have a GeForce2 (or newer) card, it's not likely to work without bugs.
9683
nicolas
parents: 9677
diff changeset
172 <emphasis role="bold">the built-in nVidia driver in XFree86 does not support
nicolas
parents: 9677
diff changeset
173 hardware YUV acceleration on all nVidia cards.</emphasis> You have
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12779
diff changeset
174 to download nVidia's closed-source drivers from <ulink url="http://nvidia.com">nVidia.com</ulink>.
11461
25d13a2b1911 Link added by Maciej Paszta <paszczi@go2.pl>.
diego
parents: 11394
diff changeset
175 See the <link linkend="nvidia">nVidia Xv driver</link> section for details. Please also check
11483
462b97f8746f move section out of <link> tags
wight
parents: 11461
diff changeset
176 the <link linkend="tvout-nvidia">nVidia TV-out</link> section if you wish to
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 use a TV.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 <emphasis role="bold">3DLabs GLINT R3 and Permedia3</emphasis>: a VIDIX driver
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 is provided (pm3_vid). Please see the <link linkend="vidix">VIDIX</link> section
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 for details.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185 <emphasis role="bold">Other cards</emphasis>: none of the above?
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188 Try if the XFree86 driver (and your card) supports hardware
11483
462b97f8746f move section out of <link> tags
wight
parents: 11461
diff changeset
189 acceleration. See the <link linkend="xv">Xv</link> section for details.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 If it doesn't, then your card's video features aren't supported under
9683
nicolas
parents: 9677
diff changeset
193 your operating system :( If hardware scaling works under Windows, it
nicolas
parents: 9677
diff changeset
194 doesn't mean it will work under Linux or other operating system, it depends on
nicolas
parents: 9677
diff changeset
195 the drivers. Most manufacturers neither make Linux drivers nor release
nicolas
parents: 9677
diff changeset
196 specifications of their chips - so you are unlucky if using their cards.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 See <xref linkend="non-yuv-cards"/>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202 </para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
203 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
206 <sect2 id="non-yuv-cards" xreflabel="Non-YUV cards">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 <title>Non-YUV cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
209 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210 Fullscreen playing can be achieved by either enabling <emphasis role="bold">
9683
nicolas
parents: 9677
diff changeset
211 software scaling</emphasis> (use the <option>-zoom</option> or <option>-vf</option> option,
11501
8f43eb278413 Small fix by Maciej Paszta.
rathann
parents: 11488
diff changeset
212 but I warn you: this is slow), or switching to a smaller video mode, for example
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 352x288. If you don't have YUV acceleration, this latter method is recommended.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 Video mode switching can be enabled by using the <option>-vm</option> option and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 it works with the following drivers:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 <emphasis role="bold">using</emphasis> XFree86: see details in <link linkend="dga">DGA driver</link> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
219 <link linkend="x11">X11 driver</link> sections. DGA is recommended! Also
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
220 try DGA via SDL, sometimes it's better.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
221 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
223 <emphasis role="bold">not using</emphasis> XFree86: try the drivers in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
224 following order:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
225 <link linkend="vesa">vesa</link>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 <link linkend="fbdev">fbdev</link>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
227 <link linkend="svgalib">svgalib</link>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
228 <link linkend="aalib">aalib</link>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231 </para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
232 </sect2>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 <!-- FIXME: find a more logical organization for this section -->
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
235 <sect2 id="cirrus-logic-cards" xreflabel="Cirrus-Logic cards">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236 <title>Cirrus-Logic cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
238 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
239 GD 7548: present on-board and tested in Compaq Armada 41xx notebook series.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
242 XFree86 3: works in 8/16bpp modes. However, the driver is dramatically slow
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243 and buggy in 800x600@16bpp. <emphasis role="bold">Recommended: 640x480@16bpp</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
245 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
246 XFree86 4: the Xserver freezes soon after start unless acceleration is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 disabled, but then the whole thing gets slower than XFree86 3. No XVideo.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
250 FBdev: framebuffer can be turned on with the <systemitem>clgenfb</systemitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 driver in the kernel, though for me it worked only in 8bpp, thus unusable.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
252 The clgenfb source had to be extended with the 7548 ID before compilation.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
253 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
254 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
255 VESA: the card is only VBE 1.2 capable, so VESA output can't be used. Can't
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
256 be workarounded with UniVBE.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
257 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
258 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259 SVGAlib: detects an older Cirrus chip. Usable but slow with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
260 <option>-bpp 8</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
261 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
262 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
263 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
265 </sect2>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
266 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
269 <sect1 id="sound-cards">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 <title>Sound cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
273 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274 <emphasis role="bold">Soundblaster Live!</emphasis>: with this card you can use
9683
nicolas
parents: 9677
diff changeset
275 4 or 6 (<emphasis role="bold">5.1</emphasis>) channels AC3 decoding instead of 2. Read the
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 <link linkend="swac3">Software AC3 decoding</link> section. For hardware AC3
9683
nicolas
parents: 9677
diff changeset
277 passthrough you <emphasis role="bold">must</emphasis> use ALSA 0.9 with OSS emulation!
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 <listitem><simpara>
12369
6c19f8e780fc S/PDIF spelling corrected
wight
parents: 11822
diff changeset
280 <emphasis role="bold">C-Media with S/PDIF out</emphasis>: hardware AC3
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281 passthrough is possible with these cards, see
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282 <link linkend="hwac3">Hardware AC3 decoding</link> section.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285 Features of <emphasis role="bold">other cards</emphasis> aren't supported by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 <application>MPlayer</application>. <emphasis role="bold">It's very recommended
13912
c66b1514ce5b Remove pointless devices section, make video and audio top level sections.
diego
parents: 13111
diff changeset
287 to read the <link linkend="audio">sound card</link> section!</emphasis>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
289 </itemizedlist>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
290 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
291
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
292
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
293 <sect1 id="features">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 <title>Features</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
295
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297 <listitem><para>
11483
462b97f8746f move section out of <link> tags
wight
parents: 11461
diff changeset
298 Decide if you need GUI. If you do, see the <link linkend="gui">GUI</link>
462b97f8746f move section out of <link> tags
wight
parents: 11461
diff changeset
299 section before compiling.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
301 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
302 If you want to install <application>MEncoder</application> (our great
11540
d480f7e36b74 <application> attack
wight
parents: 11501
diff changeset
303 all-purpose encoder), see the
d480f7e36b74 <application> attack
wight
parents: 11501
diff changeset
304 <link linkend="mencoder"><application>MEncoder</application></link> section.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
305 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
306 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307 If you have a V4L compatible <emphasis role="bold">TV tuner</emphasis> card,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
308 and wish to watch/grab and encode movies with <application>MPlayer</application>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
309 read the <link linkend="tv-input">TV input</link> section.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
311 <listitem><para>
19583
94e4ef4195d3 Fix build after radio commit, patch by Jindrich Makovicka.
diego
parents: 19568
diff changeset
312 If you have a V4L compatible <emphasis role="bold">radio tuner</emphasis> card,
19568
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents: 19082
diff changeset
313 and wish to listen and capture sound with <application>MPlayer</application>,
19583
94e4ef4195d3 Fix build after radio commit, patch by Jindrich Makovicka.
diego
parents: 19568
diff changeset
314 read the <link linkend="radio">radio</link> section.
19568
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents: 19082
diff changeset
315 </para></listitem>
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents: 19082
diff changeset
316 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
317 There is a neat <emphasis role="bold">OSD Menu</emphasis> support ready to be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
318 used. Check the <link linkend="subosd">OSD menu</link> section.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
319 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
320 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
321
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
322 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
323 Then build <application>MPlayer</application>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
324 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
325 ./configure
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
326 make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
327 make install</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
328 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
329
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
330 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
331 At this point, <application>MPlayer</application> is ready to use. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
332 directory <filename class="directory">$PREFIX/share/mplayer</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
333 contains the <filename>codecs.conf</filename> file, which is used to tell
10132
nicolas
parents: 10000
diff changeset
334 the program all the codecs and their capabilities. This file is needed only
nicolas
parents: 10000
diff changeset
335 when you want to change its properties, as the main binary contains an internal
nicolas
parents: 10000
diff changeset
336 copy of it. Check if you have
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
337 <filename>codecs.conf</filename> in your home directory
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
338 (<filename>~/.mplayer/codecs.conf</filename>) left from old
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
339 <application>MPlayer</application> versions, and remove it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
340 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
341
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
342 <para>
10403
23c9ebca2e24 Strings attached to codecs.conf explained.
diego
parents: 10277
diff changeset
343 Note that if you have a <filename>codecs.conf</filename> in
23c9ebca2e24 Strings attached to codecs.conf explained.
diego
parents: 10277
diff changeset
344 <filename>~/.mplayer/</filename>, the builtin and system
23c9ebca2e24 Strings attached to codecs.conf explained.
diego
parents: 10277
diff changeset
345 <filename>codecs.conf</filename> will be ignored completely.
11540
d480f7e36b74 <application> attack
wight
parents: 11501
diff changeset
346 Do not do this unless you want to fiddle with <application>MPlayer</application>
d480f7e36b74 <application> attack
wight
parents: 11501
diff changeset
347 internals as this can can cause many problems. If you want to change the codecs
d480f7e36b74 <application> attack
wight
parents: 11501
diff changeset
348 search order, use the <option>-vc</option>, <option>-ac</option>, <option>-vfm</option>,
10403
23c9ebca2e24 Strings attached to codecs.conf explained.
diego
parents: 10277
diff changeset
349 or <option>-afm</option> options either on the command line or in your
23c9ebca2e24 Strings attached to codecs.conf explained.
diego
parents: 10277
diff changeset
350 config file (see the manual page).
23c9ebca2e24 Strings attached to codecs.conf explained.
diego
parents: 10277
diff changeset
351 </para>
23c9ebca2e24 Strings attached to codecs.conf explained.
diego
parents: 10277
diff changeset
352
23c9ebca2e24 Strings attached to codecs.conf explained.
diego
parents: 10277
diff changeset
353
23c9ebca2e24 Strings attached to codecs.conf explained.
diego
parents: 10277
diff changeset
354 <para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
355 Debian users can build a .deb package for themselves, it's very simple.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
356 Just exec
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
357 <screen>fakeroot debian/rules binary</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
358 in <application>MPlayer</application>'s root directory. See
11271
252fb0cf331a spelling fixes, mostly by <ismail.donmez@boun.edu.tr>
diego
parents: 10913
diff changeset
359 <link linkend="debian">Debian packaging</link> for detailed instructions.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
360 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
361
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
362 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
363 <emphasis role="bold">Always browse the output of</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
364 <filename>./configure</filename>, and the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
365 <filename>configure.log</filename> file, they contain information about
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
366 what will be built, and what will not. You may also want to view
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
367 <filename>config.h</filename> and <filename>config.mak</filename> files.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
368 If you have some libraries installed, but not detected by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
369 <filename>./configure</filename>, then check if you also have the proper
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
370 header files (usually the -dev packages) and their version matches. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
371 <filename>configure.log</filename> file usually tells you what is missing.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
372 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
373
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
374 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
375 Though not mandatory, the fonts should be installed in order to gain OSD,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
376 and subtitle functionality. The recommended method is installing a TTF
11540
d480f7e36b74 <application> attack
wight
parents: 11501
diff changeset
377 font file and telling <application>MPlayer</application> to use it.
d480f7e36b74 <application> attack
wight
parents: 11501
diff changeset
378 See the <link linkend="subosd">Subtitles and OSD</link> section for details.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
379 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
380
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
381 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
382
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
383 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
384
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
385 <sect1 id="gui">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
386 <title>What about the GUI?</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
387
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
388 <para>
16663
2965acaa980f CVS now supports GTK 2.0
gpoirier
parents: 16003
diff changeset
389 The GUI needs GTK 1.2.x or GTK 2.0 (it isn't fully GTK, but the panels are).
2965acaa980f CVS now supports GTK 2.0
gpoirier
parents: 16003
diff changeset
390 The skins are stored in PNG format, so GTK, <systemitem class="library">libpng</systemitem>
11271
252fb0cf331a spelling fixes, mostly by <ismail.donmez@boun.edu.tr>
diego
parents: 10913
diff changeset
391 (and their devel stuff, usually called <systemitem class="library">gtk-dev</systemitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
392 and <systemitem class="library">libpng-dev</systemitem>) has to be installed.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
393 You can build it by specifying <option>--enable-gui</option> during
10000
6fbe9b7176d7 sync with HMTL docs
nicolas
parents: 9737
diff changeset
394 <filename>./configure</filename>. Then, to turn on GUI mode, you have to
6fbe9b7176d7 sync with HMTL docs
nicolas
parents: 9737
diff changeset
395 execute the <command>gmplayer</command> binary.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
396 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
397
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
398 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
399 Currently you can't use the <option>-gui</option> option on the command
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
400 line, due to technical reasons.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
401 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
402
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
403 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
404 As <application>MPlayer</application> doesn't have a skin included, you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
405 have to download them if you want to use the GUI. See the <ulink
17706
83c1acef76d5 New website structure, the /homepage subdirectory is gone.
diego
parents: 17461
diff changeset
406 url="http://www.mplayerhq.hu/dload.html">download page</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
407 They should be extracted to the usual system-wide directory (<filename
17974
9a5a62f480e6 Rename the default GUI skins directory from 'Skin' to 'skins', keeping
diego
parents: 17706
diff changeset
408 class="directory">$PREFIX/share/mplayer/skins</filename>), or to <filename
9a5a62f480e6 Rename the default GUI skins directory from 'Skin' to 'skins', keeping
diego
parents: 17706
diff changeset
409 class="directory">$HOME/.mplayer/skins</filename>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
410 <application>MPlayer</application> by default looks in these directories
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
411 for a directory named <filename class="directory">default</filename>, but
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
412 you can use the <option>-skin <replaceable>newskin</replaceable></option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
413 option, or the <literal>skin=newskin</literal> config file directive to use
17974
9a5a62f480e6 Rename the default GUI skins directory from 'Skin' to 'skins', keeping
diego
parents: 17706
diff changeset
414 the skin in <filename class="directory">*/skins/newskin</filename>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
415 directory.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
416 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
417 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
418
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
419 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
420
19822
db95db082c37 Move subtitles and OSD section from the installation to the usage chapter.
diego
parents: 19821
diff changeset
421 <sect1 id="fonts-osd">
db95db082c37 Move subtitles and OSD section from the installation to the usage chapter.
diego
parents: 19821
diff changeset
422 <title>Fonts and OSD</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
423
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
424 <para>
19819
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
425 You need to tell <application>MPlayer</application> which font to use to
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
426 enjoy OSD and subtitles. Any TrueType font or special bitmap fonts will
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
427 work. However, TrueType fonts are recommended as they look far better,
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
428 can be properly scaled to the movie size and cope better with different
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
429 encodings.
19822
db95db082c37 Move subtitles and OSD section from the installation to the usage chapter.
diego
parents: 19821
diff changeset
430 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
431
19823
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
432
19822
db95db082c37 Move subtitles and OSD section from the installation to the usage chapter.
diego
parents: 19821
diff changeset
433 <sect2 id="truetype-fonts">
db95db082c37 Move subtitles and OSD section from the installation to the usage chapter.
diego
parents: 19821
diff changeset
434 <title>TrueType fonts</title>
db95db082c37 Move subtitles and OSD section from the installation to the usage chapter.
diego
parents: 19821
diff changeset
435
db95db082c37 Move subtitles and OSD section from the installation to the usage chapter.
diego
parents: 19821
diff changeset
436 <para>
19823
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
437 There are two ways to get TrueType fonts to work. The first is to pass
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
438 the <option>-font</option> option to specify a TrueType font file on
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
439 the command line. This option will be a good candidate to put in your
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
440 configuration file (see the manual page for details).
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
441 The second is to create a symlink called <filename>subfont.ttf</filename>
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
442 to the font file of your choice. Either
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
443 <screen>ln -s <replaceable>/path/to/sample_font.ttf</replaceable> ~/.mplayer/subfont.ttf</screen>
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
444 for each user individually or a system-wide one:
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
445 <screen>ln -s <replaceable>/path/to/sample_font.ttf</replaceable> $PREFIX/share/mplayer/subfont.ttf</screen>
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
446 </para>
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
447
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
448 <para>
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
449 If <application>MPlayer</application> was compiled with
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
450 <systemitem class="library">fontconfig</systemitem> support, the above methods
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
451 won't work, instead <option>-font</option> expects a
99dcac9ee2e8 Improve TrueType font installation section.
diego
parents: 19822
diff changeset
452 <systemitem class="library">fontconfig</systemitem> font name
20396
490b7a74a21b Fix some inconsistencies pointed out by Torinthiel.
diego
parents: 20384
diff changeset
453 and defaults to the sans-serif font. Example:
19819
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
454
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
455 <screen>mplayer -font <replaceable>'Bitstream Vera Sans'</replaceable> <replaceable>anime.mkv</replaceable></screen>
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
456 </para>
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12779
diff changeset
457
20396
490b7a74a21b Fix some inconsistencies pointed out by Torinthiel.
diego
parents: 20384
diff changeset
458 <para>
490b7a74a21b Fix some inconsistencies pointed out by Torinthiel.
diego
parents: 20384
diff changeset
459 To get a list of fonts known to
490b7a74a21b Fix some inconsistencies pointed out by Torinthiel.
diego
parents: 20384
diff changeset
460 <systemitem class="library">fontconfig</systemitem>,
490b7a74a21b Fix some inconsistencies pointed out by Torinthiel.
diego
parents: 20384
diff changeset
461 use <command>fc-list</command>.
490b7a74a21b Fix some inconsistencies pointed out by Torinthiel.
diego
parents: 20384
diff changeset
462 </para>
19821
9c79fe0945db Slightly restructure font installation section.
diego
parents: 19819
diff changeset
463 </sect2>
9c79fe0945db Slightly restructure font installation section.
diego
parents: 19819
diff changeset
464
9c79fe0945db Slightly restructure font installation section.
diego
parents: 19819
diff changeset
465
9c79fe0945db Slightly restructure font installation section.
diego
parents: 19819
diff changeset
466 <sect2 id="bitmap-fonts">
9c79fe0945db Slightly restructure font installation section.
diego
parents: 19819
diff changeset
467 <title>bitmap fonts</title>
9c79fe0945db Slightly restructure font installation section.
diego
parents: 19819
diff changeset
468
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
469 <para>
19819
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
470 If for some reason you wish or need to employ bitmap fonts, download a set
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
471 from our homepage. You can choose between various
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
472 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/fonts/">ISO fonts</ulink>
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
473 and some sets of fonts
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
474 <ulink url="http://www.mplayerhq.hu/MPlayer/contrib/fonts/">contributed by users</ulink>
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
475 in various encodings.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
476 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
477
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
478 <para>
19819
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
479 Uncompress the file you downloaded to
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
480 <filename class="directory">~/.mplayer</filename> or
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
481 <filename class="directory">$PREFIX/share/mplayer</filename>.
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
482 Then rename or symlink one of the extracted directories to
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
483 <filename class="directory">font</filename>, for example:
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
484 <screen>ln -s <replaceable>~/.mplayer/arial-24</replaceable> ~/.mplayer/font</screen>
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
485 <screen>ln -s <replaceable>$PREFIX/share/mplayer/arial-24</replaceable> $PREFIX/share/mplayer/font</screen>
9737
6c343b6f7059 fix (thanks to Dmitry)
nicolas
parents: 9736
diff changeset
486 </para>
6c343b6f7059 fix (thanks to Dmitry)
nicolas
parents: 9736
diff changeset
487
9736
520f6d60bf75 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9683
diff changeset
488 <para>
19819
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
489 Fonts should have an appropriate <filename>font.desc</filename> file
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
490 which maps unicode font positions to the actual code page of the
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
491 subtitle text. Another solution is to have UTF-8-encoded subtitles
20396
490b7a74a21b Fix some inconsistencies pointed out by Torinthiel.
diego
parents: 20384
diff changeset
492 and use the <option>-utf8</option> option or give the subtitles
490b7a74a21b Fix some inconsistencies pointed out by Torinthiel.
diego
parents: 20384
diff changeset
493 file the same name as your video file with a <filename>.utf</filename>
490b7a74a21b Fix some inconsistencies pointed out by Torinthiel.
diego
parents: 20384
diff changeset
494 extension and have it in the same directory as the video file.
19819
76d294537ff6 TrueType fonts now preferred over bitmap fonts, rewrite the font installation.
diego
parents: 19817
diff changeset
495 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
496
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
497 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
498
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
499
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
500 <sect2 id="osdmenu">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
501 <title>OSD menu</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
502
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
503 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11501
diff changeset
504 <application>MPlayer</application> has a completely user definiable OSD Menu interface.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
505 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
506
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
507 <note><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
508 the Preferences menu is currently UNIMPLEMENTED!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
509 </simpara></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
510
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
511 <orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
512 <title>Installation</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
513 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
514 compile <application>MPlayer</application> by passing the <option>--enable-menu</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
515 to <filename>./configure</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
516 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
517 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
518 make sure you have an OSD font installed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
519 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
520 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
521 copy <filename>etc/menu.conf</filename> to your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
522 <filename class="directory">.mplayer</filename> directory
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
523 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
524 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
525 copy <filename>etc/input.conf</filename> to your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
526 <filename class="directory">.mplayer</filename> directory, or to the system-wide
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
527 <application>MPlayer</application> config dir (default:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
528 <filename class="directory">/usr/local/etc/mplayer</filename>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
529 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
530 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
531 check and edit <filename>input.conf</filename> to enable menu movement keys
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
532 (it is described there).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
533 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
534 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
535 start <application>MPlayer</application> by the following example:
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11687
diff changeset
536 <screen>$ mplayer -menu <replaceable>file.avi</replaceable></screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
537 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
538 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
539 push any menu key you defined
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
540 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
541 </orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
542
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
543 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
544 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
545
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
546 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
547
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
548 <sect1 id="rtc">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
549 <title>RTC</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
550 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11501
diff changeset
551 There are three timing methods in <application>MPlayer</application>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
552
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
553 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
554 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
555 <emphasis role="bold">To use the old method</emphasis>, you don't have to do
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
556 anything. It uses <systemitem>usleep()</systemitem> to tune
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
557 A/V sync, with +/- 10ms accuracy. However sometimes the sync has to be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
558 tuned even finer.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
559 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
560 <listitem><para>
12779
diego
parents: 12767
diff changeset
561 <emphasis role="bold">The new timer</emphasis> code uses the RTC (RealTime Clock)
19773
194a53413994 RTC is no longer the default timing method.
diego
parents: 19761
diff changeset
562 for this task, because it has precise 1ms timers. The <option>-rtc</option>
194a53413994 RTC is no longer the default timing method.
diego
parents: 19761
diff changeset
563 option enables it, but a properly set up kernel is required.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
564 If you are running kernel 2.4.19pre8 or later you can adjust the maximum RTC
11668
18326298f607 added <systemitem class=systemname> tag to /proc
paszczi
parents: 11665
diff changeset
565 frequency for normal users through the <systemitem class="systemname">/proc
19969
96b83e47c885 Also mention sysctl for adjusting RTC settings.
diego
parents: 19968
diff changeset
566 </systemitem> filesystem. Use one of the following two commands to
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
567 enable RTC for normal users:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
568 <screen>echo 1024 &gt; /proc/sys/dev/rtc/max-user-freq</screen>
19969
96b83e47c885 Also mention sysctl for adjusting RTC settings.
diego
parents: 19968
diff changeset
569 <screen>sysctl dev/rtc/max-user-freq=1024</screen>
96b83e47c885 Also mention sysctl for adjusting RTC settings.
diego
parents: 19968
diff changeset
570 You can make this setting permanent by adding the latter to
96b83e47c885 Also mention sysctl for adjusting RTC settings.
diego
parents: 19968
diff changeset
571 <filename>/etc/sysctl.conf</filename>.
96b83e47c885 Also mention sysctl for adjusting RTC settings.
diego
parents: 19968
diff changeset
572 </para>
96b83e47c885 Also mention sysctl for adjusting RTC settings.
diego
parents: 19968
diff changeset
573 <para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
574 You can see the new timer's efficiency in the status line.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
575 The power management functions of some notebook BIOSes with speedstep CPUs
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
576 interact badly with RTC. Audio and video may get out of sync. Plugging the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
577 external power connector in before you power up your notebook seems to help.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
578 In some hardware combinations (confirmed during usage of non-DMA DVD drive
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
579 on an ALi1541 board) usage of the RTC timer causes skippy playback. It's
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
580 recommended to use the third method in these cases.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
581 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
582 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
583 <emphasis role="bold">The third timer code</emphasis> is turned on with the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
584 <option>-softsleep</option> option. It has the efficiency of the RTC, but it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
585 doesn't use RTC. On the other hand, it requires more CPU.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
586 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
587 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
588 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
589 </sect1>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
590
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 16663
diff changeset
591 </chapter>