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