comparison DOCS/video.html @ 7814:988498df1996

<B>MPlayer</B> ---> MPlayer
author diego
date Sun, 20 Oct 2002 12:20:39 +0000
parents 6d8b4a1adb9d
children 33e4345d6dd6
comparison
equal deleted inserted replaced
7813:76940a39405a 7814:988498df1996
121 number of planes: 3 121 number of planes: 3
122 type: YUV (planar) 122 type: YUV (planar)
123 (...etc...) 123 (...etc...)
124 </PRE> 124 </PRE>
125 <P>It must support YUY2 packed, and YV12 planar pixel formats to be 125 <P>It must support YUY2 packed, and YV12 planar pixel formats to be
126 usable with <B>MPlayer</B>.</P> 126 usable with MPlayer.</P>
127 </LI> 127 </LI>
128 <LI>And finally, check if <B>MPlayer</B> was compiled with 'xv' support. 128 <LI>And finally, check if MPlayer was compiled with 'xv' support.
129 ./configure prints this.</LI> 129 ./configure prints this.</LI>
130 </UL> 130 </UL>
131 131
132 132
133 <H5><A NAME="xv_3dfx">2.3.1.2.1 3dfx cards</A></H5> 133 <H5><A NAME="xv_3dfx">2.3.1.2.1 3dfx cards</A></H5>
177 should use, unless you have Rage128 or Radeon) has VSYNC enabled by 177 should use, unless you have Rage128 or Radeon) has VSYNC enabled by
178 default. It means that decoding speed (!) is synced to the monitor's 178 default. It means that decoding speed (!) is synced to the monitor's
179 refresh rate. If playing seems to be slow, try disabling VSYNC somehow, or 179 refresh rate. If playing seems to be slow, try disabling VSYNC somehow, or
180 set refresh rate to n*(fps of the movie) Hz.</LI> 180 set refresh rate to n*(fps of the movie) Hz.</LI>
181 <LI>Radeon VE - currently only XFree86 CVS has driver for this card, version 181 <LI>Radeon VE - currently only XFree86 CVS has driver for this card, version
182 4.1.0 doesn't. And no TV out support. Of course with <B>MPlayer</B> you can 182 4.1.0 doesn't. And no TV out support. Of course with MPlayer you can
183 happily get <B>accelerated</B> display, with or without <B>TV output</B>, and 183 happily get <B>accelerated</B> display, with or without <B>TV output</B>, and
184 no libraries or X are needed. Read <A HREF="#vidix">Vidix</A> section.</LI> 184 no libraries or X are needed. Read <A HREF="#vidix">Vidix</A> section.</LI>
185 </UL> 185 </UL>
186 186
187 187
213 213
214 214
215 <H5><A NAME="dga_summary">2.3.1.3.1 Summary</A></H5> 215 <H5><A NAME="dga_summary">2.3.1.3.1 Summary</A></H5>
216 216
217 <P>This document tries to explain in some words what DGA is in general and what 217 <P>This document tries to explain in some words what DGA is in general and what
218 the DGA video output driver for <B>MPlayer</B> can do (and what it 218 the DGA video output driver for MPlayer can do (and what it
219 can't).</P> 219 can't).</P>
220 220
221 221
222 <H5><A NAME="dga_whatis">2.3.1.3.2 What is DGA</A></H5> 222 <H5><A NAME="dga_whatis">2.3.1.3.2 What is DGA</A></H5>
223 223
224 <P>DGA is short for Direct Graphics Access and is a means for a program to 224 <P>DGA is short for Direct Graphics Access and is a means for a program to
225 bypass the X-Server and directly modifying the framebuffer memory. 225 bypass the X-Server and directly modifying the framebuffer memory.
226 Technically spoken this happens by mapping the framebuffer memory into 226 Technically spoken this happens by mapping the framebuffer memory into
227 the memory range of your process. This is allowed by the kernel only 227 the memory range of your process. This is allowed by the kernel only
228 if you have superuser privileges. You can get these either by logging in 228 if you have superuser privileges. You can get these either by logging in
229 as root or by setting the SUID bit on the <B>MPlayer</B> executable (<B>not 229 as root or by setting the SUID bit on the MPlayer executable (<B>not
230 recommended</B>).</P> 230 recommended</B>).</P>
231 231
232 <P>There are two versions of DGA: DGA1 is used by XFree 3.x.x and DGA2 was 232 <P>There are two versions of DGA: DGA1 is used by XFree 3.x.x and DGA2 was
233 introduced with XFree 4.0.1.</P> 233 introduced with XFree 4.0.1.</P>
234 234
250 250
251 <P>First make sure X loads the DGA extension, see in /var/log/XFree86.0.log:</P> 251 <P>First make sure X loads the DGA extension, see in /var/log/XFree86.0.log:</P>
252 252
253 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>(II) Loading extension XFree86-DGA</CODE></P> 253 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>(II) Loading extension XFree86-DGA</CODE></P>
254 254
255 <P>See, XFree86 4.0.x or greater is VERY RECOMMENDED! <B>MPlayer</B>'s DGA 255 <P>See, XFree86 4.0.x or greater is VERY RECOMMENDED! MPlayer's DGA
256 driver is autodetected on ./configure, or you can force it with 256 driver is autodetected on ./configure, or you can force it with
257 --enable-dga.</P> 257 --enable-dga.</P>
258 258
259 <P>If the driver couldn't switch to a smaller resolution, experiment with 259 <P>If the driver couldn't switch to a smaller resolution, experiment with
260 switches -vm (only with X 3.3.x), -fs, -bpp, -zoom to find a video mode that 260 switches -vm (only with X 3.3.x), -fs, -bpp, -zoom to find a video mode that
261 the movie fits in. There is no converter right now :(</P> 261 the movie fits in. There is no converter right now :(</P>
262 262
263 <P>Become root. DGA needs root access to be able to write directly to video 263 <P>Become root. DGA needs root access to be able to write directly to video
264 memory. If you want to run it as user, then install <B>MPlayer</B> SUID 264 memory. If you want to run it as user, then install MPlayer SUID
265 root:</P> 265 root:</P>
266 266
267 <P><CODE> 267 <P><CODE>
268 &nbsp;&nbsp;&nbsp;&nbsp;chown root /usr/local/bin/mplayer<BR> 268 &nbsp;&nbsp;&nbsp;&nbsp;chown root /usr/local/bin/mplayer<BR>
269 &nbsp;&nbsp;&nbsp;&nbsp;chmod 750 /usr/local/bin/mplayer<BR> 269 &nbsp;&nbsp;&nbsp;&nbsp;chmod 750 /usr/local/bin/mplayer<BR>
273 273
274 <BLOCKQUOTE> 274 <BLOCKQUOTE>
275 <B>Warning: security risk</B><BR> 275 <B>Warning: security risk</B><BR>
276 This is a <B>big</B> security risk! <B>Never</B> do this on a server or on 276 This is a <B>big</B> security risk! <B>Never</B> do this on a server or on
277 a computer that can be accessed by other people because they can gain root 277 a computer that can be accessed by other people because they can gain root
278 privileges through SUID root <B>MPlayer</B>. 278 privileges through SUID root MPlayer.
279 </BLOCKQUOTE> 279 </BLOCKQUOTE>
280 280
281 <P>Now use the <CODE>-vo dga</CODE> option, and there you go (hope so :))! 281 <P>Now use the <CODE>-vo dga</CODE> option, and there you go (hope so :))!
282 You should also try if the <CODE>-vo sdl:dga</CODE> option works for you. It's 282 You should also try if the <CODE>-vo sdl:dga</CODE> option works for you. It's
283 much faster.</P> 283 much faster.</P>
301 <P>See appendix A for some sample modeline definitions.</P> 301 <P>See appendix A for some sample modeline definitions.</P>
302 302
303 303
304 <H5><A NAME="dga_mplayer">2.3.1.3.5 DGA &amp; MPlayer</A></H5> 304 <H5><A NAME="dga_mplayer">2.3.1.3.5 DGA &amp; MPlayer</A></H5>
305 305
306 <P>DGA is used in two places with <B>MPlayer</B>: The SDL driver can be made to 306 <P>DGA is used in two places with MPlayer: The SDL driver can be made to
307 make use of it (-vo sdl:dga) and within the DGA driver (-vo dga). The above 307 make use of it (-vo sdl:dga) and within the DGA driver (-vo dga). The above
308 said is true for both; in the following sections I'll explain how the DGA 308 said is true for both; in the following sections I'll explain how the DGA
309 driver for <B>MPlayer</B> works.</P> 309 driver for MPlayer works.</P>
310 310
311 311
312 <H5><A NAME="dga_features">2.3.1.3.6 Features of the DGA driver</A></H5> 312 <H5><A NAME="dga_features">2.3.1.3.6 Features of the DGA driver</A></H5>
313 313
314 <P>The DGA driver is invoked by specifying -vo dga at the command line. 314 <P>The DGA driver is invoked by specifying -vo dga at the command line.
350 350
351 <H5><A NAME="dga_speed">2.3.1.3.7 Speed issues</A></H5> 351 <H5><A NAME="dga_speed">2.3.1.3.7 Speed issues</A></H5>
352 352
353 <P>Generally spoken, DGA framebuffer access should be at least as fast as using 353 <P>Generally spoken, DGA framebuffer access should be at least as fast as using
354 the X11 driver with the additional benefit of getting a fullscreen image. 354 the X11 driver with the additional benefit of getting a fullscreen image.
355 The percentage speed values printed by <B>MPlayer</B> have to be interpreted 355 The percentage speed values printed by MPlayer have to be interpreted
356 with some care, as for example, with the X11 driver they do not include the 356 with some care, as for example, with the X11 driver they do not include the
357 time used by the X-Server needed for the actual drawing. Hook a terminal to a 357 time used by the X-Server needed for the actual drawing. Hook a terminal to a
358 serial line of your box and start top to see what is really going on in your 358 serial line of your box and start top to see what is really going on in your
359 box...</P> 359 box...</P>
360 360
424 424
425 425
426 <H5><A NAME="dga_bug_reports">2.3.1.3.B Bug Reports</A></H5> 426 <H5><A NAME="dga_bug_reports">2.3.1.3.B Bug Reports</A></H5>
427 427
428 <P>If you experience troubles with the DGA driver please feel free to file 428 <P>If you experience troubles with the DGA driver please feel free to file
429 a bug report to me (e-mail address below). Please start <B>MPlayer</B> with 429 a bug report to me (e-mail address below). Please start MPlayer with
430 the -v option and include all lines in the bug report that start with 430 the -v option and include all lines in the bug report that start with
431 vo_dga:</P> 431 vo_dga:</P>
432 432
433 <P>Please do also include the version of X11 you are using, the graphics card 433 <P>Please do also include the version of X11 you are using, the graphics card
434 and your CPU type. The X11 driver module (defined in XF86-Config) might 434 and your CPU type. The X11 driver module (defined in XF86-Config) might
444 or audio driver does SDL actually use. For example a Doom port using SDL can 444 or audio driver does SDL actually use. For example a Doom port using SDL can
445 run on svgalib, aalib, X, fbdev, and others, you only have to specify the 445 run on svgalib, aalib, X, fbdev, and others, you only have to specify the
446 (for example) video driver to use with the SDL_VIDEODRIVER environment 446 (for example) video driver to use with the SDL_VIDEODRIVER environment
447 variable. Well, in theory.</P> 447 variable. Well, in theory.</P>
448 448
449 <P>With <B>MPlayer</B>, we used its X11 driver's software scaler ability for 449 <P>With MPlayer, we used its X11 driver's software scaler ability for
450 cards/drivers that doesn't support XVideo, until we made our own (faster, 450 cards/drivers that doesn't support XVideo, until we made our own (faster,
451 nicer) software scaler. Also we used its aalib output, but now we have ours 451 nicer) software scaler. Also we used its aalib output, but now we have ours
452 which is more comfortable. Its DGA mode was better than ours, until 452 which is more comfortable. Its DGA mode was better than ours, until
453 recently. Get it now? :)</P> 453 recently. Get it now? :)</P>
454 454
492 <H4><A NAME="svgalib">2.3.1.5 SVGAlib</A></H4> 492 <H4><A NAME="svgalib">2.3.1.5 SVGAlib</A></H4>
493 493
494 <H4>Installation</H4> 494 <H4>Installation</H4>
495 495
496 <P>You'll have to install svgalib and its development package in order for 496 <P>You'll have to install svgalib and its development package in order for
497 <B>MPlayer</B> build its SVGAlib driver (autodetected, but can be forced), 497 MPlayer build its SVGAlib driver (autodetected, but can be forced),
498 and don't forget to edit /etc/vga/libvga.config to suit your card &amp; 498 and don't forget to edit /etc/vga/libvga.config to suit your card &amp;
499 monitor.</P> 499 monitor.</P>
500 500
501 <H4>Notes</H4> 501 <H4>Notes</H4>
502 502
504 scaler, and it's slow. If you really need it, use the <CODE>-sws 4</CODE> 504 scaler, and it's slow. If you really need it, use the <CODE>-sws 4</CODE>
505 option which will produce bad quality, but is somewhat faster.</P> 505 option which will produce bad quality, but is somewhat faster.</P>
506 506
507 <H4>EGA (4bpp) support</H4> 507 <H4>EGA (4bpp) support</H4>
508 508
509 <P>SVGAlib incorporates EGAlib, and <B>MPlayer</B> has the possibility to 509 <P>SVGAlib incorporates EGAlib, and MPlayer has the possibility to
510 display any movie in 16 colors, thus usable in the following sets:</P> 510 display any movie in 16 colors, thus usable in the following sets:</P>
511 511
512 <UL> 512 <UL>
513 <LI>EGA card with EGA monitor: 320x200x4bpp, 640x200x4bpp, 640x350x4bpp</LI> 513 <LI>EGA card with EGA monitor: 320x200x4bpp, 640x200x4bpp, 640x350x4bpp</LI>
514 <LI>EGA card with CGA monitor: 320x200x4bpp, 640x200x4bpp</LI> 514 <LI>EGA card with CGA monitor: 320x200x4bpp, 640x200x4bpp</LI>
573 To turn the cursor back on: <CODE>echo -e '\033[?25h'</CODE> 573 To turn the cursor back on: <CODE>echo -e '\033[?25h'</CODE>
574 or <CODE>setterm -cursor on</CODE></LI> 574 or <CODE>setterm -cursor on</CODE></LI>
575 </UL> 575 </UL>
576 576
577 <P>NOTE: FBdev video mode changing _does not work_ with the VESA framebuffer, 577 <P>NOTE: FBdev video mode changing _does not work_ with the VESA framebuffer,
578 and don't ask for it, since it's not an <B>MPlayer</B> limitation.</P> 578 and don't ask for it, since it's not an MPlayer limitation.</P>
579 579
580 580
581 <H4><A NAME="mga_vid">2.3.1.7 Matrox framebuffer (mga_vid)</A></H4> 581 <H4><A NAME="mga_vid">2.3.1.7 Matrox framebuffer (mga_vid)</A></H4>
582 582
583 <P>This section is about the Matrox G200/G400/G450/G550 BES (Back-End Scaler) 583 <P>This section is about the Matrox G200/G400/G450/G550 BES (Back-End Scaler)
606 <P><CODE>alias char-major-178 mga_vid</CODE></P> 606 <P><CODE>alias char-major-178 mga_vid</CODE></P>
607 <P>Then copy the <CODE>mga_vid.o</CODE> module to the appropriate place 607 <P>Then copy the <CODE>mga_vid.o</CODE> module to the appropriate place
608 under <CODE>/lib/modules/&lt;kernel version&gt;/somewhere</CODE>.</P> 608 under <CODE>/lib/modules/&lt;kernel version&gt;/somewhere</CODE>.</P>
609 <P>Then run</P> 609 <P>Then run</P>
610 <P><CODE>depmod -a</CODE></P></LI> 610 <P><CODE>depmod -a</CODE></P></LI>
611 <LI>Now you have to (re)compile <B>MPlayer</B>, <CODE>configure</CODE> will 611 <LI>Now you have to (re)compile MPlayer, <CODE>configure</CODE> will
612 detect <CODE>/dev/mga_vid</CODE> and build the 'mga' driver. Using it from 612 detect <CODE>/dev/mga_vid</CODE> and build the 'mga' driver. Using it from
613 <B>MPlayer</B> goes by <CODE>-vo mga</CODE> if you have matroxfb console, 613 MPlayer goes by <CODE>-vo mga</CODE> if you have matroxfb console,
614 or <CODE>-vo xmga</CODE> under XFree86 3.x.x or 4.x.x.</LI> 614 or <CODE>-vo xmga</CODE> under XFree86 3.x.x or 4.x.x.</LI>
615 </OL> 615 </OL>
616 616
617 <P>The mga_vid driver cooperates with Xv.</P> 617 <P>The mga_vid driver cooperates with Xv.</P>
618 618
628 with <CODE>./configure --enable-tdfxfb</CODE></P> 628 with <CODE>./configure --enable-tdfxfb</CODE></P>
629 629
630 630
631 <H4><A NAME="opengl">2.3.1.9 OpenGL output</A></H4> 631 <H4><A NAME="opengl">2.3.1.9 OpenGL output</A></H4>
632 632
633 <P><B>MPlayer</B> supports displaying movies using OpenGL, but if your 633 <P>MPlayer supports displaying movies using OpenGL, but if your
634 platform/driver supports xv as should be the case on a PC with Linux, use xv 634 platform/driver supports xv as should be the case on a PC with Linux, use xv
635 instead, OpenGL performance is considerably worse. If you have an X11 635 instead, OpenGL performance is considerably worse. If you have an X11
636 implementation without xv support, OpenGL is a viable alternative.</P> 636 implementation without xv support, OpenGL is a viable alternative.</P>
637 637
638 <P>Unfortunately not all drivers support this feature. The Utah-GLX drivers 638 <P>Unfortunately not all drivers support this feature. The Utah-GLX drivers
648 648
649 <H4><A NAME="aalib">2.3.1.10 AAlib - text mode displaying</A></H4> 649 <H4><A NAME="aalib">2.3.1.10 AAlib - text mode displaying</A></H4>
650 650
651 <P><B>AAlib</B> is a library for displaying graphics in text mode, using powerful 651 <P><B>AAlib</B> is a library for displaying graphics in text mode, using powerful
652 ASCII renderer. There are LOTS of programs already supporting it, like Doom, 652 ASCII renderer. There are LOTS of programs already supporting it, like Doom,
653 Quake, etc. <B>MPlayer</B> contains a very usable driver for it. 653 Quake, etc. MPlayer contains a very usable driver for it.
654 If ./configure detects aalib installed, the aalib libvo driver will be 654 If ./configure detects aalib installed, the aalib libvo driver will be
655 built.</P> 655 built.</P>
656 656
657 <TABLE BORDER=0> 657 <TABLE BORDER=0>
658 <TR><TD COLSPAN=4><P><B>You can use some keys in the AA Window to change rendering options:</B></P></TD></TR> 658 <TR><TD COLSPAN=4><P><B>You can use some keys in the AA Window to change rendering options:</B></P></TD></TR>
661 <TR><TD></TD><TD><CODE>3</CODE></TD><TD></TD><TD>decrease brightness</TD></TR> 661 <TR><TD></TD><TD><CODE>3</CODE></TD><TD></TD><TD>decrease brightness</TD></TR>
662 <TR><TD></TD><TD><CODE>4</CODE></TD><TD></TD><TD>increase brightness</TD></TR> 662 <TR><TD></TD><TD><CODE>4</CODE></TD><TD></TD><TD>increase brightness</TD></TR>
663 <TR><TD></TD><TD><CODE>5</CODE></TD><TD></TD><TD>switch fast rendering on/off</TD></TR> 663 <TR><TD></TD><TD><CODE>5</CODE></TD><TD></TD><TD>switch fast rendering on/off</TD></TR>
664 <TR><TD></TD><TD><CODE>6</CODE></TD><TD></TD><TD>set dithering mode (none, error distribution, Floyd Steinberg)</TD></TR> 664 <TR><TD></TD><TD><CODE>6</CODE></TD><TD></TD><TD>set dithering mode (none, error distribution, Floyd Steinberg)</TD></TR>
665 <TR><TD></TD><TD><CODE>7</CODE></TD><TD></TD><TD>invert image</TD></TR> 665 <TR><TD></TD><TD><CODE>7</CODE></TD><TD></TD><TD>invert image</TD></TR>
666 <TR><TD></TD><TD><CODE>a</CODE></TD><TD></TD><TD>toggles between aa and <B>MPlayer</B> control)</TD></TR> 666 <TR><TD></TD><TD><CODE>a</CODE></TD><TD></TD><TD>toggles between aa and MPlayer control)</TD></TR>
667 </TABLE> 667 </TABLE>
668 668
669 <P><B>The following command line options can be used:</B></P> 669 <P><B>The following command line options can be used:</B></P>
670 <DL> 670 <DL>
671 <DT><CODE>-aaosdcolor=V</CODE></DT> 671 <DT><CODE>-aaosdcolor=V</CODE></DT>
780 780
781 <H4>Known problems and workaround:</H4> 781 <H4>Known problems and workaround:</H4>
782 782
783 <UL> 783 <UL>
784 <LI>If you have installed <B>NLS</B> font on your Linux box and run VESA 784 <LI>If you have installed <B>NLS</B> font on your Linux box and run VESA
785 driver from text-mode then after terminating <B>MPlayer</B> you will have 785 driver from text-mode then after terminating MPlayer you will have
786 <B>ROM font</B> loaded instead of national. You can load national font again 786 <B>ROM font</B> loaded instead of national. You can load national font again
787 by using <B><I>setsysfont</I></B> utility from the Mandrake distribution 787 by using <B><I>setsysfont</I></B> utility from the Mandrake distribution
788 for example.<BR> 788 for example.<BR>
789 (<B>Hint:</B> The same utility is used for the localization of fbdev).</LI> 789 (<B>Hint:</B> The same utility is used for the localization of fbdev).</LI>
790 <LI>Some <B>Linux graphics drivers</B> don't update active <B>BIOS mode</B> in 790 <LI>Some <B>Linux graphics drivers</B> don't update active <B>BIOS mode</B> in
865 <LI>video card should be in graphics mode (I write <B>should</B> simply 865 <LI>video card should be in graphics mode (I write <B>should</B> simply
866 because I tested it in text mode - it works but has awful output ;) Use 866 because I tested it in text mode - it works but has awful output ;) Use
867 AAlib for that).<BR> 867 AAlib for that).<BR>
868 <I>Note: Everyone can try this trick by commenting out mode switching in 868 <I>Note: Everyone can try this trick by commenting out mode switching in
869 vo_vesa driver.</I></LI> 869 vo_vesa driver.</I></LI>
870 <LI><B>MPlayer</B>'s video output driver should know active video mode and be 870 <LI>MPlayer's video output driver should know active video mode and be
871 able to tell to VIDIX subdevice some video characteristics of server.</LI> 871 able to tell to VIDIX subdevice some video characteristics of server.</LI>
872 </UL> 872 </UL>
873 873
874 I hope that probably every video output driver of <B>MPlayer</B> will 874 I hope that probably every video output driver of MPlayer will
875 recognize <CODE>:vidix</CODE> subdevice. 875 recognize <CODE>:vidix</CODE> subdevice.
876 876
877 <H4>USAGE METHODS</H4> 877 <H4>USAGE METHODS</H4>
878 878
879 <P>When VIDIX is used as <B>subdevice</B> (<CODE>-vo vesa:vidix</CODE>) then 879 <P>When VIDIX is used as <B>subdevice</B> (<CODE>-vo vesa:vidix</CODE>) then
880 video mode configuration is performed by video output device 880 video mode configuration is performed by video output device
881 (<B>vo_server</B> in short). Therefore you can pass into command line of 881 (<B>vo_server</B> in short). Therefore you can pass into command line of
882 <B>MPlayer</B> the same keys as for vo_server. In addition it understands 882 MPlayer the same keys as for vo_server. In addition it understands
883 <CODE>-double</CODE> key as globally visible parameter. (I recommend using 883 <CODE>-double</CODE> key as globally visible parameter. (I recommend using
884 this key with VIDIX at least for ATI's card).<BR> 884 this key with VIDIX at least for ATI's card).<BR>
885 As for <CODE>-vo xvidix</CODE>: currently it recognizes the following 885 As for <CODE>-vo xvidix</CODE>: currently it recognizes the following
886 options: <CODE>-fs -zoom -x -y -double</CODE>.</P> 886 options: <CODE>-fs -zoom -x -y -double</CODE>.</P>
887 887
895 32 file.avi</code><BR> 895 32 file.avi</code><BR>
896 <BR> 896 <BR>
897 But it's dangerous, and you shouldn't do that. In this case given driver will 897 But it's dangerous, and you shouldn't do that. In this case given driver will
898 be forced and result is unpredictable (it may <B>freeze</B> your 898 be forced and result is unpredictable (it may <B>freeze</B> your
899 computer). You should do that ONLY if you are absolutely sure it will work, 899 computer). You should do that ONLY if you are absolutely sure it will work,
900 and <B>MPlayer</B> doesn't do it automatically. Please tell about it to the 900 and MPlayer doesn't do it automatically. Please tell about it to the
901 developers. The Right Way is to use VIDIX without arguments to enable driver 901 developers. The Right Way is to use VIDIX without arguments to enable driver
902 autodetection.</P> 902 autodetection.</P>
903 903
904 <P>VIDIX is very new technology and it's extremely possible that on your system 904 <P>VIDIX is very new technology and it's extremely possible that on your system
905 (OS=abc CPU=xyz) it won't work. In this case only solution for you it's port 905 (OS=abc CPU=xyz) it won't work. In this case only solution for you it's port
908 908
909 <BLOCKQUOTE> 909 <BLOCKQUOTE>
910 <B>Warning: security risk</B><BR> 910 <B>Warning: security risk</B><BR>
911 Unfortunately you <B>must</B> have <B>root</B> privileges to use VIDIX 911 Unfortunately you <B>must</B> have <B>root</B> privileges to use VIDIX
912 due to direct hardware access. At least the <B>SUID</B> bit on the 912 due to direct hardware access. At least the <B>SUID</B> bit on the
913 <B>MPlayer</B> executable must be set. 913 MPlayer executable must be set.
914 </BLOCKQUOTE> 914 </BLOCKQUOTE>
915 915
916 <H4>VIDEO EQUALIZER</H4> 916 <H4>VIDEO EQUALIZER</H4>
917 917
918 <P>This is a video equalizer implemented especially for VIDIX. You can use 918 <P>This is a video equalizer implemented especially for VIDIX. You can use
919 it either with <B>1-8</B> keys as described in the man page, or 919 it either with <B>1-8</B> keys as described in the man page, or
920 by command line arguments. <B>MPlayer</B> recognizes the 920 by command line arguments. MPlayer recognizes the
921 following options:</P> 921 following options:</P>
922 922
923 <DL> 923 <DL>
924 <DT><CODE>-brightness</CODE></DT> 924 <DT><CODE>-brightness</CODE></DT>
925 <DD>Adjust <B>BRIGHTNESS</B> of video output. It's not equal to brightness 925 <DD>Adjust <B>BRIGHTNESS</B> of video output. It's not equal to brightness
1042 participating in <I>cinerama</I> is four, so you can buid a <CODE>2x2</CODE> 1042 participating in <I>cinerama</I> is four, so you can buid a <CODE>2x2</CODE>
1043 vidiwall.</P> 1043 vidiwall.</P>
1044 1044
1045 <P>Finally an important remark: Do not start or stop XawTV on the playback 1045 <P>Finally an important remark: Do not start or stop XawTV on the playback
1046 device during playback, it will crash your computer. It is, however, fine to 1046 device during playback, it will crash your computer. It is, however, fine to
1047 <B>FIRST</B> start XawTV, <B>THEN</B> start <B>MPlayer</B>, wait for 1047 <B>FIRST</B> start XawTV, <B>THEN</B> start MPlayer, wait for
1048 <B>MPlayer</B> to finish and <B>THEN</B> stop XawTV.</P> 1048 MPlayer to finish and <B>THEN</B> stop XawTV.</P>
1049 1049
1050 1050
1051 <H4><A NAME="dvb">2.3.1.15 DVB</A></H4> 1051 <H4><A NAME="dvb">2.3.1.15 DVB</A></H4>
1052 1052
1053 <P><B>MPlayer</B> supports cards with the Siemens DVB chipset from vendors like 1053 <P>MPlayer supports cards with the Siemens DVB chipset from vendors like
1054 Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB drivers are 1054 Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB drivers are
1055 available from the <A HREF="http://www.linuxtv.org">Linux TV site</A>. If you 1055 available from the <A HREF="http://www.linuxtv.org">Linux TV site</A>. If you
1056 want to do software transcoding you should have at least a 1GHz CPU.</P> 1056 want to do software transcoding you should have at least a 1GHz CPU.</P>
1057 1057
1058 <P>Configure should detect your DVB card. If it did not, force detection with 1058 <P>Configure should detect your DVB card. If it did not, force detection with
1151 decompression).</P> 1151 decompression).</P>
1152 1152
1153 1153
1154 <H4><A NAME="dxr3">2.3.1.16 DXR3/Hollywood+</A></H4> 1154 <H4><A NAME="dxr3">2.3.1.16 DXR3/Hollywood+</A></H4>
1155 1155
1156 <P><B>MPlayer</B> supports hardware accelerated playback with the Creative DXR3 1156 <P>MPlayer supports hardware accelerated playback with the Creative DXR3
1157 and Sigma Designs Hollywood Plus cards. These cards both use the em8300 MPEG 1157 and Sigma Designs Hollywood Plus cards. These cards both use the em8300 MPEG
1158 decoder chip from Sigma Designs.</P> 1158 decoder chip from Sigma Designs.</P>
1159 1159
1160 <P>First of all you will need properly installed DXR3/H+ drivers, version 1160 <P>First of all you will need properly installed DXR3/H+ drivers, version
1161 0.12.0 or later. You can find the drivers and installation instructions at 1161 0.12.0 or later. You can find the drivers and installation instructions at
1167 <DL> 1167 <DL>
1168 <DT><CODE>-vo dxr3:noprebuf:&lt;device&gt;</CODE></DT> 1168 <DT><CODE>-vo dxr3:noprebuf:&lt;device&gt;</CODE></DT>
1169 <DD><CODE>noprebuf</CODE> turns off prebuffering. Prebuffering is a feature 1169 <DD><CODE>noprebuf</CODE> turns off prebuffering. Prebuffering is a feature
1170 of the em8300 chip that enables it to hold more than one frame of video at 1170 of the em8300 chip that enables it to hold more than one frame of video at
1171 a time. This means that when you are running with prebuffering (default) 1171 a time. This means that when you are running with prebuffering (default)
1172 <B>MPlayer</B> will try to keep the video buffer filled with data at all 1172 MPlayer will try to keep the video buffer filled with data at all
1173 times. If you are on a slow machine <B>MPlayer</B> will probably use close 1173 times. If you are on a slow machine MPlayer will probably use close
1174 to, or precisely 100% of CPU. This is especially common if you play pure MPEG 1174 to, or precisely 100% of CPU. This is especially common if you play pure MPEG
1175 streams (like DVDs, SVCDs a.s.o.) since <B>MPlayer</B> will not have to 1175 streams (like DVDs, SVCDs a.s.o.) since MPlayer will not have to
1176 reencode it to MPEG it will fill the buffer very fast.<BR> 1176 reencode it to MPEG it will fill the buffer very fast.<BR>
1177 With prebuffering video playback is <B>much</B> less sensitive to other 1177 With prebuffering video playback is <B>much</B> less sensitive to other
1178 programs hogging the CPU, it will not drop frames unless applications hog 1178 programs hogging the CPU, it will not drop frames unless applications hog
1179 the CPU for a long time.<BR> 1179 the CPU for a long time.<BR>
1180 Prebuffering does not work on all machines (especially Athlons where it is 1180 Prebuffering does not work on all machines (especially Athlons where it is
1217 </DL> 1217 </DL>
1218 1218
1219 <H4>Overlay</H4> 1219 <H4>Overlay</H4>
1220 1220
1221 <P>To get overlay run dxr3view that comes with the em8300 package before 1221 <P>To get overlay run dxr3view that comes with the em8300 package before
1222 starting <B>MPlayer</B>. You can set various options in dxr3view by pressing 1222 starting MPlayer. You can set various options in dxr3view by pressing
1223 <CODE>T</CODE> while holding the mouse cursor above the window.</P> 1223 <CODE>T</CODE> while holding the mouse cursor above the window.</P>
1224 1224
1225 <H4>MPEG1, MPEG2, VCD and DVD Notes</H4> 1225 <H4>MPEG1, MPEG2, VCD and DVD Notes</H4>
1226 1226
1227 <P>MPEG1/2 content should now automatically be detected by <B>MPlayer</B> and 1227 <P>MPEG1/2 content should now automatically be detected by MPlayer and
1228 it will use the hardware acceleration of the DXR3 to play it. If not, you can 1228 it will use the hardware acceleration of the DXR3 to play it. If not, you can
1229 force it to hardware acceleration with <CODE>-vc mpegpes</CODE>. Also, if you 1229 force it to hardware acceleration with <CODE>-vc mpegpes</CODE>. Also, if you
1230 plan to use postprocessing filters you must use <CODE>-vc mpeg12</CODE>.</P> 1230 plan to use postprocessing filters you must use <CODE>-vc mpeg12</CODE>.</P>
1231 1231
1232 <P>In some instances, subtitles may not appear properly in sync with the A/V 1232 <P>In some instances, subtitles may not appear properly in sync with the A/V
1233 stream when using hardware decoding (<CODE>-vc mpegpes</CODE>). This is a 1233 stream when using hardware decoding (<CODE>-vc mpegpes</CODE>). This is a
1234 known bug. The em8300 will also improperly handle subtitles that are too big, 1234 known bug. The em8300 will also improperly handle subtitles that are too big,
1235 and may hang for a second or two. At this time, the only workaround is to use 1235 and may hang for a second or two. At this time, the only workaround is to use
1236 <CODE>-vc mpeg12</CODE> when viewing DVDs with subtitles. When running with 1236 <CODE>-vc mpeg12</CODE> when viewing DVDs with subtitles. When running with
1237 <CODE>-vc mpeg12</CODE> <B>MPlayer</B> will reencode video to MPEG (even if it 1237 <CODE>-vc mpeg12</CODE> MPlayer will reencode video to MPEG (even if it
1238 already is MPEG). This means that it will need more CPU power, and you might 1238 already is MPEG). This means that it will need more CPU power, and you might
1239 loose some picture quality.</P> 1239 loose some picture quality.</P>
1240 1240
1241 1241
1242 <H4><A NAME="tv-out">2.3.1.A TV-out support</A></H4> 1242 <H4><A NAME="tv-out">2.3.1.A TV-out support</A></H4>
1274 <LI> 1274 <LI>
1275 If you don't have <CODE>fbset</CODE> installed, enter 1275 If you don't have <CODE>fbset</CODE> installed, enter
1276 <CODE>TVout/fbset</CODE> and type <CODE>make</CODE>. Install 1276 <CODE>TVout/fbset</CODE> and type <CODE>make</CODE>. Install
1277 <CODE>fbset</CODE> into somewhere in your PATH.</LI> 1277 <CODE>fbset</CODE> into somewhere in your PATH.</LI>
1278 <LI> 1278 <LI>
1279 Then enter into the <CODE>TVout/</CODE> directory in the <B>MPlayer</B> 1279 Then enter into the <CODE>TVout/</CODE> directory in the MPlayer
1280 source, and execute <CODE>./modules</CODE> as root. Your text-mode console 1280 source, and execute <CODE>./modules</CODE> as root. Your text-mode console
1281 will enter into framebuffer mode (no way back!).</LI> 1281 will enter into framebuffer mode (no way back!).</LI>
1282 <LI>Next, EDIT and run the <CODE>./matroxtv</CODE> script. This will present you 1282 <LI>Next, EDIT and run the <CODE>./matroxtv</CODE> script. This will present you
1283 to a very simple menu. Press <B>2</B> and <B>ENTER</B>. Now you should 1283 to a very simple menu. Press <B>2</B> and <B>ENTER</B>. Now you should
1284 have the same picture on your monitor, and TV. If 1284 have the same picture on your monitor, and TV. If
1337 <UL> 1337 <UL>
1338 <LI><B>ATI Mach64</B>: supported by 1338 <LI><B>ATI Mach64</B>: supported by
1339 <A HREF="http://gatos.sf.net">gatos</A>.</LI> 1339 <A HREF="http://gatos.sf.net">gatos</A>.</LI>
1340 <LI><B>ASIC Radeon VIVO</B>: supported by 1340 <LI><B>ASIC Radeon VIVO</B>: supported by
1341 <A HREF="http://gatos.sf.net">gatos</A>.</LI> 1341 <A HREF="http://gatos.sf.net">gatos</A>.</LI>
1342 <LI><B>Radeon</B> and <B>Rage128</B>: supported by <B>MPlayer</B>! 1342 <LI><B>Radeon</B> and <B>Rage128</B>: supported by MPlayer!
1343 Check <a href="#vesa">VESA driver</a> and <A HREF="#vidix">VIDIX</A> 1343 Check <a href="#vesa">VESA driver</a> and <A HREF="#vidix">VIDIX</A>
1344 sections.</LI> 1344 sections.</LI>
1345 </UL> 1345 </UL>
1346 1346
1347 <P>On other cards, just use the <a href="#vesa">VESA driver</a>, without 1347 <P>On other cards, just use the <a href="#vesa">VESA driver</a>, without