annotate DOCS/xml/en/video.xml @ 10068:b3ce60d238c4

Updates and a small patch provided by Bohdan Horst.
author diego
date Mon, 05 May 2003 02:33:49 +0000
parents ad081e771ada
children 60c4fd2cb179
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-1"?>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2 <sect2 id="video-dev">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <title>Video output devices</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5 <sect3 id="mtrr">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <title>Setting up MTRR</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 It is VERY recommended to check if the MTRR registers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 are set up properly, because they can give a big performance boost.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
12
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 Do a <command>/proc/mtrr</command>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 <prompt>--($:~)--</prompt> cat /proc/mtrr
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 reg00: base=0xe4000000 (3648MB), size= 16MB: write-combining, count=9
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 reg01: base=0xd8000000 (3456MB), size= 128MB: write-combining, count=1<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 It's right, shows my Matrox G400 with 16MB memory. I did this from
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 XFree 4.x.x , which sets up MTRR registers automatically.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 If nothing worked, you have to do it manually. First, you have to find the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 base address. You have 3 ways to find it:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 <orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 from X11 startup messages, for example:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 (--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 (--) SVGA: Linear framebuffer at 0xD8000000<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 --></screen>
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>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
40 from <filename>/proc/pci</filename> (use <command>lspci -v</command>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 command):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 Memory at d8000000 (32-bit, prefetchable)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 from mga_vid kernel driver messages (use <command>dmesg</command>):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 <screen>mga_mem_base = d8000000</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 </orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 Then let's find the memory size. This is very easy, just convert video RAM
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 size to hexadecimal, or use this table:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 <informaltable frame="none">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 <tgroup cols="2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 <tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 <row><entry>1 MB</entry><entry>0x100000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 <row><entry>2 MB</entry><entry>0x200000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 <row><entry>4 MB</entry><entry>0x400000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 <row><entry>8 MB</entry><entry>0x800000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 <row><entry>16 MB</entry><entry>0x1000000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 <row><entry>32 MB</entry><entry>0x2000000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 </tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 </tgroup>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 </informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
72 You know base address and memory size, let's setup MTRR registers!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 For example, for the Matrox card above (<literal>base=0xd8000000</literal>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 with 32MB ram (<literal>size=0x2000000</literal>) just execute:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 echo "base=0xd8000000 size=0x2000000 type=write-combining" &gt;| /proc/mtrr
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
81 Not all CPUs support MTRRs. For example older K6-2's (around 266MHz,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 stepping 0) doesn't support MTRR, but stepping 12's do (<command>cat /proc/cpuinfo
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 </command> to check it).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 <sect3 id="output-trad">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 <title>Video outputs for traditional video cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 <sect4 id="xv">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90 <title>Xv</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
94 using the XVideo extension. This is what the option '<option>-vo
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
95 xv</option>' uses. Also, this is driver supports adjusting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
96 brightness/contrast/hue/etc (unless you use the old, slow DirectShow DivX
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 codec, which supports it everywhere), see the man page.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
98 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
101 In order to make this work, be sure to check the following:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103 <orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105 You have to use XFree86 4.0.2 or newer (former versions don't have XVideo)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
106 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
107 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 Your card actually supports hardware acceleration (modern cards do)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111 X loads the XVideo extension, it's something like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112 <programlisting>(II) Loading extension XVideo</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 in <filename>/var/log/XFree86.0.log</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 This loads only the XFree86's extension. In a good install, this is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 always loaded, and doesn't mean that the <emphasis role="bold">card's</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 XVideo support is loaded!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 Your card has Xv support under Linux. To check, try
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 <command>xvinfo</command>, it is the part of the XFree86 distribution. It
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 should display a long text, similar to this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 X-Video Extension version 2.2
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 screen #0
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 Adaptor #0: "Savage Streams Engine"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 number of ports: 1
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 port base: 43
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 operations supported: PutImage
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 supported visuals:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 depth 16, visualID 0x22
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133 depth 16, visualID 0x23
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134 number of attributes: 5
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135 (...)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136 Number of image formats: 7
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 id: 0x32595559 (YUY2)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 guid: 59555932-0000-0010-8000-00aa00389b71
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 bits per pixel: 16
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 number of planes: 1
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 type: YUV (packed)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 id: 0x32315659 (YV12)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 guid: 59563132-0000-0010-8000-00aa00389b71
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 bits per pixel: 12
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 number of planes: 3
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 type: YUV (planar)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 (...etc...)<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 It must support YUY2 packed, and YV12 planar pixel formats to be usable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 with <application>MPlayer</application>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 And finally, check if <application>MPlayer</application> was compiled
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 with 'xv' support. <filename>./configure</filename> prints this.
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 </orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159 <sect5 id="tdfx">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160 <title>3dfx cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 Older 3dfx drivers were known to have problems with XVideo acceleration, it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 didn't support either YUY2 or YV12, and so. Verify that you have XFree86
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 version 4.2.0 or greater, it works OK with YV12 and YUY2. Previous
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166 versions, including 4.1.0, <emphasis role="bold">crashes with YV12</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
167 If you experience strange effects using -vo xv, try SDL (it has XVideo too) and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168 see if it helps. Check the <link linkend="sdl">SDL section</link> for details.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172 <emphasis role="bold">OR</emphasis>, try the NEW
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 <option>-vo tdfxfb</option> driver! See the <link linkend="tdfxfb">tdfxfb</link>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
174 section.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
175 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
176 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 <sect5 id="s3">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 <title>S3 cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 S3 Savage3D's should work fine, but for Savage4, use XFree86 version 4.0.3
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184 or greater (in case of image problems, try 16bpp). As for S3 Virge: there is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185 xv support, but the card itself is very slow, so you better sell it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 It's currently unclear which Savage models lack YV12 support, and convert by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 driver (slow). If you suspect your card, get a newer driver, or ask politely
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 on the mplayer-users mailing list for an MMX/3DNow enabled driver.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
194 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
195 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 <sect5 id="nvidia">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 <title>nVidia cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202 nVidia isn't a very good choice under Linux (according to nVidia, this is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 <link linkend="nvidia-opinions">not true</link>)... You'll have to use the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204 binary closed-source nVidia driver, available at nVidia's web site. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 standard XFree86 driver doesn't support XVideo for these cards, due to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 nVidia's closed sources/specifications.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 </para>
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 As far as I know the latest XFree86 driver contains XVideo support for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 GeForce 2 and 3.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 Riva128 cards don't have XVideo support even with the nVidia driver :(
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216 Complain to nVidia.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
219
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
220
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
221 <sect5 id="ati">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222 <title>ATI cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
223
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
224 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
225 The <ulink url="http://www.linuxvideo.org/gatos">GATOS driver</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 (which you should use, unless you have Rage128 or Radeon) has VSYNC enabled
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
227 by default. It means that decoding speed (!) is synced to the monitor's
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
228 refresh rate. If playing seems to be slow, try disabling VSYNC somehow, or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 set refresh rate to a n*(fps of the movie) Hz.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233 Radeon VE - currently only XFree86 CVS has driver for this card, version
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 4.1.0 doesn't. And no TV out support. Of course with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
235 <application>MPlayer</application> you can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236 happily get <emphasis role="bold">accelerated</emphasis> display, with or without
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 <emphasis role="bold">TV output</emphasis>, and no libraries or X are needed.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
238 Read the <link linkend="vidix">VIDIX</link> section.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
239 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
242
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243 <sect5 id="neomagic">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244 <title>NeoMagic cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
245
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
246 <para>
10068
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
247 These cards can be found in many laptops. Unfortunately, the driver in
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
248 XFree prior to 4.3.0 cannot do Xv, but Stefan Seyfried provided
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
249 <ulink url="http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver/">Xv-capable drivers</ulink>.
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
250 Just choose the one that applies to your version of Xfree.
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
251 </para>
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
252
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
253 <para>
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
254 XFree86 4.3.0 includes Xv support, yet Bohdan Horst sent a small
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
255 <ulink url="http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver/neo_driver.patch">patch</ulink>
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
256 against the XFree sources that speeds up framebuffer operations up to four
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
257 times.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
258 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
260 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
261 To allow playback of DVD sized content change your XF86Config like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
262 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
263 Section "Device"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264 [...]
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
265 Driver "neomagic"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
266 <emphasis>Option "OverlayMem" "829440"</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 [...]
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268 EndSection<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
269 --></programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
273
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274 <sect5 id="trident">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
275 <title>Trident cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
277 If you want to use xv with a trident card, provided that it doesn't work
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278 with 4.1.0, install XFree 4.2.0. 4.2.0 adds support for fullscreen xv
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 support with the Cyberblade XP card.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 <sect5 id="kyro">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285 <title>Kyro/PowerVR cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
287 If you want to use Xv with a Kyro based card (for example Hercules
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288 Prophet 4000XT), you should download the drivers from the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
289 <ulink url="http://www.powervr.com/">PowerVR site</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
290 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
291 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
292 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
293
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
295
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296 <sect4 id="dga">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297 <title>DGA</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 <title>PREAMBLE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
301 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
302 This document tries to explain in some words what DGA is in general and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
303 what the DGA video output driver for <application>MPlayer</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
304 can do (and what it can't).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
305 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
306 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
308 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
309 <title>WHAT IS DGA</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
311 <acronym>DGA</acronym> is short for <emphasis>Direct Graphics
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
312 Access</emphasis> and is a means for a program to bypass the X server and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
313 directly modifying the framebuffer memory. Technically spoken this happens
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
314 by mapping the framebuffer memory into the memory range of your process.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
315 This is allowed by the kernel only if you have superuser privileges. You
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
316 can get these either by logging in as <systemitem
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
317 class="username">root</systemitem> or by setting the SUID bit on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
318 <application>MPlayer</application> executable (<emphasis role="bold">not
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
319 recommended</emphasis>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
320 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
321 </formalpara>
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 There are two versions of DGA: DGA1 is used by XFree 3.x.x and DGA2 was
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
324 introduced with XFree 4.0.1.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
325 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
326
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
327 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
328 DGA1 provides only direct framebuffer access as described above. For
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
329 switching the resolution of the video signal you have to rely on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
330 XVidMode extension.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
331 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
332
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
333 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
334 DGA2 incorporates the features of XVidMode extension and also allows
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
335 switching the depth of the display. So you may, although basically
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
336 running a 32 bit depth X server, switch to a depth of 15 bits and vice
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
337 versa.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
338 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
339
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 However DGA has some drawbacks. It seems it is somewhat dependent on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
342 graphics chip you use and on the implementation of the X server's video
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
343 driver that controls this chip. So it does not work on every system...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
344 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
345
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
346 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
347 <title>INSTALLING DGA SUPPORT FOR MPLAYER</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
348
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
349 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
350 First make sure X loads the DGA extension, see in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
351 <filename>/var/log/XFree86.0.log</filename>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
352
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
353 <programlisting>(II) Loading extension XFree86-DGA</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
354
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
355 See, XFree86 4.0.x or greater is VERY RECOMMENDED!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
356 <application>MPlayer</application>'s DGA driver is autodetected by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
357 <filename>./configure</filename>, or you can force it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
358 with <option>--enable-dga</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
359 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
360 </formalpara>
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 If the driver couldn't switch to a smaller resolution, experiment with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
364 options <option>-vm</option> (only with X 3.3.x), <option>-fs</option>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
365 <option>-bpp</option>, <option>-zoom</option> to find a video mode that
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
366 the movie fits in. There is no converter right now :(
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
367 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
368
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
369 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
370 Become <systemitem class="username">root</systemitem>. DGA needs root
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
371 access to be able to write directly video memory. If you want to run it as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
372 user, then install <application>MPlayer</application> SUID root:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
373
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
374 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
375 chown root /usr/local/bin/mplayer
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
376 chmod 750 /usr/local/bin/mplayer
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
377 chmod +s /usr/local/bin/mplayer
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
378 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
379
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
380 Now it works as a simple user, too.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
381 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
382
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
383 <caution>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
384 <title>Security risk</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
385 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
386 This is a <emphasis role="bold">big</emphasis> security risk! Never do this
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
387 on a server or on a computer can be accessed by other people because they
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
388 can gain root privileges through SUID root
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
389 <application>MPlayer</application>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
390 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
391 </caution>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
392
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
393 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
394 Now use <option>-vo dga</option> option, and there you go! (hope so:) You
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
395 should also try if the <option>-vo sdl:dga</option> option works for you!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
396 It's much faster!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
397 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
398
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
399
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
400 <formalpara id="dga-modelines">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
401 <title>RESOLUTION SWITCHING</title>
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 The DGA driver allows for switching the resolution of the output signal.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
405 This avoids the need for doing (slow) software scaling and at the same time
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
406 provides a fullscreen image. Ideally it would switch to the exact
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
407 resolution (except for honoring aspect ratio) of the video data, but the X
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
408 server only allows switching to resolutions predefined in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
409 <filename>/etc/X11/XF86Config</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
410 (<filename>/etc/X11/XF86Config-4</filename> for XFree 4.X.X respectively).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
411 Those are defined by so-called modelines and depend on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
412 the capabilities of your video hardware. The X server scans this config
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
413 file on startup and disables the modelines not suitable for your hardware.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
414 You can find out which modes survive with the X11 log file. It can be found
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
415 at: <filename>/var/log/XFree86.0.log</filename>.
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 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
418
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
419 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
420 These entries are known to work fine with a Riva128 chip, using the nv.o X
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
421 server driver module.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
422 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
423
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
424
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
425 <para><programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
426 Section "Modes"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
427 Identifier "Modes[0]"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
428 Modeline "800x600" 40 800 840 968 1056 600 601 605 628
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
429 Modeline "712x600" 35.0 712 740 850 900 400 410 412 425
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
430 Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
431 Modeline "400x300" 20 400 416 480 528 300 301 303 314 Doublescan
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
432 Modeline "352x288" 25.10 352 368 416 432 288 296 290 310
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
433 Modeline "352x240" 15.750 352 368 416 432 240 244 246 262 Doublescan
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
434 Modeline "320x240" 12.588 320 336 384 400 240 245 246 262 Doublescan
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
435 EndSection
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
436 </programlisting></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
437
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
438
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
439 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
440 <title>DGA &amp; MPLAYER</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
441 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
442 DGA is used in two places with <application>MPlayer</application>: The SDL
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
443 driver can be made to make use of it (<option>-vo sdl:dga</option>) and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
444 within the DGA driver (<option>-vo dga</option>). The above said is true
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
445 for both; in the following sections I'll explain how the DGA driver for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
446 <application>MPlayer</application> works.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
447 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
448 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
449
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
450
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
451 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
452 <title>FEATURES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
453
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
454 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
455 The DGA driver is invoked by specifying <option>-vo dga</option> at the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
456 command line. The default behavior is to switch to a resolution matching
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
457 the original resolution of the video as close as possible. It deliberately
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
458 ignores the <option>-vm</option> and <option>-fs</option> options
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
459 (enabling of video mode switching and fullscreen) - it always tries to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
460 cover as much area of your screen as possible by switching the video mode,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
461 thus refraining to use a single additional cycle of your CPU to scale the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
462 image. If you don't like the mode it chooses you may force it to choose
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
463 the mode matching closest the resolution you specify by <option>-x</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
464 and <option>-y</option>. By providing the <option>-v</option> option, the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
465 DGA driver will print, among a lot of other things, a list of all
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
466 resolutions supported by your current <filename>XF86Config</filename> file.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
467 Having DGA2 you may also force it to use a certain depth by using the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
468 <option>-bpp</option> option. Valid depths are 15, 16, 24 and 32. It
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
469 depends on your hardware whether these depths are natively supported or if
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
470 a (possibly slow) conversion has to be done.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
471 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
472 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
473 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
474 If you should be lucky enough to have enough offscreen memory left to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
475 put a whole image there, the DGA driver will use doublebuffering, which
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
476 results in much smoother movie replaying. It will tell you whether
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
477 double-buffering is enabled or not.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
478 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
479
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
480 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
481 Doublebuffering means that the next frame of your video is being drawn in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
482 some offscreen memory while the current frame is being displayed. When the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
483 next frame is ready, the graphics chip is just told the location in memory
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
484 of the new frame and simply fetches the data to be displayed from there.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
485 In the meantime the other buffer in memory will be filled again with new
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
486 video data.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
487 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
488
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
489 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
490 Doublebuffering may be switched on by using the option
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
491 <option>-double</option> and may be disabled with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
492 <option>-nodouble</option>. Current default option is to disable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
493 doublebuffering. When using the DGA driver, onscreen display (OSD) only
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
494 works with doublebuffering enabled. However, enabling doublebuffering may
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
495 result in a big speed penalty (on my K6-II+ 525 it used an additional 20%
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
496 of CPU time!) depending on the implementation of DGA for your hardware.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
497 </para>
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 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
501 <title>SPEED ISSUES</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>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
504 Generally spoken, DGA framebuffer access should be at least as fast as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
505 using the X11 driver with the additional benefit of getting a fullscreen
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
506 image. The percentage speed values printed by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
507 <application>MPlayer</application> have to be interpreted with some care,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
508 as for example, with the X11 driver they do not include the time used by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
509 the X server needed for the actual drawing. Hook a terminal to a serial
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
510 line of your box and start <command>top</command> to see what is really
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
511 going on in your box.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
512 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
513 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
514
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
515 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
516 Generally spoken, the speedup done by using DGA against 'normal' use of X11
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
517 highly depends on your graphics card and how well the X server module for it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
518 is optimized.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
519 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
520
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
521 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
522 If you have a slow system, better use 15 or 16 bit depth since they require
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
523 only half the memory bandwidth of a 32 bit display.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
524 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
525
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
526 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
527 Using a depth of 24 bit is even a good idea if your card natively just supports
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
528 32 bit depth since it transfers 25% less data compared to the 32/32 mode.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
529 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
530
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
531 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
532 I've seen some AVI files already be replayed on a Pentium MMX 266. AMD K6-2
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
533 CPUs might work at 400 MHZ and above.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
534 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
535
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
536
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
537 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
538 <title>KNOWN BUGS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
539
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
540 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
541 Well, according to some developers of XFree, DGA is quite a beast. They
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
542 tell you better not to use it. Its implementation is not always flawless
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
543 with every chipset driver for XFree out there.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
544 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
545 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
546
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
547 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
548 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
549 With XFree 4.0.3 and <filename>nv.o</filename> there is a bug resulting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
550 in strange colors.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
551 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
552 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
553 ATI driver requires to switch mode back more than once after finishing
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
554 using of DGA.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
555 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
556 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
557 Some drivers simply fail to switch back to normal resolution (use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
558 <keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>Keypad +</keycap> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
559 <keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>Keypad -</keycap>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
560 to switch back manually).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
561 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
562 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
563 Some drivers simply display strange colors.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
564 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
565 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
566 Some drivers lie about the amount of memory they map into the process's
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
567 address space, thus vo_dga won't use doublebuffering (SIS?).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
568 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
569 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
570 Some drivers seem to fail to report even a single valid mode. In this
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
571 case the DGA driver will crash telling you about a nonsense mode of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
572 100000x100000 or something like that.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
573 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
574 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
575 OSD only works with doublebuffering enabled (else it flickers).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
576 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
577 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
578
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
579 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
580 <!--</sect3>-->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
581
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
582 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
583
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
584 <sect4 id="sdl">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
585 <title>SDL</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
586
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
587 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
588 SDL (Simple Directmedia Layer) is basically a unified
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
589 video/audio interface. Programs that use it know only about SDL, and not
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
590 about what video or audio driver does SDL actually use. For example a Doom
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
591 port using SDL can run on svgalib, aalib, X, fbdev, and others, you only
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
592 have to specify the (for example) video driver to use with the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
593 <envar>SDL_VIDEODRIVER</envar> environment variable. Well, in theory.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
594 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
595
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
596 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
597 With <application>MPlayer</application>, we used its X11 driver's software
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
598 scaler ability for cards/drivers that doesn't support XVideo, until we made
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
599 our own (faster, nicer) software scaler. Also we used its aalib output, but
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
600 now we have ours which is more comfortable. Its DGA mode was better than
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
601 ours, until recently. Get it now? :)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
602 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
603
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
604 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
605 It also helps with some buggy drivers/cards if the video is jerky (not slow
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
606 system problem), or audio is lagging.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
607 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
608
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
609 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
610 SDL video output supports displaying subtitles under the movie, on the (if
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
611 present) black bar.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
612 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
613
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
614 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
615 <title>There are several command line switches for SDL:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
616 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
617 <term><option>-vo sdl:<replaceable>name</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
618 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
619 specifies SDL video driver to use (i.e. <literal>aalib</literal>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
620 <literal>dga</literal>, <literal>x11</literal>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
621 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
622 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
623 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
624 <term><option>-ao sdl:<replaceable>name</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
625 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
626 specifies SDL audio driver to use (i.e. <literal>dsp</literal>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
627 <literal>esd</literal>, <literal>arts</literal>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
628 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
629 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
630 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
631 <term><option>-noxv</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
632 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
633 disables XVideo hardware acceleration
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
634 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
635 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
636 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
637 <term><option>-forcexv</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
638 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
639 tries to force XVideo acceleration
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
640 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
641 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
642 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
643
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
644 <table>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
645 <title>SDL keys</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
646 <tgroup cols="2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
647 <thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
648 <row><entry>Key</entry><entry>Action</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
649 </thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
650 <tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
651 <row><entry><keycap>F</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
652 toggles fullscreen/windowed mode
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
653 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
654 <row><entry><keycap>C</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
655 cycles available fullscreen modes
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
656 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
657 <row><entry><keycap>W</keycap>/<keycap>S</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
658 mappings for <keycap>*</keycap> and <keycap>/</keycap> (mixer control)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
659 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
660 </tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
661 </tgroup>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
662 </table>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
663
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
664 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
665 <title>Known bugs:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
666 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
667 Keys pressed under sdl:aalib console driver repeat forever. (use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
668 <option>-vo aa</option>!) It's bug in SDL, I can't change it (tested with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
669 SDL 1.2.1).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
670 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
671 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
672 DO NOT USE SDL with GUI! It won't work as it should.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
673 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
674 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
675 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
676
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
677
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
678 <sect4 id="svgalib">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
679 <title>SVGAlib</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
680
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
681 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
682 <title>INSTALLATION</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
683 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
684 You'll have to install svgalib and its development package in order for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
685 <application>MPlayer</application> build its SVGAlib driver (autodetected,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
686 but can be forced), and don't forget to edit
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
687 <filename>/etc/vga/libvga.config</filename> to suit your card and monitor.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
688 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
689 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
690
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
691 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
692 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
693 Be sure not to use the <option>-fs</option> switch, since it toggles the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
694 usage of the software scaler, and it's slow. If you really need it, use the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
695 <option>-sws 4</option> option which will produce bad quality, but is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
696 somewhat faster.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
697 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
698 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
699
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
700 <formalpara><title>EGA (4BPP) SUPPORT</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
701 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
702 SVGAlib incorporates EGAlib, and <application>MPlayer</application> has the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
703 possibility to display any movie in 16 colors, thus usable in the following
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
704 sets:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
705 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
706 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
707
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
708 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
709 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
710 EGA card with EGA monitor: 320x200x4bpp, 640x200x4bpp, 640x350x4bpp
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
711 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
712 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
713 EGA card with CGA monitor: 320x200x4bpp, 640x200x4bpp
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
714 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
715 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
716
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
717 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
718 The bpp (bits per pixel) value must be set to 4 by hand:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
719 <option>-bpp 4</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
720 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
721
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
722 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
723 The movie probably must be scaled down to fit in EGA mode:
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
724 <screen>-vf scale=640:350</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
725 or
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
726 <screen>-vf scale=320:200</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
727 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
728
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
729 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
730 For that we need fast but bad quality scaling routine:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
731 <screen>-sws 4</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
732 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
733
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
734 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
735 Maybe automatic aspect correction has to be shut off:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
736 <screen>-noaspect</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
737 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
738
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
739 <note><para>
9683
nicolas
parents: 9677
diff changeset
740 According to my experience the best image quality on
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
741 EGA screens can be achieved by decreasing the brightness a bit:
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
742 <option>-vf eq=-20:0</option>. I also needed to lower the audio
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
743 samplerate on my box, because the sound was broken on 44kHz:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
744 <option>-srate 22050</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
745 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
746
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
747 <para>
9683
nicolas
parents: 9677
diff changeset
748 You can turn on OSD and subtitles only with the <systemitem>expand</systemitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
749 filter, see the man page for exact parameters.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
750 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
751 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
752
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
753
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
754 <sect4 id="fbdev">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
755 <title>Framebuffer output (FBdev)</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
756
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
757 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
758 Whether to build the FBdev target is autodetected during
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
759 <filename>./configure</filename>. Read the framebuffer documentation in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
760 the kernel sources (<filename>Documentation/fb/*</filename>) for more
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
761 information.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
762 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
763
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
764 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
765 If your card doesn't support VBE 2.0 standard (older ISA/PCI cards, such as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
766 S3 Trio64), only VBE 1.2 (or older?): Well, VESAfb is still available, but
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
767 you'll have to load SciTech Display Doctor (formerly UniVBE) before booting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
768 Linux. Use a DOS boot disk or whatever. And don't forget to register your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
769 UniVBE ;))
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
770 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
771
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
772 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
773 The FBdev output takes some additional parameters above the others:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
774 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
775
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
776 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
777 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
778 <term><option>-fb</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
779 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
780 specify the framebuffer device to use (<filename>/dev/fb0</filename>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
781 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
782 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
783 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
784 <term><option>-fbmode</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
785 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
786 mode name to use (according to <filename>/etc/fb.modes</filename>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
787 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
788 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
789 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
790 <term><option>-fbmodeconfig</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
791 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
792 config file of modes (default <filename>/etc/fb.modes</filename>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
793 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
794 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
795 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
796 <term><option>-monitor_hfreq</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
797 <term><option>-monitor_vfreq</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
798 <term><option>-monitor_dotclock</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
799 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
800 <emphasis role="bold">important</emphasis> values, see
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
801 <filename>example.conf</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
802 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
803 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
804 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
805
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
806 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
807 If you want to change to a specific mode, then use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
808 <screen>mplayer -vm -fbmode <replaceable>name_of_mode</replaceable> <replaceable>filename</replaceable></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
809 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
810
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
811 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
812 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
813 <option>-vm</option> alone will choose the most suitable mode from
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
814 <filename>/etc/fb.modes</filename>. Can be used together with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
815 <option>-x</option> and <option>-y</option> options too. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
816 <option>-flip</option> option is supported only if the movie's pixel
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
817 format matches the video mode's pixel format. Pay attention to the bpp
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
818 value, fbdev driver tries to use the current, or if you specify the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
819 <option>-bpp</option> option, then that.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
820 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
821 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
822 <option>-zoom</option> option isn't supported (software scaling is slow).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
823 <option>-fs</option> option isn't supported. You can't use 8 bpp (or less)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
824 modes.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
825 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
826 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
827 You possibly want to turn the cursor off:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
828 <screen>echo -e '\033[?25l'</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
829 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
830 <screen>setterm -cursor off</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
831 and the screen saver:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
832 <screen>setterm -blank 0</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
833 To turn the cursor back on:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
834 <screen>echo -e '\033[?25h'</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
835 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
836 <screen>setterm -cursor on</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
837 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
838 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
839
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
840 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
841 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
842 FBdev video mode changing <emphasis>does not work</emphasis> with the VESA
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
843 framebuffer, and don't ask for it, since it's not an
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
844 <application>MPlayer</application> limitation.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
845 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
846 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
847 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
848
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
849
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
850 <sect4 id="mga_vid">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
851 <title>Matrox framebuffer (mga_vid)</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
852
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
853 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
854 This section is about the Matrox G200/G400/G450/G550 BES (Back-End Scaler)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
855 support, the mga_vid kernel driver. It's actively developed by A'rpi, and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
856 it has hardware VSYNC support with triple buffering. It works on both
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
857 framebuffer console and under X.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
858 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
859
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
860 <warning>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
861 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
862 This is Linux only! On non-Linux (tested on FreeBSD) systems, you can use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
863 <link linkend="vidix">VIDIX</link> instead!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
864 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
865 </warning>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
866
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
867 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
868 <title>Installation:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
869 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
870 To use it, you first have to compile <filename>mga_vid.o</filename>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
871 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
872 cd drivers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
873 make<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
874 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
875 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
876 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
877 Then create <filename>/dev/mga_vid</filename> device:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
878 <screen>mknod /dev/mga_vid c 178 0</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
879 and load the driver with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
880 <screen>insmod mga_vid.o</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
881 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
882 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
883 You should verify the memory size detection using the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
884 <command>dmesg</command> command. If it's bad, use the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
885 <option>mga_ram_size</option> option
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
886 (<command>rmmod mga_vid</command> first),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
887 specify card's memory size in MB:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
888 <screen>insmod mga_vid.o mga_ram_size=16</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
889 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
890 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
891 To make it load/unload automatically when needed, first insert the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
892 following line at the end of <filename>/etc/modules.conf</filename>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
893
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
894 <programlisting>alias char-major-178 mga_vid</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
895
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
896 Then copy the <filename>mga_vid.o</filename> module to the appropriate
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
897 place under <filename>/lib/modules/<replaceable>kernel
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
898 version</replaceable>/<replaceable>somewhere</replaceable></filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
899 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
900 Then run
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
901 <screen>depmod -a</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
902 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
903 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
904 Now you have to (re)compile <application>MPlayer</application>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
905 <filename>./configure</filename> will detect
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
906 <filename>/dev/mga_vid</filename> and build the 'mga' driver. Using it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
907 from <application>MPlayer</application> goes by <option>-vo mga</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
908 if you have matroxfb console, or <option>-vo xmga</option> under XFree86
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
909 3.x.x or 4.x.x.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
910 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
911 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
912
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
913 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
914 The mga_vid driver cooperates with Xv.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
915 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
916
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
917 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
918 The <filename>/dev/mga_vid</filename> device file can be read for some
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
919 info, for example by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
920 <screen>cat /dev/mga_vid</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
921 and can be written for brightness change:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
922 <screen>echo "brightness=120" &gt; /dev/mga_vid</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
923 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
924 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
925
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
926
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
927 <sect4 id="tdfxfb" xreflabel="3Dfx YUV support (tdfxfb)">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
928 <title>3Dfx YUV support</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
929 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
930 This driver uses the kernel's tdfx framebuffer driver to play movies with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
931 YUV acceleration. You'll need a kernel with tdfxfb support, and recompile
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
932 with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
933 <screen>./configure --enable-tdfxfb</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
934 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
935 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
936
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
937
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
938 <sect4 id="opengl">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
939 <title>OpenGL output</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
940
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
941 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
942 <application>MPlayer</application> supports displaying movies using OpenGL,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
943 but if your platform/driver supports xv as should be the case on a PC with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
944 Linux, use xv instead, OpenGL performance is considerably worse. If you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
945 have an X11 implementation without xv support, OpenGL is a viable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
946 alternative.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
947 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
948
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
949 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
950 Unfortunately not all drivers support this feature. The Utah-GLX drivers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
951 (for XFree86 3.3.6) support it for all cards.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
952 See <ulink url="http://utah-glx.sourceforge.net"/> for details about how to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
953 install it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
954 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
955
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
956 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
957 XFree86(DRI) 4.0.3 or later supports OpenGL with Matrox and Radeon cards,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
958 4.2.0 or later supports Rage128.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
959 See <ulink url="http://dri.sourceforge.net"/> for download and installation
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
960 instructions.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
961 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
962 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
963
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
964
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
965 <sect4 id="aalib">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
966 <title>AAlib - text mode displaying</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
967
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
968 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
969 AAlib is a library for displaying graphics in text mode, using powerful
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
970 ASCII renderer. There are <emphasis>lots</emphasis> of programs already
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
971 supporting it, like Doom, Quake, etc. <application>MPlayer</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
972 contains a very usable driver for it. If <filename>./configure</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
973 detects aalib installed, the aalib libvo driver will be built.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
974 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
975
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
976 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
977 You can use some keys in the AA Window to change rendering options:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
978 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
979
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
980 <informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
981 <tgroup cols="2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
982 <thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
983 <row><entry>Key</entry><entry>Action</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
984 </thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
985 <tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
986 <row><entry><keycap>1</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
987 decrease contrast
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
988 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
989 <row><entry><keycap>2</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
990 increase contrast
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
991 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
992 <row><entry><keycap>3</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
993 decrease brightness
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
994 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
995 <row><entry><keycap>4</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
996 increase brightness
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
997 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
998 <row><entry><keycap>5</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
999 switch fast rendering on/off
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1000 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1001 <row><entry><keycap>6</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1002 set dithering mode (none, error distribution, Floyd Steinberg)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1003 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1004 <row><entry><keycap>7</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1005 invert image
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1006 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1007 <row><entry><keycap>8</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1008 toggles between aa and <application>MPlayer</application> control
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1009 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1010 </tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1011 </tgroup>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1012 </informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1013
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1014 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1015 <title>The following command line options can be used:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1016 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1017 <term><option>-aaosdcolor=<replaceable>V</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1018 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1019 change OSD color
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1020 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1021 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1022 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1023 <term><option>-aasubcolor=<replaceable>V</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1024 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1025 change subtitle color
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1026 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1027 where <replaceable>V</replaceable> can be:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1028 <literal>0</literal> (normal),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1029 <literal>1</literal> (dark),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1030 <literal>2</literal> (bold),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1031 <literal>3</literal> (bold font),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1032 <literal>4</literal> (reverse),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1033 <literal>5</literal> (special).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1034 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1035 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1036 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1037
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1038 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1039 <title>AAlib itself provides a large sum of options. Here are some
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1040 important:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1041 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1042 <term><option>-aadriver</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1043 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1044 set recommended aa driver (X11, curses, Linux)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1045 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1046 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1047 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1048 <term><option>-aaextended</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1049 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1050 use all 256 characters
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1051 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1052 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1053 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1054 <term><option>-aaeight</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1055 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1056 use eight bit ASCII
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1057 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1058 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1059 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1060 <term><option>-aahelp</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1061 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1062 prints out all aalib options
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1063 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1064 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1065 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1066
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1067 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1068 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1069 The rendering is very CPU intensive, especially when using AA-on-X
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1070 (using aalib on X), and it's least CPU intensive on standard,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1071 non-framebuffer console. Use SVGATextMode to set up a big textmode,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1072 then enjoy! (secondary head Hercules cards rock :)) (but imho you
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1073 can use -vf 1bpp option to get graphics on hgafb:)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1074 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1075 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1076
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1077 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1078 Use the <option>-framedrop</option> option if your computer isn't fast
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1079 enough to render all frames!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1080 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1081
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1082 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1083 Playing on terminal you'll get better speed and quality using the Linux
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1084 driver, not curses (<option>-aadriver linux</option>). But therefore you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1085 need write access on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1086 <filename>/dev/vcsa<replaceable>&lt;terminal&gt;</replaceable></filename>!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1087 That isn't autodetected by aalib, but vo_aa tries to find the best mode.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1088 See <ulink url="http://aa-project.sourceforge.net/tune"/> for further
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1089 tuning issues.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1090 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1091 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1092
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1093
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1094 <sect4 id="vesa">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1095 <title>VESA - output to VESA BIOS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1096
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1097 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1098 This driver was designed and introduced as a <emphasis role="bold">generic
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1099 driver</emphasis> for any video card which has VESA VBE 2.0 compatible
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1100 BIOS. Another advantage of this driver is that it tries to force TV output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1101 on.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1102 <citetitle>VESA BIOS EXTENSION (VBE) Version 3.0 Date: September 16,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1103 1998</citetitle> (Page 70) says:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1104 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1105
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1106 <blockquote>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1107 <formalpara><title>Dual-Controller Designs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1108 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1109 VBE 3.0 supports the dual-controller design by assuming that since both
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1110 controllers are typically provided by the same OEM, under control of a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1111 single BIOS ROM on the same graphics card, it is possible to hide the fact
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1112 that two controllers are indeed present from the application. This has the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1113 limitation of preventing simultaneous use of the independent controllers,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1114 but allows applications released before VBE 3.0 to operate normally. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1115 VBE Function 00h (Return Controller Information) returns the combined
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1116 information of both controllers, including the combined list of available
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1117 modes. When the application selects a mode, the appropriate controller is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1118 activated. Each of the remaining VBE functions then operates on the active
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1119 controller.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1120 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1121 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1122 </blockquote>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1123
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1124 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1125 So you have chances to get working TV-out by using this driver.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1126 (I guess that TV-out frequently is standalone head or standalone output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1127 at least.)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1128 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1129
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1130 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1131 <title>ADVANTAGES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1132 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1133 You have chances to watch movies <emphasis role="bold">if Linux even doesn't
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1134 know</emphasis> your video hardware.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1135 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1136 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1137 You don't need to have installed any graphics' related things on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1138 Linux (like X11 (aka XFree86), fbdev and so on). This driver can be run
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1139 from <emphasis role="bold">text-mode</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1140 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1141 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1142 You have chances to get <emphasis role="bold">working TV-out</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1143 (It's known at least for ATI's cards).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1144 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1145 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1146 This driver calls <function>int 10h</function> handler thus it's not
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1147 an emulator - it calls <emphasis role="bold">real</emphasis> things of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1148 <emphasis>real</emphasis> BIOS in <emphasis>real-mode</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1149 (Finely - in vm86 mode).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1150 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1151 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1152 You can use VIDIX with it, thus getting accelerated video display
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1153 <emphasis role="bold">and</emphasis> TV output at the same time!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1154 (Recommended for ATI cards.)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1155 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1156 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1157
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1158 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1159 <title>DISADVANTAGES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1160 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1161 It works only on <emphasis role="bold">x86 systems</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1162 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1163 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1164 It can be used only by <systemitem class="username">root</systemitem>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1165 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1166 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1167 Currently it's available only for <emphasis role="bold">Linux</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1168 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1169 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1170
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1171 <important>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1172 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1173 Don't use this driver with <emphasis role="bold">GCC 2.96</emphasis>!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1174 It won't work!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1175 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1176 </important>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1177
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1178 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1179 <title>COMMAND LINE OPTIONS AVAILABLE FOR VESA</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1180 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1181 <term><option>-vo vesa:<replaceable>opts</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1182 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1183 currently recognized: <literal>dga</literal> to force dga mode and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1184 <literal>nodga</literal> to disable dga mode. In dga mode you can enable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1185 double buffering via the -double option. Note: you may omit these parameters
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1186 to enable <emphasis role="bold">autodetection</emphasis> of dga mode.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1187 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1188 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1189 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1190
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1191 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1192 <title>KNOWN PROBLEMS AND WORKAROUNDS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1193 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1194 If you have installed <emphasis role="bold">NLS</emphasis> font on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1195 Linux box and run VESA driver from text-mode then after terminating
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1196 <application>MPlayer</application> you will have
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1197 <emphasis role="bold">ROM font</emphasis> loaded instead of national.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1198 You can load national font again by using <command>setsysfont</command>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1199 utility from the Mandrake distribution for exemple.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1200 (<emphasis role="bold">Hint</emphasis>: The same utility is used for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1201 localization of fbdev).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1202 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1203 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1204 Some <emphasis role="bold">Linux graphics drivers</emphasis> don't update
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1205 active <emphasis role="bold">BIOS mode</emphasis> in DOS memory.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1206 So if you have such problem - always use VESA driver only from
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1207 <emphasis role="bold">text-mode</emphasis>. Otherwise text-mode (#03) will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1208 be activated anyway and you will need restart your computer.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1209 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1210 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1211 Often after terminating VESA driver you get black screen. To return your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1212 screen to original state - simply switch to other console (by pressing
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1213 <keycap>Alt</keycap>+<keycap>F&lt;x&gt;</keycap>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1214 then switch to your previous console by the same way.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1215 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1216 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1217 To get <emphasis role="bold">working TV-out</emphasis> you need have plugged
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1218 TV-connector in before booting your PC since video BIOS initializes
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1219 itself only once during POST procedure.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1220 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1221 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1222 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1223
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1224
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1225 <sect4 id="x11">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1226 <title>X11</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1227
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1228 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1229 Avoid if possible. Outputs to X11 (uses shared memory extension), with no
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1230 hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1231 still slow) software scaling, use the options <option>-fs -zoom</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1232 Most cards have hardware scaling support, use the <option>-vo xv</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1233 output for them, or <option>-vo xmga</option> for Matroxes.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1234 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1235
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1236 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1237 The problem is that most cards' driver doesn't support hardware
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1238 acceleration on the second head/TV. In those cases, you see green/blue
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1239 colored window instead of the movie. This is where this driver comes in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1240 handy, but you need powerful CPU to use software scaling. Don't use the SDL
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1241 driver's software output+scaler, it has worse image quality!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1242 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1243
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1244 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1245 Software scaling is very slow, you better try changing video modes instead.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1246 It's very simple. See the <link linkend="dga-modelines">DGA section's
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1247 modelines</link>, and insert them into your <filename>XF86Config</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1248
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1249 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1250 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1251 If you have XFree86 4.x.x: use the <option>-vm</option> option. It will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1252 change to a resolution your movie fits in. If it doesn't:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1253 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1254 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1255 With XFree86 3.x.x: you have to cycle through available resolutions
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1256 with the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1257 <keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>plus</keycap>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1258 and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1259 <keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>minus</keycap>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1260 keys.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1261 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1262 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1263 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1264
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1265 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1266 If you can't find the modes you inserted, browse XFree86's output. Some
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1267 drivers can't use low pixelclocks that are needed for low resolution
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1268 video modes.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1269 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1270 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1271
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1272
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1273 <sect4 id="vidix">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1274 <title>VIDIX</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1275
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1276 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1277 <title>PREAMBLE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1278 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1279 VIDIX is the abbreviation for <emphasis role="bold">VID</emphasis>eo
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1280 <emphasis role="bold">I</emphasis>nterface for *ni<emphasis role="bold">X</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1281 VIDIX was designed and introduced as an interface for fast user-space drivers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1282 providing such video performance as mga_vid does for Matrox cards. It's also very
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1283 portable.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1284 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1285 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1286 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1287 This interface was designed as an attempt to fit existing video
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1288 acceleration interfaces (known as mga_vid, rage128_vid, radeon_vid,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1289 pm3_vid) into a fixed scheme. It provides highlevel interface to chips
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1290 which are known as BES (BackEnd scalers) or OV (Video Overlays). It doesn't
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1291 provide lowlevel interface to things which are known as graphics servers.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1292 (I don't want to compete with X11 team in graphics mode switching). I.e.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1293 main goal of this interface is to maximize the speed of video playback.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1294 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1295
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1296 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1297 <title>USAGE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1298 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1299 You can use standalone video output driver: <option>-vo xvidix</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1300 This driver was developed as X11's front end to VIDIX technology. It
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1301 requires X server and can work only under X server.Note that, as it directly
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1302 accesses the hardware and circumvents the X driver, pixmaps cached in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1303 graphics card's memory may be corrupted. You can prevent this by limiting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1304 the amount of video memory used by X with the XF86Config option "VideoRam"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1305 in the device section. You should set this to the amount of memory installed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1306 on your card minus 4MB. If you have less than 8MB of video ram, you can use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1307 the option "XaaNoPixmapCache" in the screen section instead.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1308 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1309 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1310 You can use VIDIX subdevice which was applied to several video output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1311 drivers, such as: <option>-vo vesa:vidix</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1312 (<emphasis role="bold">Linux only</emphasis>) and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1313 <option>-vo fbdev:vidix</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1314 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1315 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1316
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1317 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1318 Indeed it doesn't matter which video output driver is used with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1319 <emphasis role="bold">VIDIX</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1320 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1321
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1322 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1323 <title>REQUIREMENTS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1324 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1325 Video card should be in graphics mode (I write <emphasis role="bold">should</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1326 simply because I tested it in text mode - it works but has awful output ;) Use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1327 AAlib for that).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1328 <emphasis role="bold">Note</emphasis>: Everyone can try this trick by commenting out mode
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1329 switching in vo_vesa driver.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1330 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1331 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1332 <application>MPlayer</application>'s video output driver should know
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1333 active video mode and be able to tell to VIDIX subdevice some video
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1334 characteristics of server.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1335 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1336 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1337
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1338 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1339 <title>USAGE METHODS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1340 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1341 When VIDIX is used as <emphasis>subdevice</emphasis> (<option>-vo
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1342 vesa:vidix</option>) then video mode configuration is performed by video
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1343 output device (<emphasis>vo_server</emphasis> in short). Therefore you can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1344 pass into command line of <application>MPlayer</application> the same keys
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1345 as for vo_server. In addition it understands <option>-double</option> key
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1346 as globally visible parameter. (I recommend using this key with VIDIX at
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1347 least for ATI's card). As for <option>-vo xvidix</option> : currently it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1348 recognizes the following options: <option>-fs -zoom -x -y -double</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1349 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1350 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1351 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1352 Also you can specify VIDIX's driver directly as third subargument in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1353 command line:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1354
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1355 <screen>mplayer -vo xvidix:mga_vid.so -fs -zoom -double file.avi</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1356 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1357 <screen>mplayer -vo vesa:vidix:radeon_vid.so -fs -zoom -double -bpp 32 file.avi</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1358
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1359 But it's dangerous, and you shouldn't do that. In this case given driver
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1360 will be forced and result is unpredictable (it may
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1361 <emphasis role="bold">freeze</emphasis> your computer). You should do that
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1362 ONLY if you are absolutely sure it will work, and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1363 <application>MPlayer</application> doesn't do it automatically. Please tell
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1364 about it to the developers. The right way is to use VIDIX without arguments
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1365 to enable driver autodetection.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1366 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1367
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1368 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1369 VIDIX is new technology and it's extremely possible that on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1370 system it won't work. In this case only solution for you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1371 it's port it (mainly libdha). But there is hope that it will work on those
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1372 systems where X11 does.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1373 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1374
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1375 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1376 Since VIDIX requires direct hardware access you can either run it as root
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1377 or set the SUID bit on the <application>MPlayer</application> binary
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1378 (<emphasis role="bold">Warning: This is a security risk!</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1379 Alternatively, you can use a special kernel module, like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1380 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1381
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1382 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1383 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1384 Download the <ulink url="http://www.arava.co.il/matan/svgalib/">development version</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1385 of svgalib (for example 1.9.17), <emphasis role="bold">OR</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1386 download a version made by Alex especially for usage with <application>MPlayer</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1387 (it doesn't need the svgalib source to compile) from
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1388 <ulink url="http://www.mplayerhq.hu/~alex/svgalib_helper-1.9.17-mplayer.tar.bz2">here</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1389 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1390 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1391 Compile the module in the <filename class="directory">svgalib_helper</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1392 directory if you've downloaded the source from the svgalib site) and insmod it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1393 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1394 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1395 Move the <filename class="directory">svgalib_helper</filename> directory to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1396 <filename class="directory">mplayer/main/libdha/svgalib_helper</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1397 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1398 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1399 Required if you download the source from the svgalib site: Remove the comment before the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1400 CFLAGS line containing "svgalib_helper" string from the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1401 <filename class="directory">libdha/Makefile</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1402 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1403 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1404 Recompile and install libdha.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1405 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1406 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1407
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1408 <sect5 id="vidix-ati">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1409 <title>ATI cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1410 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1411 Currently most ATI cards are supported natively, from Mach64 to the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1412 newest Radeons.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1413 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1414
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1415 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1416 There are two compiled binaries: <filename>radeon_vid</filename> for Radeon and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1417 <filename>rage128_vid</filename> for Rage 128 cards. You may force one or let
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1418 the VIDIX system autoprobe all available drivers.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1419 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1420 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1421
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1422 <sect5 id="vidix-mga">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1423 <title>Matrox cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1424 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1425 Matrox G200,G400,G450 and G550 have been reported to work.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1426 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1427
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1428 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1429 The driver supports video equalizers and should be nearly as fast as the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1430 <link linkend="mga_vid">Matrox framebuffer</link>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1431 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1432 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1433
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1434 <sect5 id="vidix-trident">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1435 <title>Trident cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1436 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1437 There is a driver available for the Trident Cyberblade/i1 chipset, which
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1438 can be found on VIA Epia motherboards.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1439 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1440
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1441 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1442 The driver was written and is maintained by Alastair M. Robinson, who
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1443 offers the very latest driver versions for download from his
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1444 <ulink url="http://www.blackfiveservices.co.uk/EPIAVidix.shtml">homepage</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1445 The drivers are added to MPlayer with only a short delay, so CVS should always
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1446 be up to date.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1447 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1448 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1449
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1450 <sect5 id="vidix-3dlabs">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1451 <title>3DLabs cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1452 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1453 Although there is a driver for the 3DLabs GLINT R3 and Permedia3 chips, no one
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1454 has tested it, so reports are welcome.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1455 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1456 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1457 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1458
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1459 <sect4 id="directfb">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1460 <title>DirectFB</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1461 <blockquote><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1462 &quot;DirectFB is a graphics library which was designed with embedded systems
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1463 in mind. It offers maximum hardware accelerated performance at a minimum
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1464 of resource usage and overhead.&quot; - quoted from <ulink url="http://www.directfb.org"/>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1465 </para></blockquote>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1466
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1467 <para>I'll exclude DirectFB features from this section.</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1468
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1469 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1470 Though MPlayer is not supported as a &quot;video provider&quot; in DirectFB, this
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1471 output driver will enable video playback through DirectFB. It will - of course -
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1472 be accelerated, on my Matrox G400 DirectFB's speed was the same as XVideo.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1473 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1474
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1475 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1476 Always try to use the newest version of DirectFB. You can use DirectFB options on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1477 the command line, using the <option>-dfbopts</option> option. Layer selection can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1478 be done by the subdevice method, e.g.: <option>-vo directfb:2</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1479 (layer -1 is default: autodetect)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1480 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1481 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1482
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1483 <sect4 id="dfbmga">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1484 <title>DirectFB/Matrox (dfbmga)</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1485 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1486 Please read the <link linkend="directfb">main DirectFB section</link> or general
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1487 informations.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1488 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1489
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1490 <para>This video output driver will enable CRTC2 (on the second head) on the
9683
nicolas
parents: 9677
diff changeset
1491 Matrox G400/G450/G550 card, displaying video <emphasis role="bold">independently</emphasis>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1492 of the first head.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1493 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1494
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1495 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1496 Instructions on how to make it work can be found in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1497 <ulink url="../../tech/directfb.txt">tech section</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1498 or directly on Ville Syrjala's
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1499 <ulink url="http://www.sci.fi/~syrjala/directfb/Matrox_TV-out_README.txt">home page</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1500 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1501
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1502 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1503 we haven't been able to make this work, but others did. Anyway, porting of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1504 the CRTC2 code to <emphasis role="bold">mga_vid</emphasis> is underway.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1505 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1506 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1507 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1508
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1509 <sect3 id="mpeg_decoders">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1510 <title>MPEG decoders</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1511
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1512 <sect4 id="dvb">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1513 <title>DVB</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1514 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1515 <application>MPlayer</application> supports cards with the Siemens DVB chipset
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1516 from vendors like Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1517 drivers are available from the <ulink url="http://www.linuxtv.org">Linux TV site</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1518 If you want to do software transcoding you should have at least a 1GHz CPU.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1519 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1520
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1521 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1522 Configure should detect your DVB card. If it did not, force detection with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1523 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1524
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1525 <para><screen>./configure --enable-dvb</screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1526
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1527 <para>If you have ost headers at a non-standard path, set the path with</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1528
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1529 <para><screen>./configure --with-extraincdir=&lt;DVB source directory&gt;/ost/include
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1530 </screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1531
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1532 <para>Then compile and install as usual.</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1533
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1534 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1535 <title>USAGE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1536 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1537 Hardware decoding (playing standard MPEG1/2 files) can be done with this command:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1538 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1539 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1540 <para><screen>mplayer -ao mpegpes -vo mpegpes file.mpg|vob</screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1541
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1542 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1543 Software decoding or transcoding different formats to MPEG1 can be achieved using
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1544 a command like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1545 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1546 <para><screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1547 mplayer -ao mpegpes -vo mpegpes yourfile.ext
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1548 mplayer -ao mpegpes -vo mpegpes -vf expand yourfile.ext
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1549 </screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1550
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1551 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1552 Note that DVB cards only support heights 288 and 576 for PAL or 240 and 480 for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1553 NTSC. You <emphasis role="bold">must</emphasis> escale for other heights by adding
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1554 <option>scale=width:height</option> with the width and height you want to the
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1555 <option>-vf</option> option. DVB cards accept various widths, like 720, 704,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1556 640, 512, 480, 352 etc and do hardware scaling in horizontal direction, so you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1557 do not need to scale horizontally in most cases. For a 512x384 (aspect 4:3)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1558 DivX try:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1559 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1560
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1561 <para><screen>mplayer -ao mpegpes -vo mpegpes -vf scale=512:576</screen></para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1562
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1563 <para>If you have a widescreen movie and you do not want to scale it to full height,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1564 you can use the <option>expand=w:h</option> filter to add black bands. To view a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1565 640x384 DivX, try:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1566 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1567
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1568 <para><screen>mplayer -ao mpegpes -vo mpegpes -vf expand=640:576 file.avi
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1569 </screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1570
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1571 <para>If your CPU is too slow for a full size 720x576 DivX, try downscaling:</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1572
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1573 <para><screen>mplayer -ao mpegpes -vo mpegpes -vf scale=352:576 file.avi
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1574 </screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1575
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1576 <para>If speed does not improve, try vertical downscaling, too:</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1577
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1578 <para><screen>mplayer -ao mpegpes -vo mpegpes -vf scale=352:288 file.avi
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1579 </screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1580
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1581 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1582 For OSD and subtitles use the OSD feature of the expand filter. So, instead of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1583 <option>expand=w:h</option> or <option>expand=w:h:x:y</option>, use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1584 <option>expand=w:h:x:y:1</option> (the 5th parameter <option>:1</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1585 at the end will enable OSD rendering). You may want to move the image up a bit
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1586 to get a bigger black zone for subtitles. You may also want to move subtitles up,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1587 if they are outside your TV screen, use the <option>-subpos &lt;0-100&gt;</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1588 option to adjust this (<option>-subpos 80</option> is a good choice).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1589 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1590
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1591 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1592 In order to play non-25fps movies on a PAL TV or with a slow CPU, add the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1593 <option>-framedrop</option> option.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1594 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1595
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1596 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1597 To keep the aspect ratio of DivX files and get the optimal scaling
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1598 parameters (hardware horizontal scaling and software vertical scaling
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1599 while keeping the right aspect ratio), use the new dvbscale filter:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1600 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1601
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1602 <para><screen>
9683
nicolas
parents: 9677
diff changeset
1603 for 3:4 TV: -vf dvbscale,scale=-1:0,expand=-1:576:-1:-1:1
nicolas
parents: 9677
diff changeset
1604 for 16:9 TV: -vf dvbscale=1024,scale=-1:0,expand=-1:576:-1:-1:1
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1605 </screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1606
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1607 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1608 <title>FUTURE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1609 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1610 If you have questions or want to hear feature announcements and take part in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1611 discussions on this subject, join our
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1612 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-dvb">MPlayer-DVB</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1613 mailing list. Please remember that the list language is English.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1614 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1615 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1616
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1617 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1618 In the future you may expect the ability to display OSD and subtitles using
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1619 the native OSD feature of DVB cards, as well as more fluent playback of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1620 non-25fps movies and realtime transcoding between MPEG2 and MPEG4 (partial
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1621 decompression).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1622 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1623 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1624
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1625 <sect4 id="dxr2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1626 <title>DXR2</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1627 <para>MPlayer supports hardware accelerated playback with the Creative DXR2 card.</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1628 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1629 First of all you will need properly installed DXR2 drivers. You can find
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1630 the drivers and installation instructions at the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1631 <ulink url="http://dxr2.sourceforge.net/">DXR2 Resource Center</ulink> site.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1632 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1633
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1634 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1635 <title>USAGE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1636 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1637 <term><option>-vo dxr2</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1638 <listitem><para>enable TV output</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1639 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1640
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1641 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1642 <term><option>-vo dxr2:x11</option> or <option>-vo dxr2:xv</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1643 <listitem><para>enable Overlay output in X11</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1644 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1645
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1646 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1647 <term><option>-dxr2 &lt;option1:option2:...&gt;</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1648 <listitem><para>This option is used to control the DXR2 driver.</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1649 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1650 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1651
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1652 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1653 The overlay chipset used on the DXR2 is of pretty bad quality but the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1654 default settings should work for everybody. The OSD may be usable with the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1655 overlay (not on TV) by drawing it in the colorkey. With the default colorkey
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1656 settings you may get variable results, usually you will see the colorkey
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1657 around the characters or some other funny effect. But if you properly adjust
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1658 the colorkey settings you should be able to get acceptable results.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1659 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1660
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1661 <para>Please see the manpage for available options.</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1662 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1663
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1664 <sect4 id="dxr3">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1665 <title>DXR3/Hollywood+</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1666 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1667 <application>MPlayer</application> supports hardware accelerated playback
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1668 with the Creative DXR3 and Sigma Designs Hollywood Plus cards. These cards
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1669 both use the em8300 MPEG decoder chip from Sigma Designs.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1670 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1671
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1672 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1673 First of all you will need properly installed DXR3/H+ drivers, version 0.12.0
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1674 or later. You can find the drivers and installation instructions at the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1675 <ulink url="http://dxr3.sourceforge.net/">DXR3 &amp; Hollywood Plus for Linux</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1676 site. Configure should detect your card automatically, compilation should go
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1677 without problems.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1678 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1679
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1680 <!-- FIXME: find a more clear presentation -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1681 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1682 <title>USAGE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1683 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1684 <term><option>-vo dxr3:prebuf:sync:norm=x:&lt;device&gt;</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1685 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1686 <option>overlay</option> activates the overlay instead of TVOut. It requires
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1687 that you have a properly configured overlay setup to work right. The easiest
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1688 way to configure the overlay is to first run autocal. Then run mplayer with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1689 dxr3 output and without overlay turned on, run dxr3view. In dxr3view you can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1690 tweak the overlay settings and see the effects in realtime, perhaps this feature
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1691 will be supported by the MPlayer GUI in the future. When overlay is properly set
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1692 up you will no longer need to use dxr3view.&#x0d;
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1693 <option>prebuf</option> turns on prebuffering. Prebuffering is a feature of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1694 em8300 chip that enables it to hold more than one frame of video at a time. This
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1695 means that when you are running with prebuffering MPlayer will try to keep the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1696 video buffer filled with data at all times. If you are on a slow machine MPlayer
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1697 will probably use close to, or precisely 100% of CPU. This is especially common
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1698 if you play pure MPEG streams (like DVDs, SVCDs a.s.o.) since MPlayer will not
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1699 have to reencode it to MPEG it will fill the buffer very fast.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1700 With prebuffering video playback is <emphasis role="bold">much</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1701 less sensitive to other programs hogging the CPU, it will not drop frames unless
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1702 applications hog the CPU for a long time.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1703 When running without prebuffering the em8300 is much more sensitive to CPU load,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1704 so it is highly suggested that you turn on MPlayer's <option>-framedrop</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1705 option to avoid further loss of sync.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1706 <option>sync</option> will turn on the new sync-engine. This is currently an
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1707 experimental feature. With the sync feature turned on the em8300's internal clock
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1708 will be monitored at all times, if it starts to deviate from MPlayer's clock it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1709 will be reset causing the em8300 to drop any frames that are lagging behind.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1710 <option>norm=x</option> will set the TV norm of the DXR3 card without the need
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1711 for external tools like em8300setup. Valid norms are 5 = NTSC, 4 = PAL-60,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1712 3 = PAL. Special norms are 2 (auto-adjust using PAL/PAL-60) and 1 (auto-adjust
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1713 using PAL/NTSC) because they decide which norm to use by looking at the frame
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1714 rate of the movie. norm = 0 (default) does not change the current norm.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1715 <option>&lt;device&gt;</option> = device number to use if you have more than one em8300
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1716 card.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1717 Any of these options may be left out.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1718 <option>:prebuf:sync</option> seems to work great when playing DivX movies. People
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1719 have reported problems using the prebuf option when playing MPEG1/2 files. You
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1720 might want to try running without any options first, if you have sync problems,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1721 or DVD subtitle problems, give <option>:sync</option> a try.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1722 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1723 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1724
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1725 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1726 <term><option>-ao oss:/dev/em8300_ma-<replaceable>X</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1727 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1728 For audio output, where <replaceable>X</replaceable> is the device number (0 if one card).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1729 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1730 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1731
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1732 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1733 <term><option>-aop list=resample:fout=<replaceable>xxxxx</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1734 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1735 The em8300 cannot play back samplerates lower than 44100Hz. If the sample
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1736 rate is below 44100Hz select either 44100Hz or 48000Hz depending on which
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1737 one matches closest. I.e. if the movie uses 22050Hz use 44100Hz as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1738 44100 / 2 = 22050, if it is 24000Hz use 48000Hz as 48000 / 2 = 24000 and so on.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1739 This does not work with digital audio output (<option>-ac hwac3</option>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1740 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1741 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1742
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1743 <varlistentry>
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1744 <term><option>-vf lavc/fame</option></term>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1745 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1746 To watch non-MPEG content on the em8300 (i.e. DivX or RealVideo) you have to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1747 specify an MPEG1 video filter such as libavcodec (lavc) or libfame (fame). At
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1748 the moment lavc is both faster and gives better image quality, it is suggested
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1749 that you use that unless you have problems with it. See the man page for further
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1750 info about <option>-vf lavc/fame</option>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1751 Using lavc is highly recommended. Currently there is no way of setting the fps
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1752 of the em8300 which means that it is fixed to 29.97fps. Because of this it is
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1753 highly recommended that you use <option>-vf lavc=&lt;quality&gt;:25</option>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1754 especially if you are using prebuffering. Then why 25 and not 29.97? Well, the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1755 thing is that when you use 29.97 the picture becomes a bit jumpy. The reason for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1756 this is unknown to us. If you set it to somewhere between 25 and 27 the picture
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1757 becomes stable. For now all we can do is accept this for a fact.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1758 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1759 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1760
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1761 <varlistentry>
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1762 <term><option>-vf expand=-1:-1:-1:-1:1</option></term>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1763 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1764 Although the DXR3 driver can put some OSD onto the MPEG1/2/4 video, it has
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1765 much lower quality than MPlayer's traditional OSD, and has several refresh
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1766 problems as well. The command line above will firstly convert the input
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1767 video to MPEG4 (this is mandatory, sorry), then apply an expand filter which
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1768 won't expand anything (-1: default), but apply the normal OSD onto the picture
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1769 (that's what the "1" at the end does).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1770 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1771 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1772
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1773 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1774 <term><option>-ac hwac3</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1775 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1776 The em8300 supports playing back AC3 audio (surround sound) through the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1777 digital audio output of the card. See the <option>-ao oss</option> option above,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1778 it must be used to specify the DXR3's output instead of a soundcard.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1779 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1780 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1781 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1782 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1783
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1784 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1785
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1786 <sect3 id="other">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1787 <title>Other visualization hardware</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1788
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1789 <sect4 id="zr">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1790 <title>Zr</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1791
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1792 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1793 This is a display-driver (<option>-vo zr</option>) for a number of MJPEG
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1794 capture/playback cards (tested for DC10+ and Buz, and it should work for the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1795 LML33, the DC10). The driver works by encoding the frame to JPEG and then
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1796 sending it to the card. For the JPEG encoding <systemitem>libavcodec</systemitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1797 is used, and required. With the special <emphasis>cinerama</emphasis> mode,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1798 you can watch movies in true wide screen provided that you have two beamers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1799 and two MJPEG cards. Depending on resolution and quality settings, this driver
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1800 may require a lot of CPU power, remember to specify <option>-framedrop</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1801 if your machine is too slow. Note: My AMD K6-2 350MHz is (with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1802 <option>-framedrop</option>) quite adequate for watching VCD sized material and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1803 downscaled movies.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1804 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1805
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1806 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1807 This driver talks to the kernel driver available at
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1808 <ulink url="http://mjpeg.sourceforge.net"/>, so
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1809 you must get it working first. The presence of an MJPEG card is autodetected by the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1810 <filename>configure</filename> script, if autodetection fails, force detection with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1811 <screen>./configure --enable-zr</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1812 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1813 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1814 The output can be controlled by several options, a long description of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1815 options can be found in the man page, a short list of options can be viewed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1816 by running
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1817 <screen>mplayer -zrhelp</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1818 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1819
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1820 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1821 Things like scaling and the OSD (on screen display) are not handled by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1822 this driver but can be done using the video filters. For example, suppose
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1823 that you have a movie with a resolution of 512x272 and you want to view it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1824 fullscreen on your DC10+. There are three main possibilities, you may scale
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1825 the movie to a width of 768, 384 or 192. For performance and quality reasons,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1826 I would choose to scale the movie to 384x204 using the fast bilinear software
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1827 scaler. The commandline is
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1828 <screen>mplayer -vo zr -sws 0 -vf scale=384:204 movie.avi</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1829 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1830
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1831 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1832 Cropping can be done by the <systemitem>crop</systemitem> filter and by this
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1833 driver itself. Suppose that a movie is too wide for display on your Buz and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1834 that you want to use <option>-zrcrop</option> to make the movie less wide,
9784
286ac03ce5c5 Typos, noticed by Roberto Togni <r_togni@libero.it>.
diego
parents: 9683
diff changeset
1835 then you would issue the following command
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1836 <screen>mplayer -vo zr -zrcrop 720x320+80+0 benhur.avi</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1837 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1838
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1839 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1840 if you want to use the <systemitem>crop</systemitem> filter, you would do
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1841 <screen>mplayer -vo zr -vf crop=720:320:80:0 benhur.avi</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1842 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1843
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1844 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1845 Extra occurances of <option>-zrcrop</option> invoke <emphasis>cinerama</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1846 ode, i.e. you can distribute the movie over several TV's or beamers to create a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1847 larger screen. Suppose you have two beamers. The left one is connected to your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1848 Buz at <systemitem>/dev/video1</systemitem> and the right one is connected to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1849 your DC10+ at <systemitem>/dev/video0</systemitem>. The movie has a resolution
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1850 of 704x288. Suppose also that you want the right beamer in black and white and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1851 that the right beamer should have jpeg frames at quality 10, then you would
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1852 issue the following command
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1853 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1854 mplayer -vo zr -zrdev /dev/video0 -zrcrop 352x288+352+0 -zrxdoff 0 -zrbw \
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1855 -zrcrop 352x288+0+0 -zrdev /dev/video1 -zrquality 10 movie.avi
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1856 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1857 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1858
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1859 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1860 You see that the options appearing before the second <option>-zrcrop</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1861 only apply to the DC10+ and that the options after the second
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1862 <option>-zrcrop</option> apply to the Buz. The maximum number of MJPEG cards
9784
286ac03ce5c5 Typos, noticed by Roberto Togni <r_togni@libero.it>.
diego
parents: 9683
diff changeset
1863 participating in <emphasis>cinerama</emphasis> is four, so you can build a
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1864 2x2 vidiwall.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1865 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1866
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1867 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1868 inally an important remark: Do not start or stop XawTV on the playback device
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1869 during playback, it will crash your computer. It is, however, fine to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1870 <emphasis role="bold">FIRST</emphasis> start XawTV, <emphasis role="bold">THEN</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1871 start MPlayer, wait for MPlayer to finish and <emphasis role="bold">THEN</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1872 stop XawTV.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1873 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1874 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1875
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1876 <sect4 id="blinkenlights">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1877 <title>Blinkenlights</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1878 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1879 This driver is capable of playback using the Blinkenlights UDP protocol. If you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1880 don't know what <ulink url="http://www.blinkenlights.de/">Blinkenlights</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1881 is, you don't need this driver.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1882 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1883 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1884 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1885
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1886 <sect3 id="tvout">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1887 <title>TV-out support</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1888
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1889 <sect4 id="tvout-mga-g400">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1890 <title>Matrox G400 cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1891
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1892 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1893 Under Linux you have two methods to get G400 TV out working:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1894 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1895
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1896 <important>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1897 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1898 for Matrox G450/G550 TV-out instructions, please see the next section!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1899 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1900 </important>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1901
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1902 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1903 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1904 <term>XFree86</term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1905 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1906 Using the driver and the HAL module, available from <ulink
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1907 url="http://www.matrox.com">Matrox's site</ulink>. This will give you X
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1908 on the TV.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1909 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1910 <emphasis role="bold">This method doesn't give you accelerated playback</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1911 as under Windows! The second head has only YUV framebuffer, the <emphasis>BES</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1912 (Back End Scaler, the YUV scaler on G200/G400/G450/G550 cards) doesn't
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1913 work on it! The windows driver somehow workarounds this, probably by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1914 using the 3D engine to zoom, and the YUV framebuffer to display the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1915 zoomed image. If you really want to use X, use the <option>-vo x11 -fs
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1916 -zoom</option> options, but it will be <emphasis role="bold">SLOW</emphasis>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1917 and has <emphasis role="bold">Macrovision</emphasis> copy protection enabled
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1918 (you can "workaround" Macrovision using this
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1919 <ulink url="http://avifile.sourceforge.net/mgamacro.pl">perl
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1920 script</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1921 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1922 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1923 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1924 <term>Framebuffer</term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1925 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1926 Using the <emphasis role="bold">matroxfb modules</emphasis> in the 2.4
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1927 kernels. 2.2 kernels don't have the TVout feature in them, thus unusable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1928 for this. You have to enable ALL matroxfb-specific feature during compilation
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1929 (except MultiHead), and compile them into <emphasis role="bold">modules!</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1930 You'll also need I2C enabled.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1931 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1932
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1933 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1934 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1935 Enter <filename class="directory">TVout/matroxset</filename> and type
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1936 <command>make</command>. Install <filename class="directory">matroxset</filename> into
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1937 somewhere in your <envar>PATH</envar>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1938 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1939 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1940 If you don't have <command>fbset</command> installed, enter
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1941 <filename class="directory">TVout/fbset</filename> and type <command>make</command>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1942 Install <filename class="directory">fbset</filename> into somewhere in your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1943 <envar>PATH</envar>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1944 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1945 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1946 Then enter into the <filename class="directory">TVout/</filename> directory
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1947 in the <application>MPlayer</application> source, and execute
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1948 <filename>./modules</filename> as root. Your text-mode console will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1949 enter into framebuffer mode (no way back!).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1950 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1951 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1952 Next, EDIT and run the <filename>./matroxtv</filename> script. This will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1953 present you to a very simple menu. Press <keycap>2</keycap> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1954 <keycap>Enter</keycap>. Now you should have the same picture on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1955 monitor, and TV. The 3rd option will turn on independent display, but
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1956 then you <emphasis>can't use X!</emphasis> If the TV (PAL by default)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1957 picture has some weird stripes on it, the script wasn't able to set the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1958 resolution correctly (to 640x512 by default). Try other resolutions
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1959 from the menu and/or experiment with fbset.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1960 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1961 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1962 Yoh. Next task is to make the cursor on tty1 (or whatever) to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1963 disappear, and turn off screen blanking. Execute the following
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1964 commands:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1965
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1966 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1967 echo -e '\033[?25l'
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1968 setterm -blank 0<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1969 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1970 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1971 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1972 setterm -cursor off
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1973 setterm -blank 0<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1974 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1975
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1976 You possibly want to put the above into a script, and also clear the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1977 screen. To turn the cursor back:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1978 <screen>echo -e '\033[?25h'</screen> or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1979 <screen>setterm -cursor on</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1980 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1981 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1982 Yeah kewl. Start movie playing with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1983 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1984 mplayer -vo mga -fs -screenw 640 -screenh 512 <replaceable>filename</replaceable><!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1985 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1986
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1987 (If you use X, now change to matroxfb with for example
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1988 <keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>F1</keycap>.)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1989 Change <literal>640</literal> and <literal>512</literal> if you set
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1990 the resolution to other...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1991 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1992 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1993 <emphasis role="bold">Enjoy the ultra-fast ultra-featured Matrox TV
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1994 output (better than Xv)!</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1995 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1996 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1997 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1998 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1999 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2000
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2001 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2002 <title>Building a Matrox TV-out cable</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2003 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2004 No one takes any responsibility, nor guarantee for any damage caused
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2005 by this documentation.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2006 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2007 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2008
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2009 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2010 <title>Cable for G400</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2011 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2012 The CRTC2 connector's fourth pin is the composite video signal. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2013 ground are the sixth, seventh and eighth pins. (info contributed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2014 from Balázs Rácz)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2015 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2016 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2017
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2018 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2019 <title>Cable for G450</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2020 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2021 The CRTC2 connector's first pin is the composite video signal. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2022 ground are the fifth, sixth, seventh, and fifteenth (5, 6, 7, 15)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2023 pins. (info contributed from Balázs Kerekes)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2024 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2025 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2026 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2027
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2028 <sect4 id="tv-out_matrox_g450">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2029 <title>Matrox G450/G550 cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2030 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2031 TV output support for these cards has only been recently introduced, and is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2032 not yet in the mainstream kernel. Currently the <emphasis role="bold">mga_vid</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2033 module can't be used AFAIK, because the G450/G550 driver works only in one
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2034 configuration: the first CRTC chip (with much more features) on the first display
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2035 (on monitor), and the second CRTC (no <emphasis role="bold">BES</emphasis> - for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2036 explanation on BES, please see the G400 section above) on TV. So you can only
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2037 use <application>MPlayer</application>'s <emphasis>fbdev</emphasis> output driver
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2038 at the present.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2039 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2040
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2041 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2042 The first CRTC can't be routed to the second head currently. The author of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2043 kernel matroxfb driver - Petr Vandrovec - will maybe make support for this, by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2044 displaying the first CRTC's output onto both of the heads at once, as currently
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2045 recommended for G400, see the section above.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2046 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2047
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2048 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2049 The necessary kernel patch and the detailed howto is downloadable from
9948
ad081e771ada patch by Albeu + update of matrox_tvout url
nicolas
parents: 9784
diff changeset
2050 <ulink url="http://www.bglug.ca/matrox_tvout/"/>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2051 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2052 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2053
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2054
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2055 <sect4 id="tvout-ati">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2056 <title>ATI cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2057
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2058 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2059 <title>PREAMBLE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2060 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2061 Currently ATI doesn't want to support any of its TV-out chips under Linux,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2062 because of their licensed Macrovision technology.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2063 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2064 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2065
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2066 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2067 <title>ATI CARDS TV-OUT STATUS ON LINUX</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2068 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2069 <emphasis role="bold">ATI Mach64</emphasis>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2070 supported by <ulink url="http://gatos.sf.net">gatos</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2071 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2072 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2073 <emphasis role="bold">ASIC Radeon VIVO</emphasis>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2074 supported by <ulink url="http://gatos.sf.net">gatos</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2075 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2076 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2077 <emphasis role="bold">Radeon</emphasis> and <emphasis role="bold">Rage128</emphasis>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2078 supported by <application>MPlayer</application>!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2079 Check <link linkend="vesa">VESA driver</link> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2080 <link linkend="vidix">VIDIX</link> sections.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2081 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2082 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2083 <emphasis role="bold">Rage Mobility P/M, Radeon, Rage 128, Mobility M3/M4</emphasis>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2084 supported by <ulink url="http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/">atitvout</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2085 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2086 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2087
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2088 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2089 On other cards, just use the <link linkend="vesa">VESA</link> driver,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2090 without VIDIX. Powerful CPU is needed, though.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2091 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2092
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2093 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2094 Only thing you need to do - <emphasis role="bold">Have the TV connector
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2095 plugged in before booting your PC</emphasis> since video BIOS initializes
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2096 itself only once during POST procedure.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2097 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2098 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2099
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2100
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2101 <sect4 id="tvout-voodoo">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2102 <title>Voodoo 3</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2103 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2104 Check <ulink url="http://www.iki.fi/too/tvout-voodoo3-3000-xfree">this URL</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2105 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2106 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2107
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2108 <sect4 id="tvout-nvidia">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2109 <title>Voodoo 3</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2110 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2111 First, you MUST download the closed-source drivers from <ulink url="http://nvidia.com"/>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2112 I will not describe the installation and configuration process because it does not cover
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2113 the scope of this documentation.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2114 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2115
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2116 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2117 After XFree86, XVideo, and 3D acceleration is properly working, edit your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2118 card's Device section in the <filename>XF86Config</filename> file, according
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2119 to the following example (adapt for your card/TV):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2120
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2121 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2122 Section "Device"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2123 Identifier "GeForce"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2124 VendorName "ASUS"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2125 BoardName "nVidia GeForce2/MX 400"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2126 Driver "nvidia"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2127 #Option "NvAGP" "1"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2128 Option "NoLogo"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2129 Option "CursorShadow" "on"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2130
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2131 Option "TwinView"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2132 Option "TwinViewOrientation" "Clone"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2133 Option "MetaModes" "1024x768,640x480"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2134 Option "ConnectedMonitor" "CRT, TV"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2135 Option "TVStandard" "PAL-B"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2136 Option "TVOutFormat" "Composite"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2137
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2138 EndSection
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2139 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2140 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2141
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2142 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2143 Of course the important thing is the TwinView part.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2144 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2145 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2146 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2147 </sect2>