Mercurial > mplayer.hg
comparison DOCS/video.html @ 6499:ce4647b864e5
SVGAlib section revised
EGA support
author | gabucino |
---|---|
date | Sat, 22 Jun 2002 10:03:46 +0000 |
parents | d0d74f9d8d4a |
children | 4b7d097a9c69 |
comparison
equal
deleted
inserted
replaced
6498:bcfa390315ea | 6499:ce4647b864e5 |
---|---|
475 It's bug in SDL, I can't change it (tested with SDL 1.2.1). | 475 It's bug in SDL, I can't change it (tested with SDL 1.2.1). |
476 </UL> | 476 </UL> |
477 | 477 |
478 <P><B><A NAME=2.3.1.5>2.3.1.5. SVGAlib</A></B></P> | 478 <P><B><A NAME=2.3.1.5>2.3.1.5. SVGAlib</A></B></P> |
479 | 479 |
480 <P>If you don't have X, you can use the SVGAlib target! Be sure not to use the | 480 <P><B><U>Installation</U></B><BR> |
481 -fs switch, since it toggles the usage of the software scaler, and it's | 481 You'll have to install svgalib and its development package in order for |
482 SLOOOW now, unless you have a real fast CPU (and/or MTRR?). :(</P> | 482 <B>MPlayer</B> build its SVGAlib driver (autodetected, but can be forced), |
483 | 483 and don't forget to edit /etc/vga/libvga.config to suit your card & |
484 <P>Of course you'll have to install svgalib and its development package in | 484 monitor.</P> |
485 order for <B>MPlayer</B> build its SVGAlib driver (autodetected, but can be | 485 |
486 forced), and don't forget to edit /etc/vga/libvga.config to suit your | 486 <P><B><U>Notes</U></B><BR> |
487 card & monitor.</P> | 487 Be sure not to use the -fs switch, since it toggles the usage of the software |
488 scaler, and it's slow. If you really need it, use the <CODE>-sws 4</CODE> | |
489 option which will produce bad quality, but is somewhat faster.</P> | |
490 | |
491 <P><B><U>EGA (4bpp) support</U></B><BR> | |
492 SVGAlib incorporates EGAlib, and <B>MPlayer</B> has the possibility to | |
493 display any movie in 16 colors, thus usable in the following sets:</P> | |
494 | |
495 <UL> | |
496 <LI>EGA card with EGA monitor: 320x200x4bpp, 640x200x4bpp, 640x350x4bpp</LI> | |
497 <LI>EGA card with CGA monitor: 320x200x4bpp, 640x200x4bpp</LI> | |
498 </UL> | |
499 | |
500 <P>The bpp (bits per pixel) value must be set to 4 by hand:<BR> | |
501 <CODE>-bpp 4</CODE><BR> | |
502 The movie probably must be scaled down to fit in EGA mode:<BR> | |
503 <CODE>-vop scale=640:350</CODE> or<BR> | |
504 <CODE>-vop scale=320:200</CODE><BR> | |
505 For that we need fast but bad quality scaling routine:<BR> | |
506 <CODE>-sws 4</CODE><BR> | |
507 Maybe automatic aspect correction has to be shut off:<BR> | |
508 <CODE>-noaspect</CODE><BR> | |
509 </P> | |
510 | |
488 | 511 |
489 <P><B><A NAME=2.3.1.6>2.3.1.6. Framebuffer output (FBdev)</A></B></P> | 512 <P><B><A NAME=2.3.1.6>2.3.1.6. Framebuffer output (FBdev)</A></B></P> |
490 | 513 |
491 <P>Whether to build the FBdev target is autodetected during ./configure . | 514 <P>Whether to build the FBdev target is autodetected during ./configure . |
492 Read the framebuffer documentation in the kernel sources | 515 Read the framebuffer documentation in the kernel sources |