annotate DOCS/xml/en/video.xml @ 12757:8bcd91d9efd1

Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
author diego
date Mon, 05 Jul 2004 14:59:03 +0000
parents 3f543ec01d1e
children 3a5f326e523c
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"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10869
diff changeset
2 <!-- $Revision$ -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <sect2 id="video-dev">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 <title>Video output devices</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <sect3 id="mtrr">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 <title>Setting up MTRR</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 It is VERY recommended to check if the MTRR registers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 are set up properly, because they can give a big performance boost.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
12 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 <para>
11359
496ff2403aac buglets and consistency improvements
diego
parents: 11358
diff changeset
15 Do a <command>cat /proc/mtrr</command>:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 <prompt>--($:~)--</prompt> cat /proc/mtrr
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 reg00: base=0xe4000000 (3648MB), size= 16MB: write-combining, count=9
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 reg01: base=0xd8000000 (3456MB), size= 128MB: write-combining, count=1<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 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
25 XFree 4.x.x , which sets up MTRR registers automatically.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
27
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 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
30 base address. You have 3 ways to find it:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 <orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 from X11 startup messages, for example:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 (--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 (--) SVGA: Linear framebuffer at 0xD8000000<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
40 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 from <filename>/proc/pci</filename> (use <command>lspci -v</command>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 command):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 Memory at d8000000 (32-bit, prefetchable)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 from mga_vid kernel driver messages (use <command>dmesg</command>):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 <screen>mga_mem_base = d8000000</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 </orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 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
57 size to hexadecimal, or use this table:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 <informaltable frame="none">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 <tgroup cols="2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 <tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 <row><entry>1 MB</entry><entry>0x100000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 <row><entry>2 MB</entry><entry>0x200000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 <row><entry>4 MB</entry><entry>0x400000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 <row><entry>8 MB</entry><entry>0x800000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 <row><entry>16 MB</entry><entry>0x1000000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 <row><entry>32 MB</entry><entry>0x2000000</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 </tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 </tgroup>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 </informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
72 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 You know base address and memory size, let's setup MTRR registers!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 For example, for the Matrox card above (<literal>base=0xd8000000</literal>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 with 32MB ram (<literal>size=0x2000000</literal>) just execute:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77 echo "base=0xd8000000 size=0x2000000 type=write-combining" &gt;| /proc/mtrr
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
81 <para>
12364
cfd1b419dbcd wording
diego
parents: 12349
diff changeset
82 Not all CPUs have MTRRs. For example older K6-2 (around 266MHz,
cfd1b419dbcd wording
diego
parents: 12349
diff changeset
83 stepping 0) CPUs don't have MTRRs, but stepping 12 does
cfd1b419dbcd wording
diego
parents: 12349
diff changeset
84 (execute <command>cat /proc/cpuinfo</command> to check it).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 <sect3 id="output-trad">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 <title>Video outputs for traditional video cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90 <sect4 id="xv">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 <title>Xv</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
94 Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines
11359
496ff2403aac buglets and consistency improvements
diego
parents: 11358
diff changeset
95 using the XVideo extension. This is what the option
496ff2403aac buglets and consistency improvements
diego
parents: 11358
diff changeset
96 '<option>-vo xv</option>' uses. Also, this driver supports adjusting
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 brightness/contrast/hue/etc (unless you use the old, slow DirectShow DivX
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
98 codec, which supports it everywhere), see the man page.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
101 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 In order to make this work, be sure to check the following:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 <orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
106 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
107 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 Your card actually supports hardware acceleration (modern cards do)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112 X loads the XVideo extension, it's something like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 <programlisting>(II) Loading extension XVideo</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 in <filename>/var/log/XFree86.0.log</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 This loads only the XFree86's extension. In a good install, this is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 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
118 XVideo support is loaded!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 Your card has Xv support under Linux. To check, try
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 <command>xvinfo</command>, it is the part of the XFree86 distribution. It
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 should display a long text, similar to this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 X-Video Extension version 2.2
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 screen #0
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 Adaptor #0: "Savage Streams Engine"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 number of ports: 1
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 port base: 43
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 operations supported: PutImage
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 supported visuals:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133 depth 16, visualID 0x22
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134 depth 16, visualID 0x23
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135 number of attributes: 5
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136 (...)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 Number of image formats: 7
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 id: 0x32595559 (YUY2)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 guid: 59555932-0000-0010-8000-00aa00389b71
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 bits per pixel: 16
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 number of planes: 1
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 type: YUV (packed)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 id: 0x32315659 (YV12)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 guid: 59563132-0000-0010-8000-00aa00389b71
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 bits per pixel: 12
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 number of planes: 3
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 type: YUV (planar)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 (...etc...)<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 It must support YUY2 packed, and YV12 planar pixel formats to be usable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 with <application>MPlayer</application>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 And finally, check if <application>MPlayer</application> was compiled
11738
b0ddcc627b79 missing dot
paszczi
parents: 11731
diff changeset
155 with 'xv' support. Do a <command>mplayer -vo help | grep xv </command>.
11520
dd17c00dff68 Commands should be in <command> tags, better wording.
diego
parents: 11504
diff changeset
156 If 'xv' support was built a line similar to this should appear:
11504
03ac0a671641 Checking if MPlayer has vo Xv
wight
parents: 11499
diff changeset
157 <screen>
03ac0a671641 Checking if MPlayer has vo Xv
wight
parents: 11499
diff changeset
158 xv X11/Xv<!--
03ac0a671641 Checking if MPlayer has vo Xv
wight
parents: 11499
diff changeset
159 --></screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161 </orderedlist>
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 <sect5 id="tdfx">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 <title>3dfx cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
167 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168 Older 3dfx drivers were known to have problems with XVideo acceleration, it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 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
170 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
171 versions, including 4.1.0, <emphasis role="bold">crashes with YV12</emphasis>.
11136
f26ac9c57374 spelling fixes
diego
parents: 11079
diff changeset
172 If you experience strange effects using <option>-vo xv</option>, try SDL
f26ac9c57374 spelling fixes
diego
parents: 11079
diff changeset
173 (it has XVideo, too) and see if it helps. Check the
11483
462b97f8746f move section out of <link> tags
wight
parents: 11362
diff changeset
174 <link linkend="sdl">SDL</link> section for details.
9675
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 <emphasis role="bold">OR</emphasis>, try the NEW
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 <option>-vo tdfxfb</option> driver! See the <link linkend="tdfxfb">tdfxfb</link>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 section.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185 <sect5 id="s3">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 <title>S3 cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 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
190 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
191 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
192 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193
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 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196 It's currently unclear which Savage models lack YV12 support, and convert by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 driver (slow). If you suspect your card, get a newer driver, or ask politely
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
198 on the mplayer-users mailing list for an MMX/3DNow! enabled driver.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204 <sect5 id="nvidia">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 <title>nVidia cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 <para>
11065
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
208 nVidia isn't always a very good choice under Linux (according to nVidia, this
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
209 is <link linkend="nvidia-opinions">not true</link>)... XFree86's
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
210 open-source driver supports most of these cards, but for some cases, you'll
11524
03cc8751fec8 added link to nVidia drivers
wight
parents: 11521
diff changeset
211 have to use the binary closed-source nVidia driver, available at
03cc8751fec8 added link to nVidia drivers
wight
parents: 11521
diff changeset
212 <ulink url="http://www.nvidia.com/object/linux.html">nVidia's web site</ulink>.
03cc8751fec8 added link to nVidia drivers
wight
parents: 11521
diff changeset
213 You'll always need this driver if you want 3D acceleration, too.
9675
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216 <para>
11065
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
217 Riva128 cards don't have XVideo support with XFree86's nVidia driver :(
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
218 Complain to nVidia.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
219 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
220
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
221 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
222 However, <application>MPlayer</application> contains a
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
223 <link linkend="vidix">VIDIX</link> driver for most nVidia cards. Currently it
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
224 is in beta stage, and has some drawbacks. For more information, see
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
225 <link linkend="vidix-nvidia">nVidia VIDIX</link> section.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
227 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
228
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230 <sect5 id="ati">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231 <title>ATI cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 The <ulink url="http://www.linuxvideo.org/gatos">GATOS driver</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
235 (which you should use, unless you have Rage128 or Radeon) has VSYNC enabled
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236 by default. It means that decoding speed (!) is synced to the monitor's
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 refresh rate. If playing seems to be slow, try disabling VSYNC somehow, or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
238 set refresh rate to a n*(fps of the movie) Hz.
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241 <para>
10132
nicolas
parents: 10111
diff changeset
242 Radeon VE - if you need X, use XFree86 4.2.0 or greater for this card.
nicolas
parents: 10111
diff changeset
243 No TV out support. Of course with <application>MPlayer</application> you can
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244 happily get <emphasis role="bold">accelerated</emphasis> display, with or without
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
245 <emphasis role="bold">TV output</emphasis>, and no libraries or X are needed.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
246 Read the <link linkend="vidix">VIDIX</link> section.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
250
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 <sect5 id="neomagic">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
252 <title>NeoMagic cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
253
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
254 <para>
10132
nicolas
parents: 10111
diff changeset
255 These cards can be found in many laptops. You must use XFree86 4.3.0 or
nicolas
parents: 10111
diff changeset
256 above, or else use Stefan Seyfried's
10068
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
257 <ulink url="http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver/">Xv-capable drivers</ulink>.
10132
nicolas
parents: 10111
diff changeset
258 Just choose the one that applies to your version of XFree86.
10068
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
259 </para>
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
260
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
261 <para>
b3ce60d238c4 Updates and a small patch provided by Bohdan Horst.
diego
parents: 9948
diff changeset
262 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
263 <ulink url="http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver/neo_driver.patch">patch</ulink>
10132
nicolas
parents: 10111
diff changeset
264 against the XFree86 sources that speeds up framebuffer operations (so XVideo)
nicolas
parents: 10111
diff changeset
265 up to four times. The patch has been included in XFree86 CVS and should be in the
nicolas
parents: 10111
diff changeset
266 next release after 4.3.0.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
269 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 To allow playback of DVD sized content change your XF86Config like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272 Section "Device"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
273 [...]
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274 Driver "neomagic"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
275 <emphasis>Option "OverlayMem" "829440"</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 [...]
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
277 EndSection<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278 --></programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 <sect5 id="trident">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 <title>Trident cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 If you want to use xv with a trident card, provided that it doesn't work
11497
038b7a21fdc4 some spaces, xv -> Xv, missing "that"
wight
parents: 11483
diff changeset
287 with 4.1.0, install XFree 4.2.0. 4.2.0 adds support for fullscreen Xv
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288 support with the Cyberblade XP card.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
289 </para>
11079
d4df1e5e5e49 the author's homepage points to us as the latest driver's source, so we
gabucino
parents: 11067
diff changeset
290
d4df1e5e5e49 the author's homepage points to us as the latest driver's source, so we
gabucino
parents: 11067
diff changeset
291 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
292 Alternatively, <application>MPlayer</application> contains a
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
293 <link linkend="vidix">VIDIX</link> driver for the Cyberblade/i1 card.
11079
d4df1e5e5e49 the author's homepage points to us as the latest driver's source, so we
gabucino
parents: 11067
diff changeset
294 </para>
d4df1e5e5e49 the author's homepage points to us as the latest driver's source, so we
gabucino
parents: 11067
diff changeset
295
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299 <sect5 id="kyro">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 <title>Kyro/PowerVR cards</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 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
303 Prophet 4000XT), you should download the drivers from the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
304 <ulink url="http://www.powervr.com/">PowerVR site</ulink>
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 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
308
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
309 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
311 <sect4 id="dga">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
312 <title>DGA</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
313
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
314 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
315 <title>PREAMBLE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
316 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
317 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
318 what the DGA video output driver for <application>MPlayer</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
319 can do (and what it can't).
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
323 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
324 <title>WHAT IS DGA</title>
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 <acronym>DGA</acronym> is short for <emphasis>Direct Graphics
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
327 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
328 directly modifying the framebuffer memory. Technically spoken this happens
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
329 by mapping the framebuffer memory into the memory range of your process.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
330 This is allowed by the kernel only if you have superuser privileges. You
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
331 can get these either by logging in as <systemitem
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
332 class="username">root</systemitem> or by setting the SUID bit on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
333 <application>MPlayer</application> executable (<emphasis role="bold">not
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
334 recommended</emphasis>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
335 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
336 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
337 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
338 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
339 introduced with XFree 4.0.1.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
340 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
341
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
342 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
343 DGA1 provides only direct framebuffer access as described above. For
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
344 switching the resolution of the video signal you have to rely on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
345 XVidMode extension.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
346 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
347
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
348 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
349 DGA2 incorporates the features of XVidMode extension and also allows
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
350 switching the depth of the display. So you may, although basically
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
351 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
352 versa.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
353 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
354
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
355 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
356 However DGA has some drawbacks. It seems it is somewhat dependent on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
357 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
358 driver that controls this chip. So it does not work on every system...
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
361 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
362 <title>INSTALLING DGA SUPPORT FOR MPLAYER</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
363
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
364 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
365 First make sure X loads the DGA extension, see in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
366 <filename>/var/log/XFree86.0.log</filename>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
367
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
368 <programlisting>(II) Loading extension XFree86-DGA</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
369
11499
8f3305688c21 double nVidia VIDIx link removed
wight
parents: 11497
diff changeset
370 See, XFree86 4.0.x or greater is <emphasis role="bold">highly recommended</emphasis>!
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
371 <application>MPlayer</application>'s DGA driver is autodetected by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
372 <filename>./configure</filename>, or you can force it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
373 with <option>--enable-dga</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
374 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
375 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
376
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
377 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
378 If the driver couldn't switch to a smaller resolution, experiment with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
379 options <option>-vm</option> (only with X 3.3.x), <option>-fs</option>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
380 <option>-bpp</option>, <option>-zoom</option> to find a video mode that
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
381 the movie fits in. There is no converter right now :(
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
382 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
383
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
384 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
385 Become <systemitem class="username">root</systemitem>. DGA needs root
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
386 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
387 user, then install <application>MPlayer</application> SUID root:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
388
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
389 <screen>
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
390 chown root <replaceable>/usr/local/bin/mplayer</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
391 chmod 750 <replaceable>/usr/local/bin/mplayer</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
392 chmod +s <replaceable>/usr/local/bin/mplayer</replaceable>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
393 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
394
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
395 Now it works as a simple user, too.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
396 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
397
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
398 <caution>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
399 <title>Security risk</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
400 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
401 This is a <emphasis role="bold">big</emphasis> security risk!
11497
038b7a21fdc4 some spaces, xv -> Xv, missing "that"
wight
parents: 11483
diff changeset
402 <emphasis role="bold">Never</emphasis> do this on a server or on a computer that can be
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
403 accessed by other people because they can gain root privileges through SUID root
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
404 <application>MPlayer</application>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
405 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
406 </caution>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
407
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
408 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
409 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
410 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
411 It's much faster!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
412 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
413
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
414
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
415 <formalpara id="dga-modelines">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
416 <title>RESOLUTION SWITCHING</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
417
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
418 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
419 The DGA driver allows for switching the resolution of the output signal.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
420 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
421 provides a fullscreen image. Ideally it would switch to the exact
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
422 resolution (except for honoring aspect ratio) of the video data, but the X
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
423 server only allows switching to resolutions predefined in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
424 <filename>/etc/X11/XF86Config</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
425 (<filename>/etc/X11/XF86Config-4</filename> for XFree 4.X.X respectively).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
426 Those are defined by so-called modelines and depend on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
427 the capabilities of your video hardware. The X server scans this config
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
428 file on startup and disables the modelines not suitable for your hardware.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
429 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
430 at: <filename>/var/log/XFree86.0.log</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
431 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
432 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
433
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
434 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
435 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
436 server driver module.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
437 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
438
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
439
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
440 <para><programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
441 Section "Modes"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
442 Identifier "Modes[0]"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
443 Modeline "800x600" 40 800 840 968 1056 600 601 605 628
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
444 Modeline "712x600" 35.0 712 740 850 900 400 410 412 425
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
445 Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
446 Modeline "400x300" 20 400 416 480 528 300 301 303 314 Doublescan
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
447 Modeline "352x288" 25.10 352 368 416 432 288 296 290 310
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
448 Modeline "352x240" 15.750 352 368 416 432 240 244 246 262 Doublescan
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
449 Modeline "320x240" 12.588 320 336 384 400 240 245 246 262 Doublescan
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
450 EndSection
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
451 </programlisting></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
452
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
453
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
454 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
455 <title>DGA &amp; MPLAYER</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
456 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
457 DGA is used in two places with <application>MPlayer</application>: The SDL
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
458 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
459 within the DGA driver (<option>-vo dga</option>). The above said is true
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
460 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
461 <application>MPlayer</application> works.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
462 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
463 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
464
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
465
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
466 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
467 <title>FEATURES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
468
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
469 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
470 The DGA driver is invoked by specifying <option>-vo dga</option> at the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
471 command line. The default behavior is to switch to a resolution matching
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
472 the original resolution of the video as close as possible. It deliberately
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
473 ignores the <option>-vm</option> and <option>-fs</option> options
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
474 (enabling of video mode switching and fullscreen) - it always tries to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
475 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
476 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
477 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
478 the mode matching closest the resolution you specify by <option>-x</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
479 and <option>-y</option>. By providing the <option>-v</option> option, the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
480 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
481 resolutions supported by your current <filename>XF86Config</filename> file.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
482 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
483 <option>-bpp</option> option. Valid depths are 15, 16, 24 and 32. It
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
484 depends on your hardware whether these depths are natively supported or if
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
485 a (possibly slow) conversion has to be done.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
486 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
487 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
488 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
489 If you should be lucky enough to have enough offscreen memory left to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
490 put a whole image there, the DGA driver will use doublebuffering, which
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
491 results in much smoother movie replaying. It will tell you whether
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
492 double-buffering is enabled or not.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
493 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
494
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
495 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
496 Doublebuffering means that the next frame of your video is being drawn in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
497 some offscreen memory while the current frame is being displayed. When the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
498 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
499 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
500 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
501 video data.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
502 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
503
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
504 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
505 Doublebuffering may be switched on by using the option
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
506 <option>-double</option> and may be disabled with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
507 <option>-nodouble</option>. Current default option is to disable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
508 doublebuffering. When using the DGA driver, onscreen display (OSD) only
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
509 works with doublebuffering enabled. However, enabling doublebuffering may
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
510 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
511 of CPU time!) depending on the implementation of DGA for your hardware.
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
514
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
515 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
516 <title>SPEED ISSUES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
517
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
518 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
519 Generally spoken, DGA framebuffer access should be at least as fast as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
520 using the X11 driver with the additional benefit of getting a fullscreen
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
521 image. The percentage speed values printed by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
522 <application>MPlayer</application> have to be interpreted with some care,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
523 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
524 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
525 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
526 going on in your box.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
527 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
528 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
529
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
530 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
531 Generally spoken, the speedup done by using DGA against 'normal' use of X11
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
532 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
533 is optimized.
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 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
537 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
538 only half the memory bandwidth of a 32 bit display.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
539 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
540
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
541 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
542 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
543 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
544 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
545
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
546 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
547 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
548 CPUs might work at 400 MHZ and above.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
549 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
550
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
551
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
552 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
553 <title>KNOWN BUGS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
554
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
555 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
556 Well, according to some developers of XFree, DGA is quite a beast. They
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
557 tell you better not to use it. Its implementation is not always flawless
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
558 with every chipset driver for XFree out there.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
559 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
560 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
561
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
562 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
563 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
564 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
565 in strange colors.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
566 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
567 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
568 ATI driver requires to switch mode back more than once after finishing
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
569 using of DGA.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
570 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
571 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
572 Some drivers simply fail to switch back to normal resolution (use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
573 <keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>Keypad +</keycap> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
574 <keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>Keypad -</keycap>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
575 to switch back manually).
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 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
578 Some drivers simply display strange colors.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
579 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
580 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
581 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
582 address space, thus vo_dga won't use doublebuffering (SIS?).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
583 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
584 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
585 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
586 case the DGA driver will crash telling you about a nonsense mode of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
587 100000x100000 or something like that.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
588 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
589 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
590 OSD only works with doublebuffering enabled (else it flickers).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
591 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
592 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
593
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
594 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
595 <!--</sect3>-->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
596
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
597 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
598
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
599 <sect4 id="sdl">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
600 <title>SDL</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
601
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
602 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
603 <acronym>SDL</acronym> (Simple Directmedia Layer) is basically a unified
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
604 video/audio interface. Programs that use it know only about SDL, and not
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
605 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
606 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
607 have to specify the (for example) video driver to use with the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
608 <envar>SDL_VIDEODRIVER</envar> environment variable. Well, in theory.
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
611 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
612 With <application>MPlayer</application>, we used its X11 driver's software
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
613 scaler ability for cards/drivers that doesn't support XVideo, until we made
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
614 our own (faster, nicer) software scaler. Also we used its aalib output, but
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
615 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
616 ours, until recently. Get it now? :)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
617 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
618
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
619 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
620 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
621 system problem), or audio is lagging.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
622 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
623
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
624 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
625 SDL video output supports displaying subtitles under the movie, on the (if
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
626 present) black bar.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
627 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
628
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
629 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
630 <title>There are several command line switches for SDL:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
631 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
632 <term><option>-vo sdl:<replaceable>name</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
633 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
634 specifies SDL video driver to use (i.e. <literal>aalib</literal>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
635 <literal>dga</literal>, <literal>x11</literal>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
636 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
637 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
638 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
639 <term><option>-ao sdl:<replaceable>name</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
640 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
641 specifies SDL audio driver to use (i.e. <literal>dsp</literal>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
642 <literal>esd</literal>, <literal>arts</literal>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
643 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
644 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
645 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
646 <term><option>-noxv</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
647 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
648 disables XVideo hardware acceleration
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
649 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
650 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
651 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
652 <term><option>-forcexv</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
653 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
654 tries to force XVideo acceleration
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
655 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
656 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
657 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
658
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
659 <table>
10869
364d43cee33e sync with HTML
diego
parents: 10682
diff changeset
660 <title>SDL only keys</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
661 <tgroup cols="2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
662 <thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
663 <row><entry>Key</entry><entry>Action</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
664 </thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
665 <tbody>
10869
364d43cee33e sync with HTML
diego
parents: 10682
diff changeset
666 <row><entry><keycap>c</keycap></entry><entry>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
667 cycles available fullscreen modes
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
668 </entry></row>
10869
364d43cee33e sync with HTML
diego
parents: 10682
diff changeset
669 <row><entry><keycap>n</keycap></entry><entry>
364d43cee33e sync with HTML
diego
parents: 10682
diff changeset
670 changes back to normal mode
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
671 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
672 </tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
673 </tgroup>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
674 </table>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
676 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
677 <title>Known bugs:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
678 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
679 Keys pressed under sdl:aalib console driver repeat forever. (use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
680 <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
681 SDL 1.2.1).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
682 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
683 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
684 DO NOT USE SDL with GUI! It won't work as it should.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
685 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
686 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
687 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
688
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
689
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
690 <sect4 id="svgalib">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
691 <title>SVGAlib</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
692
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
693 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
694 <title>INSTALLATION</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
695 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
696 You'll have to install svgalib and its development package in order for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
697 <application>MPlayer</application> build its SVGAlib driver (autodetected,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
698 but can be forced), and don't forget to edit
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
699 <filename>/etc/vga/libvga.config</filename> to suit your card and monitor.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
700 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
701 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
702
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
703 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
704 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
705 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
706 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
707 <option>-sws 4</option> option which will produce bad quality, but is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
708 somewhat faster.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
709 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
710 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
711
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
712 <formalpara><title>EGA (4BPP) SUPPORT</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
713 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
714 SVGAlib incorporates EGAlib, and <application>MPlayer</application> has the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
715 possibility to display any movie in 16 colors, thus usable in the following
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
716 sets:
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 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
719
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
720 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
721 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
722 EGA card with EGA monitor: 320x200x4bpp, 640x200x4bpp, 640x350x4bpp
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
723 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
724 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
725 EGA card with CGA monitor: 320x200x4bpp, 640x200x4bpp
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
726 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
727 </itemizedlist>
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 The bpp (bits per pixel) value must be set to 4 by hand:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
731 <option>-bpp 4</option>
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 The movie probably must be scaled down to fit in EGA mode:
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
736 <screen>-vf scale=640:350</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
737 or
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
738 <screen>-vf scale=320:200</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
739 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
740
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
741 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
742 For that we need fast but bad quality scaling routine:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
743 <screen>-sws 4</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
744 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
745
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
746 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
747 Maybe automatic aspect correction has to be shut off:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
748 <screen>-noaspect</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
749 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
750
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
751 <note><para>
9683
nicolas
parents: 9677
diff changeset
752 According to my experience the best image quality on
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
753 EGA screens can be achieved by decreasing the brightness a bit:
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
754 <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
755 samplerate on my box, because the sound was broken on 44kHz:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
756 <option>-srate 22050</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
757 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
758
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
759 <para>
11214
c292ff78614f Filters should be in <option> tags.
wight
parents: 11136
diff changeset
760 You can turn on OSD and subtitles only with the <option>expand</option>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
761 filter, see the man page for exact parameters.
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 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
764
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
765
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
766 <sect4 id="fbdev">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
767 <title>Framebuffer output (FBdev)</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
768
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
769 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
770 Whether to build the FBdev target is autodetected during
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
771 <filename>./configure</filename>. Read the framebuffer documentation in
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
772 the kernel sources (<filename>Documentation/fb/*</filename>) for more
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
773 information.
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 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
777 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
778 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
779 you'll have to load SciTech Display Doctor (formerly UniVBE) before booting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
780 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
781 UniVBE ;))
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
782 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
783
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
784 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
785 The FBdev output takes some additional parameters above the others:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
786 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
787
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
788 <variablelist>
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>-fb</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 specify the framebuffer device to use (<filename>/dev/fb0</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>-fbmode</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
797 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
798 mode name to use (according to <filename>/etc/fb.modes</filename>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
799 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
800 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
801 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
802 <term><option>-fbmodeconfig</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
803 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
804 config file of modes (default <filename>/etc/fb.modes</filename>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
805 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
806 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
807 <varlistentry>
11287
5fde9e4e1d17 _ --> - in option names
wight
parents: 11275
diff changeset
808 <term><option>-monitor-hfreq</option></term>
5fde9e4e1d17 _ --> - in option names
wight
parents: 11275
diff changeset
809 <term><option>-monitor-vfreq</option></term>
5fde9e4e1d17 _ --> - in option names
wight
parents: 11275
diff changeset
810 <term><option>-monitor-dotclock</option></term>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
811 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
812 <emphasis role="bold">important</emphasis> values, see
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
813 <filename>example.conf</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
814 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
815 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
816 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
817
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
818 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
819 If you want to change to a specific mode, then use
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
820 <screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
821 mplayer -vm -fbmode <replaceable>name_of_mode</replaceable> <replaceable>filename</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
822 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
823 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
824
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
825 <itemizedlist>
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 <option>-vm</option> alone will choose the most suitable mode from
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
828 <filename>/etc/fb.modes</filename>. Can be used together with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
829 <option>-x</option> and <option>-y</option> options too. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
830 <option>-flip</option> option is supported only if the movie's pixel
10132
nicolas
parents: 10111
diff changeset
831 format matches the video mode's pixel format. Pay attention to the bpp
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
832 value, fbdev driver tries to use the current, or if you specify the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
833 <option>-bpp</option> option, then that.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
834 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
835 <listitem><para>
10132
nicolas
parents: 10111
diff changeset
836 <option>-zoom</option> option isn't supported (use <option>-vf scale</option>).
nicolas
parents: 10111
diff changeset
837 You can't use 8bpp (or less) modes.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
838 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
839 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
840 You possibly want to turn the cursor off:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
841 <screen>echo -e '\033[?25l'</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
842 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
843 <screen>setterm -cursor off</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
844 and the screen saver:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
845 <screen>setterm -blank 0</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
846 To turn the cursor back on:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
847 <screen>echo -e '\033[?25h'</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
848 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
849 <screen>setterm -cursor on</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
850 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
851 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
852
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
853 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
854 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
855 FBdev video mode changing <emphasis>does not work</emphasis> with the VESA
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
856 framebuffer, and don't ask for it, since it's not an
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
857 <application>MPlayer</application> limitation.
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 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
860 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
861
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
862
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
863 <sect4 id="mga_vid">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
864 <title>Matrox framebuffer (mga_vid)</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
865
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
866 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
867 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
868 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
869 it has hardware VSYNC support with triple buffering. It works on both
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
870 framebuffer console and under X.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
871 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
872
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
873 <warning>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
874 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
875 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
876 <link linkend="vidix">VIDIX</link> instead!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
877 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
878 </warning>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
879
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
880 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
881 <title>Installation:</title>
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 To use it, you first have to compile <filename>mga_vid.o</filename>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
884 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
885 cd drivers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
886 make<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
887 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
888 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
889 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
890 Then create <filename>/dev/mga_vid</filename> device:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
891 <screen>mknod /dev/mga_vid c 178 0</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
892 and load the driver with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
893 <screen>insmod mga_vid.o</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
894 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
895 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
896 You should verify the memory size detection using the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
897 <command>dmesg</command> command. If it's bad, use the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
898 <option>mga_ram_size</option> option
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
899 (<command>rmmod mga_vid</command> first),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
900 specify card's memory size in MB:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
901 <screen>insmod mga_vid.o mga_ram_size=16</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 To make it load/unload automatically when needed, first insert the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
905 following line at the end of <filename>/etc/modules.conf</filename>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
906
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
907 <programlisting>alias char-major-178 mga_vid</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
908
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
909 Then copy the <filename>mga_vid.o</filename> module to the appropriate
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
910 place under <filename>/lib/modules/<replaceable>kernel
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
911 version</replaceable>/<replaceable>somewhere</replaceable></filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
912 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
913 Then run
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
914 <screen>depmod -a</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
915 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
916 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
917 Now you have to (re)compile <application>MPlayer</application>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
918 <filename>./configure</filename> will detect
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
919 <filename>/dev/mga_vid</filename> and build the 'mga' driver. Using it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
920 from <application>MPlayer</application> goes by <option>-vo mga</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
921 if you have matroxfb console, or <option>-vo xmga</option> under XFree86
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
922 3.x.x or 4.x.x.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
923 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
924 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
925
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
926 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
927 The mga_vid driver cooperates with Xv.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
928 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
929
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
930 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
931 The <filename>/dev/mga_vid</filename> device file can be read for some
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
932 info, for example by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
933 <screen>cat /dev/mga_vid</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
934 and can be written for brightness change:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
935 <screen>echo "brightness=120" &gt; /dev/mga_vid</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
936 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
937 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
938
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
939
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
940 <sect4 id="tdfxfb" xreflabel="3Dfx YUV support (tdfxfb)">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
941 <title>3Dfx YUV support</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
942 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
943 This driver uses the kernel's tdfx framebuffer driver to play movies with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
944 YUV acceleration. You'll need a kernel with tdfxfb support, and recompile
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
945 with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
946 <screen>./configure --enable-tdfxfb</screen>
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 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
949
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
950
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
951 <sect4 id="opengl">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
952 <title>OpenGL output</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
953
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 <application>MPlayer</application> supports displaying movies using OpenGL,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
956 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
957 Linux, use xv instead, OpenGL performance is considerably worse. If you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
958 have an X11 implementation without xv support, OpenGL is a viable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
959 alternative.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
960 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
961
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
962 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
963 Unfortunately not all drivers support this feature. The Utah-GLX drivers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
964 (for XFree86 3.3.6) support it for all cards.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
965 See <ulink url="http://utah-glx.sourceforge.net"/> for details about how to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
966 install it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
967 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
968
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
969 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
970 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
971 4.2.0 or later supports Rage128.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
972 See <ulink url="http://dri.sourceforge.net"/> for download and installation
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
973 instructions.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
974 </para>
10526
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
975
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
976 <para>
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
977 A hint from one of our users: the GL video output can be used to get
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
978 vsynced TV output. You'll have to set an environment variable (at
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
979 least on nVidia):
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
980 </para>
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
981
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
982 <para>
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
983 <command>export $__GL_SYNC_TO_VBLANK=1</command>
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
984 </para>
280e03620324 Hint fixed up and synched to XML.
diego
parents: 10254
diff changeset
985
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
986 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
987
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
988
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
989 <sect4 id="aalib">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
990 <title>AAlib - text mode displaying</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
991
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
992 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
993 AAlib is a library for displaying graphics in text mode, using powerful
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
994 ASCII renderer. There are <emphasis>lots</emphasis> of programs already
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
995 supporting it, like Doom, Quake, etc. <application>MPlayer</application>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
996 contains a very usable driver for it. If <filename>./configure</filename>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
997 detects aalib installed, the aalib libvo driver will be built.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
998 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
999
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1000 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1001 You can use some keys in the AA Window to change rendering options:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1002 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1003
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1004 <informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1005 <tgroup cols="2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1006 <thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1007 <row><entry>Key</entry><entry>Action</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1008 </thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1009 <tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1010 <row><entry><keycap>1</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1011 decrease contrast
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1012 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1013 <row><entry><keycap>2</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1014 increase contrast
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1015 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1016 <row><entry><keycap>3</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1017 decrease brightness
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1018 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1019 <row><entry><keycap>4</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1020 increase brightness
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1021 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1022 <row><entry><keycap>5</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1023 switch fast rendering on/off
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1024 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1025 <row><entry><keycap>6</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1026 set dithering mode (none, error distribution, Floyd Steinberg)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1027 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1028 <row><entry><keycap>7</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1029 invert image
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1030 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1031 <row><entry><keycap>8</keycap></entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1032 toggles between aa and <application>MPlayer</application> control
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1033 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1034 </tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1035 </tgroup>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1036 </informaltable>
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>The following command line options can be used:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1040 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1041 <term><option>-aaosdcolor=<replaceable>V</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1042 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1043 change OSD color
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1044 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1045 </varlistentry>
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 <term><option>-aasubcolor=<replaceable>V</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1048 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1049 change subtitle color
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1050 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1051 where <replaceable>V</replaceable> can be:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1052 <literal>0</literal> (normal),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1053 <literal>1</literal> (dark),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1054 <literal>2</literal> (bold),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1055 <literal>3</literal> (bold font),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1056 <literal>4</literal> (reverse),
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1057 <literal>5</literal> (special).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1058 </para></listitem>
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 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1061
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1062 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1063 <title>AAlib itself provides a large sum of options. Here are some
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1064 important:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1065 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1066 <term><option>-aadriver</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1067 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1068 set recommended aa driver (X11, curses, Linux)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1069 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1070 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1071 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1072 <term><option>-aaextended</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1073 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1074 use all 256 characters
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1075 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1076 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1077 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1078 <term><option>-aaeight</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1079 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1080 use eight bit ASCII
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1081 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1082 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1083 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1084 <term><option>-aahelp</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1085 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1086 prints out all aalib options
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1087 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1088 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1089 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1090
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1091 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1092 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1093 The rendering is very CPU intensive, especially when using AA-on-X
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1094 (using aalib on X), and it's least CPU intensive on standard,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1095 non-framebuffer console. Use SVGATextMode to set up a big textmode,
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1096 then enjoy! (secondary head Hercules cards rock :)) (but IMHO you
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1097 can use <option>-vf 1bpp</option> option to get graphics on hgafb:)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1098 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1099 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1100
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1101 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1102 Use the <option>-framedrop</option> option if your computer isn't fast
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1103 enough to render all frames!
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 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1107 Playing on terminal you'll get better speed and quality using the Linux
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1108 driver, not curses (<option>-aadriver linux</option>). But therefore you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1109 need write access on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1110 <filename>/dev/vcsa<replaceable>&lt;terminal&gt;</replaceable></filename>!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1111 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
1112 See <ulink url="http://aa-project.sourceforge.net/tune"/> for further
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1113 tuning issues.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1114 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1115 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1116
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1117
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1118 <sect4 id="caca">
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1119 <title><systemitem class="library">libcaca</systemitem> - Color ASCII Art library</title>
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1120
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1121 <para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1122 The <ulink url="http://sam.zoy.org/projects/libcaca/"><systemitem class="library">libcaca</systemitem></ulink>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1123 library is a graphics library that outputs text instead of pixels, so that it
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1124 can work on older video cards or text terminals. It is not unlike the famous
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1125 <systemitem class="library">AAlib</systemitem> library.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1126 <systemitem class="library">libcaca</systemitem> needs a terminal to work, thus
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1127 it should work on all Unix systems (including Mac OS X) using either the
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1128 <systemitem class="library">slang</systemitem> library or the
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1129 <systemitem class="library">ncurses</systemitem> library, on DOS using the
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1130 <systemitem class="library">conio.h</systemitem> library, and on Windows systems
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1131 using either <systemitem class="library">slang</systemitem> or
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1132 <systemitem class="library">ncurses</systemitem> (through Cygwin emulation) or
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1133 <systemitem class="library">conio.h</systemitem>. If
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1134 <filename>./configure</filename>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1135 detects <systemitem class="library">libcaca</systemitem>, the caca libvo driver
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1136 will be built.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1137 </para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1138
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1139 <itemizedlist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1140 <title>The differences with <systemitem class="library">AAlib</systemitem> are
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1141 the following:</title>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1142 <listitem><simpara>
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1143 16 available colors for character output (256 color pairs)
12216
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1144 </simpara></listitem>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1145 <listitem><simpara>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1146 color image dithering
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1147 </simpara></listitem>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1148 </itemizedlist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1149
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1150 <itemizedlist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1151 <title>But <systemitem class="library">libcaca</systemitem> also has the
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1152 following limitations:</title>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1153 <listitem><simpara>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1154 no support for brightness, contrast, gamma
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1155 </simpara></listitem>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1156 </itemizedlist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1157
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1158 <para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1159 You can use some keys in the caca window to change rendering options:
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1160 </para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1161
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1162 <informaltable>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1163 <tgroup cols="2">
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1164 <thead>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1165 <row><entry>Key</entry><entry>Action</entry></row>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1166 </thead>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1167 <tbody>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1168 <row><entry><keycap>d</keycap></entry><entry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1169 Toggle <systemitem class="library">libcaca</systemitem> dithering methods.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1170 </entry></row>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1171 <row><entry><keycap>a</keycap></entry><entry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1172 Toggle <systemitem class="library">libcaca</systemitem> antialiasing.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1173 </entry></row>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1174 <row><entry><keycap>b</keycap></entry><entry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1175 Toggle <systemitem class="library">libcaca</systemitem> background.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1176 </entry></row>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1177 </tbody>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1178 </tgroup>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1179 </informaltable>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1180
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1181 <variablelist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1182 <title><systemitem class="library">libcaca</systemitem> will also look for certain environment variables:</title>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1183 <varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1184 <term><option>CACA_DRIVER</option></term>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1185 <listitem><simpara>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1186 Set recommended caca driver. e.g. ncurses, slang, x11.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1187 </simpara></listitem>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1188 </varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1189 <varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1190 <term><option>CACA_GEOMETRY (X11 only)</option></term>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1191 <listitem><simpara>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1192 Specifies the number of rows and columns. e.g. 128x50.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1193 </simpara></listitem>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1194 </varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1195 <varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1196 <term><option>CACA_FONT (X11 only)</option></term>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1197 <listitem><simpara>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1198 Specifies the font to use. e.g. fixed, nexus.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1199 </simpara></listitem>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1200 </varlistentry>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1201 </variablelist>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1202
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1203 <para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1204 Use the <option>-framedrop</option> option if your computer is not fast
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1205 enough to render all frames.
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1206 </para>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1207
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1208 </sect4>
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1209
d4e2bdc246a3 -vo caca documentation, patch by Pigeon <pigeon@pigeond.net>
diego
parents: 12188
diff changeset
1210
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1211 <sect4 id="vesa">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1212 <title>VESA - output to VESA BIOS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1213
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1214 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1215 This driver was designed and introduced as a <emphasis role="bold">generic
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1216 driver</emphasis> for any video card which has VESA VBE 2.0 compatible
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1217 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
1218 on.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1219 <citetitle>VESA BIOS EXTENSION (VBE) Version 3.0 Date: September 16,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1220 1998</citetitle> (Page 70) says:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1221 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1222
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1223 <blockquote>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1224 <formalpara><title>Dual-Controller Designs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1225 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1226 VBE 3.0 supports the dual-controller design by assuming that since both
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1227 controllers are typically provided by the same OEM, under control of a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1228 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
1229 that two controllers are indeed present from the application. This has the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1230 limitation of preventing simultaneous use of the independent controllers,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1231 but allows applications released before VBE 3.0 to operate normally. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1232 VBE Function 00h (Return Controller Information) returns the combined
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1233 information of both controllers, including the combined list of available
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1234 modes. When the application selects a mode, the appropriate controller is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1235 activated. Each of the remaining VBE functions then operates on the active
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1236 controller.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1237 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1238 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1239 </blockquote>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1240
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1241 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1242 So you have chances to get working TV-out by using this driver.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1243 (I guess that TV-out frequently is standalone head or standalone output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1244 at least.)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1245 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1246
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1247 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1248 <title>ADVANTAGES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1249 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1250 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
1251 know</emphasis> your video hardware.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1252 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1253 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1254 You don't need to have installed any graphics' related things on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1255 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
1256 from <emphasis role="bold">text-mode</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1257 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1258 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1259 You have chances to get <emphasis role="bold">working TV-out</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1260 (It's known at least for ATI's cards).
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 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1263 This driver calls <function>int 10h</function> handler thus it's not
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1264 an emulator - it calls <emphasis role="bold">real</emphasis> things of
10971
12315a6590a1 Clumsy wording improved byRuben Garcia <ruben@ugr.es> and
diego
parents: 10965
diff changeset
1265 <emphasis>real</emphasis> BIOS in <emphasis>real-mode</emphasis>
12315a6590a1 Clumsy wording improved byRuben Garcia <ruben@ugr.es> and
diego
parents: 10965
diff changeset
1266 (actually in vm86 mode).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1267 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1268 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1269 You can use VIDIX with it, thus getting accelerated video display
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1270 <emphasis role="bold">and</emphasis> TV output at the same time!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1271 (Recommended for ATI cards.)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1272 </simpara></listitem>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1273 <listitem><simpara>
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1274 If you have VESA VBE 3.0+, and you had specified
11287
5fde9e4e1d17 _ --> - in option names
wight
parents: 11275
diff changeset
1275 <option>monitor-hfreq, monitor-vfreq, monitor-dotclock</option> somewhere
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1276 (config file, or command line) you will get the highest possible refresh rate.
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1277 (Using General Timing Formula). To enable this feature you have to specify
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1278 <emphasis role="bold">all</emphasis> your monitor options.
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1279 </simpara></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1280 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1281
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1282 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1283 <title>DISADVANTAGES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1284 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1285 It works only on <emphasis role="bold">x86 systems</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1286 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1287 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1288 It can be used only by <systemitem class="username">root</systemitem>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1289 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1290 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1291 Currently it's available only for <emphasis role="bold">Linux</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1292 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1293 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1294
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1295 <important>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1296 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1297 Don't use this driver with <emphasis role="bold">GCC 2.96</emphasis>!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1298 It won't work!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1299 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1300 </important>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1301
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1302 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1303 <title>COMMAND LINE OPTIONS AVAILABLE FOR VESA</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1304 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1305 <term><option>-vo vesa:<replaceable>opts</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1306 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1307 currently recognized: <literal>dga</literal> to force dga mode and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1308 <literal>nodga</literal> to disable dga mode. In dga mode you can enable
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1309 double buffering via the <option>-double</option> option. Note: you may omit
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1310 these parameters to enable <emphasis role="bold">autodetection</emphasis> of
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1311 dga mode.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1312 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1313 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1314 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1315
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1316 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1317 <title>KNOWN PROBLEMS AND WORKAROUNDS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1318 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1319 If you have installed <emphasis role="bold">NLS</emphasis> font on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1320 Linux box and run VESA driver from text-mode then after terminating
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1321 <application>MPlayer</application> you will have
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1322 <emphasis role="bold">ROM font</emphasis> loaded instead of national.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1323 You can load national font again by using <command>setsysfont</command>
10965
nauj27
parents: 10938
diff changeset
1324 utility from the Mandrake distribution for example.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1325 (<emphasis role="bold">Hint</emphasis>: The same utility is used for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1326 localization of fbdev).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1327 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1328 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1329 Some <emphasis role="bold">Linux graphics drivers</emphasis> don't update
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1330 active <emphasis role="bold">BIOS mode</emphasis> in DOS memory.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1331 So if you have such problem - always use VESA driver only from
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1332 <emphasis role="bold">text-mode</emphasis>. Otherwise text-mode (#03) will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1333 be activated anyway and you will need restart your computer.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1334 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1335 <listitem><simpara>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1336 Often after terminating VESA driver you get <emphasis role="bold">black</emphasis>
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1337 screen. To return your screen to original state - simply switch to other console
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1338 (by pressing <keycap>Alt</keycap>+<keycap>F&lt;x&gt;</keycap>)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1339 then switch to your previous console by the same way.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1340 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1341 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1342 To get <emphasis role="bold">working TV-out</emphasis> you need have plugged
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1343 TV-connector in before booting your PC since video BIOS initializes
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1344 itself only once during POST procedure.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1345 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1346 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1347 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1348
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1349
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1350 <sect4 id="x11">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1351 <title>X11</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1352
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1353 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1354 Avoid if possible. Outputs to X11 (uses shared memory extension), with no
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1355 hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1356 still slow) software scaling, use the options <option>-fs -zoom</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1357 Most cards have hardware scaling support, use the <option>-vo xv</option>
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1358 output for them, or <option>-vo xmga</option> for Matrox cards.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1359 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1360
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1361 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1362 The problem is that most cards' driver doesn't support hardware
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1363 acceleration on the second head/TV. In those cases, you see green/blue
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1364 colored window instead of the movie. This is where this driver comes in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1365 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
1366 driver's software output+scaler, it has worse image quality!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1367 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1368
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1369 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1370 Software scaling is very slow, you better try changing video modes instead.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1371 It's very simple. See the <link linkend="dga-modelines">DGA section's
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1372 modelines</link>, and insert them into your <filename>XF86Config</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1373
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1374 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1375 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1376 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
1377 change to a resolution your movie fits in. If it doesn't:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1378 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1379 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1380 With XFree86 3.x.x: you have to cycle through available resolutions
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1381 with the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1382 <keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>plus</keycap>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1383 and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1384 <keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>minus</keycap>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1385 keys.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1386 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1387 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1388 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1389
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1390 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1391 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
1392 drivers can't use low pixelclocks that are needed for low resolution
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1393 video modes.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1394 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1395 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1396
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1397
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1398 <sect4 id="vidix">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1399 <title>VIDIX</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1400
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1401 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1402 <title>PREAMBLE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1403 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1404 <acronym>VIDIX</acronym> is the abbreviation for <emphasis role="bold">VID</emphasis>eo
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1405 <emphasis role="bold">I</emphasis>nterface for *ni<emphasis role="bold">X</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1406 VIDIX was designed and introduced as an interface for fast user-space drivers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1407 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
1408 portable.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1409 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1410 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1411 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1412 This interface was designed as an attempt to fit existing video
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1413 acceleration interfaces (known as mga_vid, rage128_vid, radeon_vid,
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1414 pm3_vid) into a fixed scheme. It provides a high level interface to chips
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1415 which are known as BES (BackEnd scalers) or OV (Video Overlays). It doesn't
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1416 provide low level interface to things which are known as graphics servers.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1417 (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
1418 main goal of this interface is to maximize the speed of video playback.
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1421 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1422 <title>USAGE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1423 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1424 You can use standalone video output driver: <option>-vo xvidix</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1425 This driver was developed as X11's front end to VIDIX technology. It
11497
038b7a21fdc4 some spaces, xv -> Xv, missing "that"
wight
parents: 11483
diff changeset
1426 requires X server and can work only under X server. Note that, as it directly
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1427 accesses the hardware and circumvents the X driver, pixmaps cached in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1428 graphics card's memory may be corrupted. You can prevent this by limiting
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1429 the amount of video memory used by X with the XF86Config option "VideoRam"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1430 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
1431 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
1432 the option "XaaNoPixmapCache" in the screen section instead.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1433 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1434 <listitem><simpara>
11136
f26ac9c57374 spelling fixes
diego
parents: 11079
diff changeset
1435 There is a console VIDIX driver: <option>-vo cvidix</option>.
11067
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1436 This requires a working and initialized framebuffer for most cards (or else
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1437 you'll just mess up the screen), and you'll have a similar effect as with
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1438 <option>-vo mga</option> or <option>-vo fbdev</option>. nVidia cards however
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1439 are able to output truly graphical video on a real text console. See the
11483
462b97f8746f move section out of <link> tags
wight
parents: 11362
diff changeset
1440 <link linkend="vidix-nvidia">nvidia_vid</link> section for more information.
11067
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1441 </simpara></listitem>
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1442 <listitem><simpara>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1443 You can use VIDIX subdevice which was applied to several video output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1444 drivers, such as: <option>-vo vesa:vidix</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1445 (<emphasis role="bold">Linux only</emphasis>) and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1446 <option>-vo fbdev:vidix</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1447 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1448 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1449
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1450 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1451 Indeed it doesn't matter which video output driver is used with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1452 <emphasis role="bold">VIDIX</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1453 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1454
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1455 <itemizedlist spacing="compact">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1456 <title>REQUIREMENTS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1457 <listitem><simpara>
11067
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1458 Video card should be in graphics mode (except nVidia cards with the
2340e006992f updated Vidix section to reflect newest developments
gabucino
parents: 11065
diff changeset
1459 <option>-vo cvidix</option> output driver).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1460 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1461 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1462 <application>MPlayer</application>'s video output driver should know
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1463 active video mode and be able to tell to VIDIX subdevice some video
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1464 characteristics of server.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1465 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1466 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1467
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1468 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1469 <title>USAGE METHODS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1470 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1471 When VIDIX is used as <emphasis role="bold">subdevice</emphasis> (<option>-vo
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1472 vesa:vidix</option>) then video mode configuration is performed by video
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1473 output device (<emphasis role="bold">vo_server</emphasis> in short). Therefore you can
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1474 pass into command line of <application>MPlayer</application> the same keys
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1475 as for vo_server. In addition it understands <option>-double</option> key
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1476 as globally visible parameter. (I recommend using this key with VIDIX at
11136
f26ac9c57374 spelling fixes
diego
parents: 11079
diff changeset
1477 least for ATI's card). As for <option>-vo xvidix</option>, currently it
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1478 recognizes the following options: <option>-fs -zoom -x -y -double</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1479 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1480 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1481 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1482 Also you can specify VIDIX's driver directly as third subargument in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1483 command line:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1484
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1485 <screen>mplayer -vo xvidix:mga_vid.so -fs -zoom -double <replaceable>file.avi</replaceable></screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1486 or
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1487 <screen>mplayer -vo vesa:vidix:radeon_vid.so -fs -zoom -double -bpp 32 <replaceable>file.avi</replaceable></screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1488
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1489 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
1490 will be forced and result is unpredictable (it may
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1491 <emphasis role="bold">freeze</emphasis> your computer). You should do that
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1492 ONLY if you are absolutely sure it will work, and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1493 <application>MPlayer</application> doesn't do it automatically. Please tell
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1494 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
1495 to enable driver autodetection.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1496 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1497
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1498 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1499 VIDIX is new technology and it's extremely possible that on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1500 system it won't work. In this case only solution for you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1501 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
1502 systems where X11 does.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1503 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1504
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1505 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1506 Since VIDIX requires direct hardware access you can either run it as root
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1507 or set the SUID bit on the <application>MPlayer</application> binary
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1508 (<emphasis role="bold">Warning: This is a security risk!</emphasis>).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1509 Alternatively, you can use a special kernel module, like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1510 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1511
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1512 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1513 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1514 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
1515 of svgalib (for example 1.9.17), <emphasis role="bold">OR</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1516 download a version made by Alex especially for usage with <application>MPlayer</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1517 (it doesn't need the svgalib source to compile) from
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1518 <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
1519 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1520 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1521 Compile the module in the <filename class="directory">svgalib_helper</filename>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1522 directory (it can be found inside the <filename class="directory">svgalib-1.9.17/kernel/</filename>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1523 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
1524 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1525 <step><para>
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1526 To create the necessary devices in the <filename class="directory">/dev</filename>
11022
6da8652f129b /dev/svga* creation instructions
gabucino
parents: 10975
diff changeset
1527 directory, do a <screen>make device</screen> in the <filename class="directory">svgalib_helper</filename>
6da8652f129b /dev/svga* creation instructions
gabucino
parents: 10975
diff changeset
1528 dir, as root.
6da8652f129b /dev/svga* creation instructions
gabucino
parents: 10975
diff changeset
1529 </para></step>
6da8652f129b /dev/svga* creation instructions
gabucino
parents: 10975
diff changeset
1530 <step><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1531 Move the <filename class="directory">svgalib_helper</filename> directory to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1532 <filename class="directory">mplayer/main/libdha/svgalib_helper</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1533 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1534 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1535 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
1536 CFLAGS line containing "svgalib_helper" string from the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1537 <filename class="directory">libdha/Makefile</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1538 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1539 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1540 Recompile and install libdha.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1541 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1542 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1543
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1544 <sect5 id="vidix-ati">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1545 <title>ATI cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1546 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1547 Currently most ATI cards are supported natively, from Mach64 to the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1548 newest Radeons.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1549 </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 There are two compiled binaries: <filename>radeon_vid</filename> for Radeon and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1553 <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
1554 the VIDIX system autoprobe all available drivers.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1555 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1556 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1557
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1558 <sect5 id="vidix-mga">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1559 <title>Matrox cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1560 <para>
11497
038b7a21fdc4 some spaces, xv -> Xv, missing "that"
wight
parents: 11483
diff changeset
1561 Matrox G200, G400, G450 and G550 have been reported to work.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1562 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1563
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1564 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1565 The driver supports video equalizers and should be nearly as fast as the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1566 <link linkend="mga_vid">Matrox framebuffer</link>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1567 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1568 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1569
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1570 <sect5 id="vidix-trident">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1571 <title>Trident cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1572 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1573 There is a driver available for the Trident Cyberblade/i1 chipset, which
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1574 can be found on VIA Epia motherboards.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1575 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1576
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1577 <para>
11079
d4df1e5e5e49 the author's homepage points to us as the latest driver's source, so we
gabucino
parents: 11067
diff changeset
1578 The driver was written and is maintained by
d4df1e5e5e49 the author's homepage points to us as the latest driver's source, so we
gabucino
parents: 11067
diff changeset
1579 <ulink url="http://www.blackfiveservices.co.uk/EPIAVidix.shtml">Alastair M. Robinson</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1580 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1581 </sect5>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1582
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1583 <sect5 id="vidix-3dlabs">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1584 <title>3DLabs cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1585 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1586 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
1587 has tested it, so reports are welcome.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1588 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1589 </sect5>
11040
diego
parents: 11022
diff changeset
1590
diego
parents: 11022
diff changeset
1591 <sect5 id="vidix-nvidia">
diego
parents: 11022
diff changeset
1592 <title>nVidia cards</title>
diego
parents: 11022
diff changeset
1593 <para>
diego
parents: 11022
diff changeset
1594 There's a relatively new nVidia driver out there, it's known to work on Riva
diego
parents: 11022
diff changeset
1595 128, TNT and GeForce2 chipsets, also others have been reported working.
diego
parents: 11022
diff changeset
1596 </para>
diego
parents: 11022
diff changeset
1597
11065
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1598 <itemizedlist spacing="compact">
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1599 <title>LIMITATIONS</title>
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1600 <listitem><para>
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1601 It's recommended to use the binary nVidia drivers for X before using this
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1602 VIDIX driver, because some of the registers which need to be initialized
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1603 haven't been discovered yet, so it will probably fail with the Open Source
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1604 XFree86 <filename>nv.o</filename> driver.
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1605 </para></listitem>
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1606 <listitem><para>
11136
f26ac9c57374 spelling fixes
diego
parents: 11079
diff changeset
1607 Currently only codecs capable of UYVY colorspace output
f26ac9c57374 spelling fixes
diego
parents: 11079
diff changeset
1608 can work in conjunction with this driver. Unfortunately, this excludes
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
1609 every single decoder from the
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
1610 <systemitem class="library">libavcodec</systemitem> family. This leaves
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
1611 us with the following usable popular codecs:
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
1612 <systemitem>cvid, divxds, xvid, divx4, wmv7, wmv8</systemitem> and some
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
1613 others. Please note that this is only
11136
f26ac9c57374 spelling fixes
diego
parents: 11079
diff changeset
1614 a temporal inconvenience. The usage syntax is as follows:
11065
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1615 <screen>
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1616 mplayer -vf format=uyvy -vc divxds <replaceable>divx3file.avi</replaceable>
11065
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1617 </screen>
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1618 </para></listitem>
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1619 </itemizedlist>
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1620
11040
diego
parents: 11022
diff changeset
1621 <para>
11065
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1622 An unique feature of the nvidia_vid driver is its ability to display video on
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1623 <emphasis role="bold">plain, pure, text-only console</emphasis> - with no
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1624 framebuffer or X magic whatsoever. For this purpose, we'll have to use the
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1625 <option>cvidix</option> video output, as the following example shows:
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1626 <screen>
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1627 mplayer -vf format=uyvy -vc divxds -vo cvidix <replaceable>example.avi</replaceable>
11065
2909e5a20c5a nvidia info update
gabucino
parents: 11040
diff changeset
1628 </screen>
11040
diego
parents: 11022
diff changeset
1629 </para>
diego
parents: 11022
diff changeset
1630
diego
parents: 11022
diff changeset
1631 <para>
diego
parents: 11022
diff changeset
1632 Reports awaited!
diego
parents: 11022
diff changeset
1633 </para>
diego
parents: 11022
diff changeset
1634 </sect5>
diego
parents: 11022
diff changeset
1635
diego
parents: 11022
diff changeset
1636 <sect5 id="vidix-sis">
diego
parents: 11022
diff changeset
1637 <title>SiS cards</title>
diego
parents: 11022
diff changeset
1638 <para>
diego
parents: 11022
diff changeset
1639 This is very experimental code, just like nvidia_vid.
diego
parents: 11022
diff changeset
1640 </para>
diego
parents: 11022
diff changeset
1641
diego
parents: 11022
diff changeset
1642 <para>
diego
parents: 11022
diff changeset
1643 It's been tested on SiS 650/651/740 (the most common chipsets used in the
diego
parents: 11022
diff changeset
1644 SiS versions of the "Shuttle XPC" barebones boxes out there)
diego
parents: 11022
diff changeset
1645 </para>
diego
parents: 11022
diff changeset
1646
diego
parents: 11022
diff changeset
1647 <para>
diego
parents: 11022
diff changeset
1648 Reports awaited!
diego
parents: 11022
diff changeset
1649 </para>
diego
parents: 11022
diff changeset
1650 </sect5>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1651 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1652
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1653 <sect4 id="directfb">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1654 <title>DirectFB</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1655 <blockquote><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1656 &quot;DirectFB is a graphics library which was designed with embedded systems
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1657 in mind. It offers maximum hardware accelerated performance at a minimum
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1658 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
1659 </para></blockquote>
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>I'll exclude DirectFB features from this section.</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1662
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1663 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1664 Though <application>MPlayer</application> is not supported as a &quot;video
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1665 provider&quot; in DirectFB, this output driver will enable video playback through
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1666 DirectFB. It will - of course - be accelerated, on my Matrox G400 DirectFB's speed
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1667 was the same as XVideo.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1668 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1669
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 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
1672 the command line, using the <option>-dfbopts</option> option. Layer selection can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1673 be done by the subdevice method, e.g.: <option>-vo directfb:2</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1674 (layer -1 is default: autodetect)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1675 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1676 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1677
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1678 <sect4 id="dfbmga">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1679 <title>DirectFB/Matrox (dfbmga)</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1680 <para>
11824
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1681 Please read the <link linkend="directfb">main DirectFB</link> section for general
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1682 information.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1683 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1684
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1685 <para>
11824
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1686 This video output driver will enable CRTC2 (on the second head) on Matrox
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1687 G400/G450/G550 cards, displaying video
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1688 <emphasis role="bold">independent</emphasis> of the first head.
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1689 </para>
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1690
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1691 <para>
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1692 Ville Syrjala's has a
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1693 <ulink url="http://www.sci.fi/~syrjala/directfb/Matrox_TV-out_README.txt">README</ulink>
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1694 and a
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1695 <ulink url="http://www.sci.fi/~syrjala/directfb/matrox_tv-out_howto">HOWTO</ulink>
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1696 on his homepage that explain how to make DirectFB TV output run on Matrox cards.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1697 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1698
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1699 <note><para>
11824
ce44fb6eb15c Our DirectFB documentation is dated, the current version is now linked to
diego
parents: 11822
diff changeset
1700 the first DirectFB version with which we could get this working was
10132
nicolas
parents: 10111
diff changeset
1701 0.9.17 (it's buggy, needs that <systemitem>surfacemanager</systemitem> patch from
nicolas
parents: 10111
diff changeset
1702 the URL above). Anyway, porting of the CRTC2 code to <emphasis role="bold">mga_vid</emphasis>
nicolas
parents: 10111
diff changeset
1703 is underway.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1704 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1705 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1706 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1707
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1708 <sect3 id="mpeg_decoders">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1709 <title>MPEG decoders</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1710
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1711 <sect4 id="dvb">
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1712 <title>DVB output and input</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1713 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1714 <application>MPlayer</application> supports cards with the Siemens DVB chipset
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1715 from vendors like Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1716 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
1717 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
1718 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1719
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1720 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1721 Configure should detect your DVB card. If it did not, force detection with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1722 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1723
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1724 <para><screen>./configure --enable-dvb</screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1725
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1726 <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
1727
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1728 <para><screen>./configure --with-extraincdir=<replaceable>DVB source directory</replaceable>/ost/include
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1729 </screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1730
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1731 <para>Then compile and install as usual.</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1732
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1733 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1734 <title>USAGE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1735 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1736 Hardware decoding (playing standard MPEG1/2 files) can be done with this command:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1737 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1738 </formalpara>
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1739
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1740 <para>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1741 <screen>mplayer -ao mpegpes -vo mpegpes <replaceable>file.mpg|vob</replaceable></screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1742 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1743
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1744 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1745 Software decoding or transcoding different formats to MPEG1 can be achieved using
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1746 a command like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1747 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1748 <para><screen>
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1749 mplayer -ao mpegpes -vo mpegpes <replaceable>yourfile.ext</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1750 mplayer -ao mpegpes -vo mpegpes -vf expand <replaceable>yourfile.ext</replaceable>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1751 </screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1752
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1753 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1754 Note that DVB cards only support heights 288 and 576 for PAL or 240 and 480 for
10938
b1c983477841 Tpyo noticed by Torinthiel <torinthiel@wp.pl>.
diego
parents: 10913
diff changeset
1755 NTSC. You <emphasis role="bold">must</emphasis> rescale for other heights by adding
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1756 <option>scale=width:height</option> with the width and height you want to the
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1757 <option>-vf</option> option. DVB cards accept various widths, like 720, 704,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1758 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
1759 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
1760 DivX try:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1761 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1762
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
1763 <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
1764
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1765 <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
1766 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
1767 640x384 DivX, try:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1768 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1769
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1770 <para>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1771 <screen>mplayer -ao mpegpes -vo mpegpes -vf expand=640:576 <replaceable>file.avi</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1772 </screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1773 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1774
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1775 <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
1776
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1777 <para>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1778 <screen>mplayer -ao mpegpes -vo mpegpes -vf scale=352:576 <replaceable>file.avi</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1779 </screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1780 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1781
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1782 <para>If speed does not improve, try vertical downscaling, too:</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1783
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1784 <para>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1785 <screen>mplayer -ao mpegpes -vo mpegpes -vf scale=352:288 <replaceable>file.avi</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1786 </screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
1787 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1788
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1789 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1790 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
1791 <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
1792 <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
1793 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
1794 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
1795 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
1796 option to adjust this (<option>-subpos 80</option> is a good choice).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1797 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1798
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1799 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1800 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
1801 <option>-framedrop</option> option.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1802 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1803
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 To keep the aspect ratio of DivX files and get the optimal scaling
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1806 parameters (hardware horizontal scaling and software vertical scaling
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1807 while keeping the right aspect ratio), use the new dvbscale filter:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1808 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1809
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1810 <para><screen>
10682
diego
parents: 10526
diff changeset
1811 for a 4:3 TV: -vf dvbscale,scale=-1:0,expand=-1:576:-1:-1:1
diego
parents: 10526
diff changeset
1812 for a 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
1813 </screen></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1814
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1815 <formalpara>
11888
c0bb03056667 build fix
diego
parents: 11884
diff changeset
1816 <title>Digital TV (DVB input module)</title>
c0bb03056667 build fix
diego
parents: 11884
diff changeset
1817 <para>You can use your DVB card for watching Digital TV.</para>
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1818 </formalpara>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1819
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1820 <para>
11884
923e6d2c7623 Sync with the last DVB update, patch by Nico <nsabbi@tiscali.it>.
diego
parents: 11824
diff changeset
1821 You should have the programs <command>scan</command> and
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1822 <command>szap/tzap/czap</command> installed; they are all included in
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1823 the drivers package.
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1824 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1825
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1826 <para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1827 Verify that your drivers are working properly with a program such as
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1828 <ulink url="http://www.sf.net/projects/dvbtools/"><command>dvbstream</command></ulink>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1829 (that is the base of the DVB input module).
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1830 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1831
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1832 <para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1833 Now you should compile a <filename>~/.mplayer/channels.conf</filename>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1834 file, with the syntax accepted by <command>szap/tzap/czap</command>, or
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1835 have <command>scan</command> compile it for you.
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1836 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1837
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1838 <para>
12188
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1839 If you have more than one card type (e.g. Satellitar, Terrestrial and Cable)
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1840 you can save your channels files as
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1841 <filename>~/.mplayer/channels.conf.sat</filename>,
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1842 <filename>~/.mplayer/channels.conf.ter</filename>
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1843 and <filename>~/.mplayer/channels.conf.cbl</filename>,
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1844 respectively, so as to implicitly hint <application>MPlayer</application>
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1845 to use these files rather than <filename>~/.mplayer/channels.conf</filename>,
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1846 and you only need to specify which card to use.
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1847 </para>
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1848
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1849 <para>
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1850 Make sure that you have have <emphasis>only</emphasis> Free to Air
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
1851 channels in your <filename>channels.conf</filename> file, or
12188
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1852 <application>MPlayer</application> will try to skip to the next visible one,
2750891e58e9 DVB updates, patch by Nico <nsabbi@tiscali.it>
diego
parents: 11888
diff changeset
1853 but it may take long if there are many consecutive encrypted channels.
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1854 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1855
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1856 <para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1857 To show the first of the channels present in your list, run
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1858 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1859
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1860 <screen>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1861 mplayer dvb://
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1862 </screen>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1863
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1864 <para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1865 If you want to watch a specific channel, such as R1, run
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1866 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1867
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1868 <screen>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1869 mplayer dvb://R1
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1870 </screen>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1871
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1872 <para>
12310
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1873 If you have more than one card you also need to specify the number of the card
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
1874 where the channel is visible (e.g. 2) with the syntax:
12310
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1875 </para>
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1876
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1877 <screen>
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1878 mplayer dvb://2@R1
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1879 </screen>
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1880
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1881 <para>
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1882 To change channels press the <keycap>h</keycap> (next) and
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1883 <keycap>k</keycap> (previous) keys, or use the OSD menu (requires
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1884 a working <link linkend="subosd">OSD subsystem</link>).
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1885 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1886
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1887 <para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1888 If your <filename>~/.mplayer/menu.conf</filename> contains a
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1889 <literal>&lt;dvbsel&gt;</literal> entry, such as the one in the example
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1890 file <filename>etc/dvb-menu.conf</filename> (that you can use to overwrite
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1891 <filename>~/.mplayer/menu.conf</filename>), the main menu will show a
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1892 sub-menu entry that will permit you to choose one of the channels present
12310
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1893 in your <filename>channels.conf</filename>, possibly preceded by a menu
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1894 with the list of cards available if more than one is usable by
da00c08d8279 DVB now supports multiple cards, patch by Nico Sabbi.
diego
parents: 12216
diff changeset
1895 <application>MPlayer</application>.
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1896 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1897
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1898 <para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1899 If you want to save a program to disk you can use
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1900 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1901
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1902 <screen>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1903 mplayer -dumpfile r1.ts -dumpstream dvb://R1
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1904 </screen>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1905
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1906 <para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1907 If you want to record it in a different format (re-encoding it) instead
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1908 you can run a command such as
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1909 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1910
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1911 <screen>
11362
cd167d51a619 Spot the typo, part 2.
diego
parents: 11361
diff changeset
1912 mencoder -o r1.avi -ovc xvid -xvidencopts bitrate=800 -oac mp3lame -lameopts cbr:br=128 -pp=ci dvb://R1
11358
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1913 </screen>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1914
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1915 <para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1916 Read the man page for a list of options that you can pass to the
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1917 DVB input module.
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1918 </para>
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1919
7d120a00fcf7 DVB section expanded based on a patch by Nico Sabbi that was committed to
diego
parents: 11287
diff changeset
1920 <formalpara>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1921 <title>FUTURE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1922 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1923 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
1924 discussions on this subject, join our
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1925 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-dvb">MPlayer-DVB</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1926 mailing list. Please remember that the list language is English.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1927 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1928 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1929
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1930 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1931 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
1932 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
1933 non-25fps movies and realtime transcoding between MPEG2 and MPEG4 (partial
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1934 decompression).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1935 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1936 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1937
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1938 <sect4 id="dxr2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1939 <title>DXR2</title>
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
1940 <para><application>MPlayer</application> supports hardware accelerated playback
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
1941 with the Creative DXR2 card.</para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1942 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1943 First of all you will need properly installed DXR2 drivers. You can find
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1944 the drivers and installation instructions at the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1945 <ulink url="http://dxr2.sourceforge.net/">DXR2 Resource Center</ulink> site.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1946 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1947
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1948 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1949 <title>USAGE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1950 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1951 <term><option>-vo dxr2</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1952 <listitem><para>enable TV output</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1953 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1954
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1955 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1956 <term><option>-vo dxr2:x11</option> or <option>-vo dxr2:xv</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1957 <listitem><para>enable Overlay output in X11</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1958 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1959
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1960 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1961 <term><option>-dxr2 &lt;option1:option2:...&gt;</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1962 <listitem><para>This option is used to control the DXR2 driver.</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1963 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1964 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1965
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1966 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1967 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
1968 default settings should work for everybody. The OSD may be usable with the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1969 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
1970 settings you may get variable results, usually you will see the colorkey
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1971 around the characters or some other funny effect. But if you properly adjust
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1972 the colorkey settings you should be able to get acceptable results.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1973 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1974
11731
diego
parents: 11713
diff changeset
1975 <para>Please see the man page for available options.</para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1976 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1977
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1978 <sect4 id="dxr3">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1979 <title>DXR3/Hollywood+</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1980 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1981 <application>MPlayer</application> supports hardware accelerated playback
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1982 with the Creative DXR3 and Sigma Designs Hollywood Plus cards. These cards
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1983 both use the em8300 MPEG decoder chip from Sigma Designs.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1984 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1985
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1986 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1987 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
1988 or later. You can find the drivers and installation instructions at the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1989 <ulink url="http://dxr3.sourceforge.net/">DXR3 &amp; Hollywood Plus for Linux</ulink>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1990 site. <filename>configure</filename> should detect your card automatically,
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1991 compilation should go without problems.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1992 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1993
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1994 <!-- FIXME: find a more clear presentation -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1995 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1996 <title>USAGE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1997 <varlistentry>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
1998 <term><option>-vo dxr3:prebuf:sync:norm=x:<replaceable>device</replaceable></option></term>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1999 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2000 <option>overlay</option> activates the overlay instead of TVOut. It requires
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2001 that you have a properly configured overlay setup to work right. The easiest
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2002 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
2003 dxr3 output and without overlay turned on, run dxr3view. In dxr3view you can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2004 tweak the overlay settings and see the effects in realtime, perhaps this feature
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2005 will be supported by the <application>MPlayer</application> GUI in the future.
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2006 When overlay is properly set up you will no longer need to use dxr3view.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2007 <option>prebuf</option> turns on prebuffering. Prebuffering is a feature of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2008 em8300 chip that enables it to hold more than one frame of video at a time. This
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2009 means that when you are running with prebuffering <application>MPlayer</application>
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2010 will try to keep the video buffer filled with data at all times. If you are on
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2011 a slow machine <application>MPlayer</application> will probably use close to,
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2012 or precisely 100% of CPU. This is especially common if you play pure MPEG streams
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2013 (like DVDs, SVCDs a.s.o.) since <application>MPlayer</application> will not have
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2014 to reencode it to MPEG it will fill the buffer very fast.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2015 With prebuffering video playback is <emphasis role="bold">much</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2016 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
2017 applications hog the CPU for a long time.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2018 When running without prebuffering the em8300 is much more sensitive to CPU load,
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2019 so it is highly suggested that you turn on <application>MPlayer</application>'s
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2020 <option>-framedrop</option> option to avoid further loss of sync.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2021 <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
2022 experimental feature. With the sync feature turned on the em8300's internal clock
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2023 will be monitored at all times, if it starts to deviate from
12578
3f543ec01d1e 's should be outside of <application> tags.
diego
parents: 12401
diff changeset
2024 <application>MPlayer</application>'s clock it will be reset causing the em8300 to
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2025 drop any frames that are lagging behind.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2026 <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
2027 for external tools like em8300setup. Valid norms are 5 = NTSC, 4 = PAL-60,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2028 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
2029 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
2030 rate of the movie. norm = 0 (default) does not change the current norm.
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
2031 <option><replaceable>device</replaceable></option> = device number to use if you have more than one em8300
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2032 card.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2033 Any of these options may be left out.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2034 <option>:prebuf:sync</option> seems to work great when playing DivX movies. People
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2035 have reported problems using the prebuf option when playing MPEG1/2 files. You
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2036 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
2037 or DVD subtitle problems, give <option>:sync</option> a try.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2038 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2039 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2040
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2041 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2042 <term><option>-ao oss:/dev/em8300_ma-<replaceable>X</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2043 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2044 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
2045 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2046 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2047
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2048 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2049 <term><option>-aop list=resample:fout=<replaceable>xxxxx</replaceable></option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2050 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2051 The em8300 cannot play back samplerates lower than 44100Hz. If the sample
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2052 rate is below 44100Hz select either 44100Hz or 48000Hz depending on which
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2053 one matches closest. I.e. if the movie uses 22050Hz use 44100Hz as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2054 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
2055 This does not work with digital audio output (<option>-ac hwac3</option>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2056 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2057 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2058
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2059 <varlistentry>
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
2060 <term><option>-vf lavc/fame</option></term>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2061 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2062 To watch non-MPEG content on the em8300 (i.e. DivX or RealVideo) you have to
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
2063 specify an MPEG1 video filter such as
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
2064 <systemitem class="library">libavcodec</systemitem> (lavc) or
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
2065 <systemitem class="library">libfame</systemitem> (fame). At
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2066 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
2067 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
2068 info about <option>-vf lavc/fame</option>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2069 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
2070 of the em8300 which means that it is fixed to 29.97fps. Because of this it is
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
2071 highly recommended that you use <option>-vf lavc=<replaceable>quality</replaceable>:25</option>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2072 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
2073 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
2074 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
2075 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
2076 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2077 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2078
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2079 <varlistentry>
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
2080 <term><option>-vf expand=-1:-1:-1:-1:1</option></term>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2081 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2082 Although the DXR3 driver can put some OSD onto the MPEG1/2/4 video, it has
12578
3f543ec01d1e 's should be outside of <application> tags.
diego
parents: 12401
diff changeset
2083 much lower quality than <application>MPlayer</application>'s traditional OSD,
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2084 and has several refresh problems as well. The command line above will firstly
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2085 convert the input video to MPEG4 (this is mandatory, sorry), then apply an
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2086 expand filter which won't expand anything (-1: default), but apply the normal
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2087 OSD onto the picture (that's what the "1" at the end does).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2088 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2089 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2090
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2091 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2092 <term><option>-ac hwac3</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2093 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2094 The em8300 supports playing back AC3 audio (surround sound) through the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2095 digital audio output of the card. See the <option>-ao oss</option> option above,
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2096 it must be used to specify the DXR3's output instead of a sound card.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2097 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2098 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2099 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2100 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2101
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2102 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2103
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2104 <sect3 id="other">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2105 <title>Other visualization hardware</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2106
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2107 <sect4 id="zr">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2108 <title>Zr</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2109
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 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
2112 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
2113 LML33, the DC10). The driver works by encoding the frame to JPEG and then
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
2114 sending it to the card. For the JPEG encoding
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11738
diff changeset
2115 <systemitem class="library">libavcodec</systemitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2116 is used, and required. With the special <emphasis>cinerama</emphasis> mode,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2117 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
2118 and two MJPEG cards. Depending on resolution and quality settings, this driver
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2119 may require a lot of CPU power, remember to specify <option>-framedrop</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2120 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
2121 <option>-framedrop</option>) quite adequate for watching VCD sized material and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2122 downscaled movies.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2123 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2124
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2125 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2126 This driver talks to the kernel driver available at
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2127 <ulink url="http://mjpeg.sourceforge.net"/>, so
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2128 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
2129 <filename>configure</filename> script, if autodetection fails, force detection with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2130 <screen>./configure --enable-zr</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2131 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2132 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2133 The output can be controlled by several options, a long description of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2134 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
2135 by running
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2136 <screen>mplayer -zrhelp</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2137 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2138
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2139 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2140 Things like scaling and the OSD (on screen display) are not handled by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2141 this driver but can be done using the video filters. For example, suppose
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2142 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
2143 fullscreen on your DC10+. There are three main possibilities, you may scale
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2144 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
2145 I would choose to scale the movie to 384x204 using the fast bilinear software
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2146 scaler. The command line is
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2147 <screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2148 mplayer -vo zr -sws 0 -vf scale=384:204 <replaceable>movie.avi</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2149 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2150 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2151
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2152 <para>
11214
c292ff78614f Filters should be in <option> tags.
wight
parents: 11136
diff changeset
2153 Cropping can be done by the <option>crop</option> filter and by this
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2154 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
2155 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
2156 then you would issue the following command
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2157 <screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2158 mplayer -vo zr -zrcrop 720x320+80+0 <replaceable>benhur.avi</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2159 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2160 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2161
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2162 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
2163 if you want to use the <option>crop</option> filter, you would do
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2164 <screen>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2165 mplayer -vo zr -vf crop=720:320:80:0 <replaceable>benhur.avi</replaceable>
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2166 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2167 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2168
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2169 <para>
10975
96cd8d4e98d4 Typos and some confusion noticed by Lukasz frogu Proszek <l_j_p@wp.pl>.
diego
parents: 10971
diff changeset
2170 Extra occurrences of <option>-zrcrop</option> invoke <emphasis>cinerama</emphasis>
96cd8d4e98d4 Typos and some confusion noticed by Lukasz frogu Proszek <l_j_p@wp.pl>.
diego
parents: 10971
diff changeset
2171 mode, i.e. you can distribute the movie over several TV's or beamers to create a
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2172 larger screen. Suppose you have two beamers. The left one is connected to your
11359
496ff2403aac buglets and consistency improvements
diego
parents: 11358
diff changeset
2173 Buz at <filename>/dev/video1</filename> and the right one is connected to
496ff2403aac buglets and consistency improvements
diego
parents: 11358
diff changeset
2174 your DC10+ at <filename>/dev/video0</filename>. The movie has a resolution
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2175 of 704x288. Suppose also that you want the right beamer in black and white and
10975
96cd8d4e98d4 Typos and some confusion noticed by Lukasz frogu Proszek <l_j_p@wp.pl>.
diego
parents: 10971
diff changeset
2176 that the left beamer should have JPEG frames at quality 10, then you would
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2177 issue the following command
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2178 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2179 mplayer -vo zr -zrdev /dev/video0 -zrcrop 352x288+352+0 -zrxdoff 0 -zrbw \
11713
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2180 -zrcrop 352x288+0+0 -zrdev /dev/video1 -zrquality 10 \
a1bc8133084a <replaceable> tags' attack :P
paszczi
parents: 11540
diff changeset
2181 <replaceable>movie.avi</replaceable>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2182 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2183 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2184
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2185 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2186 You see that the options appearing before the second <option>-zrcrop</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2187 only apply to the DC10+ and that the options after the second
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2188 <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
2189 participating in <emphasis>cinerama</emphasis> is four, so you can build a
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2190 2x2 vidiwall.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2191 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2192
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2193 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
2194 Finally an important remark: Do not start or stop XawTV on the playback device
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2195 during playback, it will crash your computer. It is, however, fine to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2196 <emphasis role="bold">FIRST</emphasis> start XawTV, <emphasis role="bold">THEN</emphasis>
11540
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2197 start <application>MPlayer</application>, wait for <application>MPlayer</application>
d480f7e36b74 <application> attack
wight
parents: 11524
diff changeset
2198 to finish and <emphasis role="bold">THEN</emphasis> stop XawTV.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2199 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2200 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2201
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2202 <sect4 id="blinkenlights">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2203 <title>Blinkenlights</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2204 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2205 This driver is capable of playback using the Blinkenlights UDP protocol. If you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2206 don't know what <ulink url="http://www.blinkenlights.de/">Blinkenlights</ulink>
12401
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
2207 or its successor
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
2208 <ulink url="http://www.blinkenlights.de/arcade/">Arcade</ulink>
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
2209 are, find it out. Although this is most probably the least used video output
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
2210 driver, without a doubt it is the coolest <application>MPlayer</application>
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
2211 has to offer. Just watch some of the
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
2212 <ulink url="http://www.blinkenlights.de/video.en.html">Blinkenlights documentation videos</ulink>.
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
2213 On the Arcade video you can see the Blinkenlights output driver in
c704b145c62a Blinkenlights section expanded.
diego
parents: 12364
diff changeset
2214 action at 00:07:50.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2215 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2216 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2217 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2218
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2219 <sect3 id="tvout">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2220 <title>TV-out support</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2221
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2222 <sect4 id="tvout-mga-g400">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2223 <title>Matrox G400 cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2224
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2225 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2226 Under Linux you have two methods to get G400 TV out working:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2227 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2228
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2229 <important>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2230 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2231 for Matrox G450/G550 TV-out instructions, please see the next section!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2232 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2233 </important>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2234
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2235 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2236 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2237 <term>XFree86</term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2238 <listitem><para>
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2239 Using the driver and the HAL module, available from the <ulink
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2240 url="http://www.matrox.com">Matrox site</ulink>. This will give you X
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2241 on the TV.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2242 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2243 <emphasis role="bold">This method doesn't give you accelerated playback</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2244 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
2245 (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
2246 work on it! The windows driver somehow workarounds this, probably by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2247 using the 3D engine to zoom, and the YUV framebuffer to display the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2248 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
2249 -zoom</option> options, but it will be <emphasis role="bold">SLOW</emphasis>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2250 and has <emphasis role="bold">Macrovision</emphasis> copy protection enabled
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2251 (you can "workaround" Macrovision using this
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
2252 <ulink url="http://avifile.sourceforge.net/mgamacro.pl">perl script</ulink>).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2253 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2254 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2255 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2256 <term>Framebuffer</term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2257 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2258 Using the <emphasis role="bold">matroxfb modules</emphasis> in the 2.4
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2259 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
2260 for this. You have to enable ALL matroxfb-specific feature during compilation
10254
nicolas
parents: 10132
diff changeset
2261 (except MultiHead), and compile them into <emphasis role="bold">modules</emphasis>!
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2262 You'll also need I2C enabled.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2263 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2264
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2265 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2266 <step><para>
11499
8f3305688c21 double nVidia VIDIx link removed
wight
parents: 11497
diff changeset
2267 Enter <filename class="directory">TVout</filename> and type
8f3305688c21 double nVidia VIDIx link removed
wight
parents: 11497
diff changeset
2268 <command>./compile.sh</command>. Install
11521
90b0a1517ac7 Executables are not directories, improved wording.
diego
parents: 11520
diff changeset
2269 <filename>TVout/matroxset/matroxset</filename>
90b0a1517ac7 Executables are not directories, improved wording.
diego
parents: 11520
diff changeset
2270 somewhere into your <envar>PATH</envar>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2271 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2272 <step><para>
11499
8f3305688c21 double nVidia VIDIx link removed
wight
parents: 11497
diff changeset
2273 If you don't have <command>fbset</command> installed, put
11521
90b0a1517ac7 Executables are not directories, improved wording.
diego
parents: 11520
diff changeset
2274 <filename>TVout/fbset/fbset</filename>
90b0a1517ac7 Executables are not directories, improved wording.
diego
parents: 11520
diff changeset
2275 somewhere into your <envar>PATH</envar>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2276 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2277 <step><para>
11499
8f3305688c21 double nVidia VIDIx link removed
wight
parents: 11497
diff changeset
2278 If you don't have <command>con2fb</command> installed, put
11521
90b0a1517ac7 Executables are not directories, improved wording.
diego
parents: 11520
diff changeset
2279 <filename>TVout/con2fb/con2fb</filename>
90b0a1517ac7 Executables are not directories, improved wording.
diego
parents: 11520
diff changeset
2280 somewhere into your <envar>PATH</envar>.
10254
nicolas
parents: 10132
diff changeset
2281 </para></step>
nicolas
parents: 10132
diff changeset
2282 <step><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2283 Then enter into the <filename class="directory">TVout/</filename> directory
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2284 in the <application>MPlayer</application> source, and execute
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2285 <filename>./modules</filename> as root. Your text-mode console will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2286 enter into framebuffer mode (no way back!).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2287 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2288 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2289 Next, EDIT and run the <filename>./matroxtv</filename> script. This will
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2290 present you to a very simple menu. Press <keycap>2</keycap> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2291 <keycap>Enter</keycap>. Now you should have the same picture on your
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
2292 monitor, and TV. If the TV (PAL by default)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2293 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
2294 resolution correctly (to 640x512 by default). Try other resolutions
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2295 from the menu and/or experiment with fbset.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2296 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2297 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2298 Yoh. Next task is to make the cursor on tty1 (or whatever) to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2299 disappear, and turn off screen blanking. Execute the following
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2300 commands:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2301
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2302 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2303 echo -e '\033[?25l'
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2304 setterm -blank 0<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2305 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2306 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2307 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2308 setterm -cursor off
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2309 setterm -blank 0<!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2310 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2311
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2312 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
2313 screen. To turn the cursor back:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2314 <screen>echo -e '\033[?25h'</screen> or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2315 <screen>setterm -cursor on</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2316 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2317 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2318 Yeah kewl. Start movie playing with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2319 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2320 mplayer -vo mga -fs -screenw 640 -screenh 512 <replaceable>filename</replaceable><!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2321 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2322
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2323 (If you use X, now change to matroxfb with for example
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2324 <keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>F1</keycap>.)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2325 Change <literal>640</literal> and <literal>512</literal> if you set
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2326 the resolution to other...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2327 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2328 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2329 <emphasis role="bold">Enjoy the ultra-fast ultra-featured Matrox TV
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2330 output (better than Xv)!</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2331 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2332 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2333 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2334 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2335 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2336
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2337 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2338 <title>Building a Matrox TV-out cable</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2339 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2340 No one takes any responsibility, nor guarantee for any damage caused
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2341 by this documentation.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2342 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2343 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2344
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2345 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2346 <title>Cable for G400</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2347 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2348 The CRTC2 connector's fourth pin is the composite video signal. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2349 ground are the sixth, seventh and eighth pins. (info contributed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2350 from Balázs Rácz)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2351 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2352 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2353
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2354 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2355 <title>Cable for G450</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2356 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2357 The CRTC2 connector's first pin is the composite video signal. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2358 ground are the fifth, sixth, seventh, and fifteenth (5, 6, 7, 15)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2359 pins. (info contributed from Balázs Kerekes)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2360 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2361 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2362 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2363
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2364 <sect4 id="tv-out_matrox_g450">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2365 <title>Matrox G450/G550 cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2366 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2367 TV output support for these cards has only been recently introduced, and is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2368 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
2369 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
2370 configuration: the first CRTC chip (with much more features) on the first display
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2371 (on monitor), and the second CRTC (no <emphasis role="bold">BES</emphasis> - for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2372 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
2373 use <application>MPlayer</application>'s <emphasis>fbdev</emphasis> output driver
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2374 at the present.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2375 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2376
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2377 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2378 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
2379 kernel matroxfb driver - Petr Vandrovec - will maybe make support for this, by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2380 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
2381 recommended for G400, see the section above.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2382 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2383
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2384 <para>
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2385 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
2386 <ulink url="http://www.bglug.ca/matrox_tvout/"/>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2387 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2388 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2389
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2390
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2391 <sect4 id="tvout-ati">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2392 <title>ATI cards</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2393
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2394 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2395 <title>PREAMBLE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2396 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2397 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
2398 because of their licensed Macrovision technology.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2399 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2400 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2401
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2402 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2403 <title>ATI CARDS TV-OUT STATUS ON LINUX</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2404 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2405 <emphasis role="bold">ATI Mach64</emphasis>:
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2406 supported by <ulink url="http://gatos.sf.net">GATOS</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2407 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2408 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2409 <emphasis role="bold">ASIC Radeon VIVO</emphasis>:
12349
1deefcd5428d spelling
diego
parents: 12310
diff changeset
2410 supported by <ulink url="http://gatos.sf.net">GATOS</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2411 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2412 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2413 <emphasis role="bold">Radeon</emphasis> and <emphasis role="bold">Rage128</emphasis>:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2414 supported by <application>MPlayer</application>!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2415 Check <link linkend="vesa">VESA driver</link> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2416 <link linkend="vidix">VIDIX</link> sections.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2417 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2418 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2419 <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
2420 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
2421 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2422 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2423
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2424 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2425 On other cards, just use the <link linkend="vesa">VESA</link> driver,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2426 without VIDIX. Powerful CPU is needed, though.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2427 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2428
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2429 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2430 Only thing you need to do - <emphasis role="bold">Have the TV connector
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2431 plugged in before booting your PC</emphasis> since video BIOS initializes
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2432 itself only once during POST procedure.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2433 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2434 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2435
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2436
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2437 <sect4 id="tvout-voodoo">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2438 <title>Voodoo 3</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2439 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2440 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
2441 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2442 </sect4>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2443
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2444 <sect4 id="tvout-nvidia">
10111
a570a78537aa various fixes and updates
nicolas
parents: 10076
diff changeset
2445 <title>nVidia</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2446 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2447 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
2448 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
2449 the scope of this documentation.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2450 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2451
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2452 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2453 After XFree86, XVideo, and 3D acceleration is properly working, edit your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2454 card's Device section in the <filename>XF86Config</filename> file, according
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2455 to the following example (adapt for your card/TV):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2456
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2457 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2458 Section "Device"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2459 Identifier "GeForce"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2460 VendorName "ASUS"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2461 BoardName "nVidia GeForce2/MX 400"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2462 Driver "nvidia"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2463 #Option "NvAGP" "1"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2464 Option "NoLogo"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2465 Option "CursorShadow" "on"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2466
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2467 Option "TwinView"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2468 Option "TwinViewOrientation" "Clone"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2469 Option "MetaModes" "1024x768,640x480"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2470 Option "ConnectedMonitor" "CRT, TV"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2471 Option "TVStandard" "PAL-B"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2472 Option "TVOutFormat" "Composite"
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2473
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2474 EndSection
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2475 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2476 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2477
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2478 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2479 Of course the important thing is the TwinView part.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2480 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2481 </sect4>
11264
20fd71b7edb4 Neomagic TVout experiences...
gabucino
parents: 11214
diff changeset
2482
20fd71b7edb4 Neomagic TVout experiences...
gabucino
parents: 11214
diff changeset
2483 <sect4 id="tvout-neomagic">
20fd71b7edb4 Neomagic TVout experiences...
gabucino
parents: 11214
diff changeset
2484 <title>Neomagic</title>
20fd71b7edb4 Neomagic TVout experiences...
gabucino
parents: 11214
diff changeset
2485 <para>
12757
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2486 The Neomagic chip is found in a variety of laptops, some of them are equipped
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2487 with a simple analog TV encoder, some have a more advanced one.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2488 <itemizedlist>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2489 <listitem><simpara>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2490 <emphasis role="bold">Analog encoder chip</emphasis>:
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2491 Tested on a Toshiba Tecra 8000. Its TV output chip is miserable crap. Avoid
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2492 if possible.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2493 </simpara> <simpara>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2494 You must use <option>-vo vesa</option>. The tested chip was capable of
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2495 1.333333 aspect ratio only, so be sure to use the <option>-x</option>,
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2496 <option>-y</option> options and/or the
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2497 <option>-vf scale,crop,expand</option> filters if the box doesn't let
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2498 you enable TV output. Maximum resolution was 720*576 at 16bpp.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2499 </simpara>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2500 <simpara>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2501 Known issues: VESA-only, 1.33333 limitation, image isn't always centered,
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2502 movie becomes 4bpp in every 10 minutes, and stays that way. Frequent hard
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2503 freezes, LCD display problems.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2504 </simpara></listitem>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2505 <listitem><simpara>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2506 <emphasis role="bold">Chrontel 70xx encoder chip</emphasis>:
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2507 Found in IBM Thinkpad 390E and possibly other Thinkpads or notebooks.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2508 </simpara><simpara>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2509 You must use <option>-vo vesa:neotv_pal</option> for PAL or
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2510 <option>-vo vesa:neotv_ntsc</option> for NTSC.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2511 It will provide TV output function in the following 16 bpp and 8 bpp modes:
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2512 </simpara>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2513 <itemizedlist>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2514 <listitem><simpara>NTSC 320x240, 640x480 and maybe 800x600 too.</simpara></listitem>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2515 <listitem><simpara>PAL 320x240, 400x300, 640x480, 800x600. </simpara></listitem>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2516 </itemizedlist>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2517 <simpara>Mode 512x384 is not supported in BIOS. You must scale the image
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2518 to a different resolution to activate TV out. If you can see an image on the
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2519 screen in 640x480 or in 800x600 but not in 320x240 or other smaller
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2520 resolution you need to replace two tables in <filename>vbelib.c</filename>.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2521 See the vbeSetTV function for details. Please contact the author in this case.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2522 </simpara>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2523 <simpara>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2524 Known issues: VESA-only, no other controls such as brightness, contrast,
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2525 blacklevel, flickfilter are implemented.
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2526 </simpara>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2527 </listitem>
8bcd91d9efd1 Neomagic TV out support docs by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
diego
parents: 12578
diff changeset
2528 </itemizedlist>
11264
20fd71b7edb4 Neomagic TVout experiences...
gabucino
parents: 11214
diff changeset
2529 </para>
20fd71b7edb4 Neomagic TVout experiences...
gabucino
parents: 11214
diff changeset
2530 </sect4>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2531 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
2532 </sect2>