Mercurial > mplayer.hg
comparison DOCS/video.html @ 6732:8460a77203de
DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
author | diego |
---|---|
date | Sun, 14 Jul 2002 17:54:05 +0000 |
parents | 62b33bad8fca |
children | f3f87f6bf5cf |
comparison
equal
deleted
inserted
replaced
6731:216a3032e1ba | 6732:8460a77203de |
---|---|
453 | 453 |
454 | 454 |
455 | 455 |
456 <TABLE BORDER=0> | 456 <TABLE BORDER=0> |
457 <TR><TD COLSPAN=4><P><B>There are several command line switches for SDL:</B></P></TD></TR> | 457 <TR><TD COLSPAN=4><P><B>There are several command line switches for SDL:</B></P></TD></TR> |
458 <TR><TD> </TD><TD>-vo sdl:name</TD><TD> </TD><TD> | 458 <TR><TD> </TD><TD><CODE>-vo sdl:name</CODE></TD><TD> </TD><TD> |
459 specifies sdl video driver to use (i.e.. aalib, dga, x11)</TD></TR> | 459 specifies sdl video driver to use (i.e.. aalib, dga, x11)</TD></TR> |
460 <TR><TD></TD><TD>-ao sdl:name</TD><TD></TD><TD>specifies sdl audio driver to use (i.e.. dsp, | 460 <TR><TD></TD><TD><CODE>-ao sdl:name</CODE></TD><TD></TD><TD>specifies sdl audio driver to use (i.e.. dsp, |
461 esd, arts)</TD></TR> | 461 esd, arts)</TD></TR> |
462 <TR><TD></TD><TD>-noxv</TD><TD></TD><TD>disables XVideo hardware acceleration</TD></TR> | 462 <TR><TD></TD><TD><CODE>-noxv</CODE></TD><TD></TD><TD>disables XVideo hardware acceleration</TD></TR> |
463 <TR><TD></TD><TD>-forcexv</TD><TD></TD><TD>tries to force XVideo acceleration</TD></TR> | 463 <TR><TD></TD><TD><CODE>-forcexv</CODE></TD><TD></TD><TD>tries to force XVideo acceleration</TD></TR> |
464 | 464 |
465 <TR><TD COLSPAN=4><P><B>SDL Keys:</B></P></TD></TR> | 465 <TR><TD COLSPAN=4><P><B>SDL Keys:</B></P></TD></TR> |
466 | 466 |
467 <TR><TD></TD><TD>F</TD><TD></TD><TD>toggles fullscreen/windowed mode</TD></TR> | 467 <TR><TD></TD><TD><CODE>F</CODE></TD><TD></TD><TD>toggles fullscreen/windowed mode</TD></TR> |
468 <TR><TD></TD><TD>C</TD><TD></TD><TD>cycles available fullscreen modes</TD></TR> | 468 <TR><TD></TD><TD><CODE>C</CODE></TD><TD></TD><TD>cycles available fullscreen modes</TD></TR> |
469 <TR><TD></TD><TD>W/S</TD><TD></TD><TD>mappings for * and / (mixer control)</TD></TR> | 469 <TR><TD></TD><TD><CODE>W/S</CODE></TD><TD></TD><TD>mappings for * and / (mixer control)</TD></TR> |
470 | 470 |
471 </TABLE> | 471 </TABLE> |
472 | 472 |
473 <P><B>KNOWN BUGS:</B></P> | 473 <P><B>KNOWN BUGS:</B></P> |
474 <UL><LI>Keys pressed under sdl:aalib console driver repeat forever. (use -vo aa !) | 474 <UL><LI>Keys pressed under sdl:aalib console driver repeat forever. (use -vo aa !) |
522 whatever. And don't forget to register your UniVBE ;))</P> | 522 whatever. And don't forget to register your UniVBE ;))</P> |
523 | 523 |
524 <P>The FBdev output takes some additional parameters above the others:</P> | 524 <P>The FBdev output takes some additional parameters above the others:</P> |
525 | 525 |
526 <TABLE BORDER=0> | 526 <TABLE BORDER=0> |
527 <TR><TD> </TD><TD>-fb</TD><TD> </TD><TD> | 527 <TR><TD> </TD><TD><CODE>-fb</CODE></TD><TD> </TD><TD> |
528 specify the framebuffer device to use (/dev/fb0)</TD></TR> | 528 specify the framebuffer device to use (/dev/fb0)</TD></TR> |
529 <TR><TD></TD><TD>-fbmode</TD><TD></TD><TD>mode name to use (according to /etc/fb.modes)</TD></TR> | 529 <TR><TD></TD><TD><CODE>-fbmode</CODE></TD><TD></TD><TD>mode name to use (according to /etc/fb.modes)</TD></TR> |
530 <TR><TD></TD><TD>-fbmodeconfig</TD><TD></TD><TD> config file of modes (default /etc/fb.modes)</TD></TR> | 530 <TR><TD></TD><TD><CODE>-fbmodeconfig</CODE></TD><TD></TD><TD> config file of modes (default /etc/fb.modes)</TD></TR> |
531 <TR><TD></TD><TD>-monitor_hfreq</TD><TD></TD><TD ROWSPAN=3>IMPORTANT values, see example.conf</TD></TR> | 531 <TR><TD></TD><TD><CODE>-monitor_hfreq</CODE></TD><TD></TD><TD ROWSPAN=3>IMPORTANT values, see example.conf</TD></TR> |
532 <TR><TD></TD><TD>-monitor_vfreq</TD><TD></TD></TR> | 532 <TR><TD></TD><TD><CODE>-monitor_vfreq</CODE></TD><TD></TD></TR> |
533 <TR><TD></TD><TD>-monitor_dotclock</TD><TD></TD></TR> | 533 <TR><TD></TD><TD><CODE>-monitor_dotclock</CODE></TD><TD></TD></TR> |
534 </TABLE> | 534 </TABLE> |
535 | 535 |
536 <P>If you want to change to a specific mode, then use</P> | 536 <P>If you want to change to a specific mode, then use</P> |
537 | 537 |
538 <P><CODE> mplayer -vm -fbmode (NameOfMode) filename</CODE></P> | 538 <P><CODE> mplayer -vm -fbmode (NameOfMode) filename</CODE></P> |
645 Quake, etc. <B>MPlayer</B> contains a very usable driver for it. | 645 Quake, etc. <B>MPlayer</B> contains a very usable driver for it. |
646 If ./configure detects aalib installed, the aalib libvo driver will be built.</P> | 646 If ./configure detects aalib installed, the aalib libvo driver will be built.</P> |
647 | 647 |
648 <TABLE BORDER=0> | 648 <TABLE BORDER=0> |
649 <TR><TD COLSPAN=4><P><B>You can use some keys in the AA Window to change rendering options:</B></P></TD></TR> | 649 <TR><TD COLSPAN=4><P><B>You can use some keys in the AA Window to change rendering options:</B></P></TD></TR> |
650 <TR><TD> </TD><TD>1</TD><TD> </TD><TD>decrease contrast</TD></TR> | 650 <TR><TD> </TD><TD><CODE>1</CODE></TD><TD> </TD><TD>decrease contrast</TD></TR> |
651 <TR><TD></TD><TD>2</TD><TD></TD><TD>increase contrast</TD></TR> | 651 <TR><TD></TD><TD><CODE>2</CODE></TD><TD></TD><TD>increase contrast</TD></TR> |
652 <TR><TD></TD><TD>3</TD><TD></TD><TD>decrease brightness</TD></TR> | 652 <TR><TD></TD><TD><CODE>3</CODE></TD><TD></TD><TD>decrease brightness</TD></TR> |
653 <TR><TD></TD><TD>4</TD><TD></TD><TD>increase brightness</TD></TR> | 653 <TR><TD></TD><TD><CODE>4</CODE></TD><TD></TD><TD>increase brightness</TD></TR> |
654 <TR><TD></TD><TD>5</TD><TD></TD><TD>switch fast rendering on/off</TD></TR> | 654 <TR><TD></TD><TD><CODE>5</CODE></TD><TD></TD><TD>switch fast rendering on/off</TD></TR> |
655 <TR><TD></TD><TD>6</TD><TD></TD><TD>set dithering mode (none, error distribution, Floyd Steinberg)</TD></TR> | 655 <TR><TD></TD><TD><CODE>6</CODE></TD><TD></TD><TD>set dithering mode (none, error distribution, Floyd Steinberg)</TD></TR> |
656 <TR><TD></TD><TD>7</TD><TD></TD><TD>invert image</TD></TR> | 656 <TR><TD></TD><TD><CODE>7</CODE></TD><TD></TD><TD>invert image</TD></TR> |
657 <TR><TD></TD><TD>a</TD><TD></TD><TD>toggles between aa and <B>MPlayer</B> control)</TD></TR> | 657 <TR><TD></TD><TD><CODE>a</CODE></TD><TD></TD><TD>toggles between aa and <B>MPlayer</B> control)</TD></TR> |
658 | 658 |
659 <TR><TD COLSPAN=4><P><B>The following command line options can be used:</B></P></TD></TR> | 659 <TR><TD COLSPAN=4><P><B>The following command line options can be used:</B></P></TD></TR> |
660 | 660 |
661 <TR><TD></TD><TD>-aaosdcolor=V</TD><TD></TD><TD>change OSD color</TD></TR> | 661 <TR><TD></TD><TD><CODE>-aaosdcolor=V</CODE></TD><TD></TD><TD>change OSD color</TD></TR> |
662 <TR><TD></TD><TD>-aasubcolor=V</TD><TD></TD><TD>change subtitle color</TD></TR> | 662 <TR><TD></TD><TD><CODE>-aasubcolor=V</CODE></TD><TD></TD><TD>change subtitle color</TD></TR> |
663 <TR><TD COLSPAN=3></TD><TD><P><I>where V can be: (0/normal, 1/dark, 2/bold, 3/bold font, 4/reverse, 5/special)</I></P></TD></TR> | 663 <TR><TD COLSPAN=3></TD><TD><P><I>where V can be: (0/normal, 1/dark, 2/bold, 3/bold font, 4/reverse, 5/special)</I></P></TD></TR> |
664 | 664 |
665 <TR><TD COLSPAN=4><P><B>AAlib itself provides a large sum of options. | 665 <TR><TD COLSPAN=4><P><B>AAlib itself provides a large sum of options. |
666 Here are some important:</B></P></TD></TR> | 666 Here are some important:</B></P></TD></TR> |
667 | 667 |
668 <TR><TD></TD><TD>-aadriver</TD><TD></TD><TD>set recommended aa driver (X11, curses, Linux)</TD></TR> | 668 <TR><TD></TD><TD><CODE>-aadriver</CODE></TD><TD></TD><TD>set recommended aa driver (X11, curses, Linux)</TD></TR> |
669 <TR><TD></TD><TD>-aaextended</TD><TD></TD><TD>use all 256 characters</TD></TR> | 669 <TR><TD></TD><TD><CODE>-aaextended</CODE></TD><TD></TD><TD>use all 256 characters</TD></TR> |
670 <TR><TD></TD><TD>-aaeight</TD><TD></TD><TD>use eight bit ASCII</TD></TR> | 670 <TR><TD></TD><TD><CODE>-aaeight</CODE></TD><TD></TD><TD>use eight bit ASCII</TD></TR> |
671 <TR><TD></TD><TD>-aahelp</TD><TD></TD><TD>prints out all aalib options</TD></TR> | 671 <TR><TD></TD><TD><CODE>-aahelp</CODE></TD><TD></TD><TD>prints out all aalib options</TD></TR> |
672 </TABLE> | 672 </TABLE> |
673 | 673 |
674 <P>NOTE: the rendering is very CPU intensive, especially when using AA-on-X | 674 <P>NOTE: the rendering is very CPU intensive, especially when using AA-on-X |
675 (using aalib on X), and it's least CPU intensive on standard, | 675 (using aalib on X), and it's least CPU intensive on standard, |
676 non-framebuffer console. Use SVGATextMode to set up a big textmode, | 676 non-framebuffer console. Use SVGATextMode to set up a big textmode, |
677 then enjoy! (secondary head Hercules cards rock :)) (anyone can enhance | 677 then enjoy! (secondary head Hercules cards rock :)) (anyone can enhance |
678 fbdev to do conversion/dithering to hgafb? Would be neat :)</P> | 678 fbdev to do conversion/dithering to hgafb? Would be neat :)</P> |
679 | 679 |
680 <P>Use the -framedrop option if your computer isn't fast enough to render all frames!</P> | 680 <P>Use the <CODE>-framedrop</CODE> option if your computer isn't fast enough to |
681 render all frames!</P> | |
681 | 682 |
682 <P>Playing on terminal you'll get better speed and quality using the Linux driver, not | 683 <P>Playing on terminal you'll get better speed and quality using the Linux driver, not |
683 curses (-aadriver linux). But therefore you need write access on /dev/vcsa<terminal>! | 684 curses (-aadriver linux). But therefore you need write access on /dev/vcsa<terminal>! |
684 That isn't autodetected by aalib, but vo_aa tries to find the best mode. | 685 That isn't autodetected by aalib, but vo_aa tries to find the best mode. |
685 See <A HREF="http://aa-project.sourceforge.net/tune/">http://aa-project.sourceforge.net/tune/</A> for further tuning issues.</P> | 686 See <A HREF="http://aa-project.sourceforge.net/tune/">http://aa-project.sourceforge.net/tune/</A> for further tuning issues.</P> |
737 | 738 |
738 <P>Don't use this driver with <B>GCC 2.96</B> ! It won't work !</P> | 739 <P>Don't use this driver with <B>GCC 2.96</B> ! It won't work !</P> |
739 | 740 |
740 <TABLE BORDER=0> | 741 <TABLE BORDER=0> |
741 <TR><TD COLSPAN=4><P><B>These switches of command line currently are available for VESA:</B></P></TD></TR> | 742 <TR><TD COLSPAN=4><P><B>These switches of command line currently are available for VESA:</B></P></TD></TR> |
742 <TR><TD> </TD><TD>-vo vesa:opts</TD><TD></TD><TD>currently recognized: <B>dga</B> to force dga mode and <B>nodga</B> to disable dga mode. Note: you may omit these parameters to enable <B>autodetect</B> of dga mode. (In the future also will specify mode parameters such as refresh rate, interlacing, doublescan and so on. Samples: i43, 85, d100)</TD></TR> | 743 <TR><TD> </TD><TD VALIGN="top"><CODE>-vo vesa:opts</CODE></TD><TD></TD><TD>currently recognized: <B>dga</B> to force dga mode and <B>nodga</B> to disable dga mode. Note: you may omit these parameters to enable <B>autodetect</B> of dga mode. (In the future also will specify mode parameters such as refresh rate, interlacing, doublescan and so on. Samples: i43, 85, d100)</TD></TR> |
743 <TR><TD></TD><TD>-screenw, -screenh, -bpp</TD><TD></TD><TD>force userdefined mode</TD></TR> | 744 <TR><TD></TD><TD VALIGN="top"><CODE>-screenw, -screenh, -bpp</CODE></TD><TD></TD><TD>force userdefined mode</TD></TR> |
744 <TR><TD></TD><TD>-x, -y</TD><TD></TD><TD>set userdefined prescaling</TD></TR> | 745 <TR><TD></TD><TD VALIGN="top"><CODE>-x, -y</CODE></TD><TD></TD><TD>set userdefined prescaling</TD></TR> |
745 <TR><TD></TD><TD>-zoom</TD><TD></TD><TD>enables userdefined prescaling</TD></TR> | 746 <TR><TD></TD><TD VALIGN="top"><CODE>-zoom</CODE></TD><TD></TD><TD>enables userdefined prescaling</TD></TR> |
746 <TR><TD></TD><TD>-fs</TD><TD></TD><TD>scales image to fullscreen</TD></TR> | 747 <TR><TD></TD><TD VALIGN="top"><CODE>-fs</CODE></TD><TD></TD><TD>scales image to fullscreen</TD></TR> |
747 <TR><TD></TD><TD>-fs -zoom</TD><TD></TD><TD>scales userdefined prescaling to fullscreen</TD></TR> | 748 <TR><TD></TD><TD VALIGN="top"><CODE>-fs -zoom</CODE></TD><TD></TD><TD>scales userdefined prescaling to fullscreen</TD></TR> |
748 <TR><TD></TD><TD>-double</TD><TD></TD><TD>enables double buffering mode. (Available only in DGA mode). Should be slower of single buffering, but has no flickering effects.</TD></TR> | 749 <TR><TD></TD><TD VALIGN="top"><CODE>-double</CODE></TD><TD></TD><TD>enables double buffering mode. (Available only in DGA mode). Should be slower of single buffering, but has no flickering effects.</TD></TR> |
749 </TABLE> | 750 </TABLE> |
750 | 751 |
751 <P> | 752 <P> |
752 <B>Known problems and workaround:</B><BR> | 753 <B>Known problems and workaround:</B><BR> |
753 - If you have installed <B>NLS</B> font on your Linux box and run VESA driver | 754 - If you have installed <B>NLS</B> font on your Linux box and run VESA driver |
888 it either with <B>1-8</B> keys as described in the man page, or | 889 it either with <B>1-8</B> keys as described in the man page, or |
889 by command line arguments. <B>MPlayer</B> recognizes the | 890 by command line arguments. <B>MPlayer</B> recognizes the |
890 following options : | 891 following options : |
891 </P> | 892 </P> |
892 | 893 |
893 <P> | 894 <TABLE> |
894 <CODE>-brightness</CODE> - adjust <B>BRIGHTNESS</B> of video | 895 <TR><TD> </TD><TD VALIGN="top"><CODE>-brightness</CODE></TD><TD> </TD> |
895 output. It's not equal to brightness adjusting on monitor panel or on TV. It | 896 <TD>Adjust <B>BRIGHTNESS</B> of video output. It's not equal to brightness |
896 changes intensity of RGB components of video signal from black to white | 897 adjusting on monitor panel or on TV. It changes intensity of RGB components of |
897 screen.<BR> | 898 video signal from black to white screen.</TD></TR> |
898 <CODE>-contrast</CODE> - adjust <B>CONTRAST</B> of video output. | 899 <TR><TD></TD><TD VALIGN="top"><CODE>-contrast</CODE></TD><TD></TD> |
899 Works in similar manner as brightness.<BR> | 900 <TD>Adjust <B>CONTRAST</B> of video output. Works in similar manner as |
900 <CODE>-saturation</CODE> - adjust <B>SATURATION</B> of video | 901 brightness.</TD></TR> |
901 output. You can get grayscale output with this option.<BR> | 902 <TR><TD></TD><TD VALIGN="top"><CODE>-saturation</CODE></TD> |
902 <CODE>-hue</CODE> - adjust <B>HUE</B> of video signal. You can | 903 <TD></TD><TD>Adjust <B>SATURATION</B> of video output. You can get grayscale |
903 get colored negative of image with this option.<BR> | 904 output with this option.</TD></TR> |
904 <CODE>-red_intensity</CODE> - adjust intensity of <B>RED</B> | 905 <TR><TD></TD><TD VALIGN="top"><CODE>-hue</CODE></TD> |
905 component of video signal.<BR> | 906 <TD></TD><TD>Adjust <B>HUE</B> of video signal. You can get colored negative |
906 <CODE>-green_intensity</CODE> - adjust intensity of <B>GREEN</B> | 907 of image with this option.</TD></TR> |
907 component of video signal.<BR> | 908 <TR><TD></TD><TD VALIGN="top"><CODE>-red_intensity</CODE></TD> |
908 <CODE>-blue_intensity</CODE> - adjust intensity of <B>BLUE</B> | 909 <TD></TD><TD>Adjust intensity of <B>RED</B> component of video signal.</TD></TR> |
909 component of video signal. | 910 <TR><TD></TD><TD VALIGN="top"><CODE>-green_intensity</CODE></TD> |
910 </P> | 911 <TD></TD><TD>Adjust intensity of <B>GREEN</B> component of video signal.</TD></TR> |
912 <TR><TD></TD><TD VALIGN="top"><CODE>-blue_intensity</CODE></TD> | |
913 <TD></TD><TD>Adjust intensity of <B>BLUE</B> component of video signal.</TD></TR> | |
914 </TABLE> | |
915 | |
911 <P> | 916 <P> |
912 Each parameter can accept values from <B>-1000</B> to <B>+1000</B>.<BR> | 917 Each parameter can accept values from <B>-1000</B> to <B>+1000</B>.<BR> |
913 Default value for each parameter is <B>0</B>. | 918 Default value for each parameter is <B>0</B>. |
914 </P> | 919 </P> |
915 <P> | 920 <P> |
978 ./configure --with-extraincdir=<DVB source directory>/ost/include | 983 ./configure --with-extraincdir=<DVB source directory>/ost/include |
979 </PRE> | 984 </PRE> |
980 | 985 |
981 <P>Then compile and install as usual.</P> | 986 <P>Then compile and install as usual.</P> |
982 | 987 |
988 <P><B>USAGE</B></P> | |
989 | |
983 <P>Hardware decoding (playing standard MPEG1/2 files) can be done with this | 990 <P>Hardware decoding (playing standard MPEG1/2 files) can be done with this |
984 command:</P> | 991 command:</P> |
985 | 992 |
986 <PRE> | 993 <PRE> |
987 mplayer -ao mpegpes -vo mpegpes file.mpg|vob | 994 mplayer -ao mpegpes -vo mpegpes file.mpg|vob |
996 </PRE> | 1003 </PRE> |
997 | 1004 |
998 <P>Note that DVB cards only support heights 288 and 576 for PAL or 240 and 480 | 1005 <P>Note that DVB cards only support heights 288 and 576 for PAL or 240 and 480 |
999 for NTSC. You <B>must</B> rescale for other heights by adding | 1006 for NTSC. You <B>must</B> rescale for other heights by adding |
1000 <CODE>scale=width:height</CODE> with the width and height you want to the | 1007 <CODE>scale=width:height</CODE> with the width and height you want to the |
1001 </CODE>-vop</CODE> option. DVB cards accept various widths, like 720, 704, 640, | 1008 <CODE>-vop</CODE> option. DVB cards accept various widths, like 720, 704, 640, |
1002 512, 480, 352 etc and do hardware scaling in horizontal direction, so you do not | 1009 512, 480, 352 etc and do hardware scaling in horizontal direction, so you do not |
1003 need to scale horizontally in most cases. For a 512x384 (aspect 4:3) DivX try:</P> | 1010 need to scale horizontally in most cases. For a 512x384 (aspect 4:3) DivX try:</P> |
1004 | 1011 |
1005 <PRE> | 1012 <PRE> |
1006 mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=512:576 | 1013 mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=512:576 |
1044 <PRE> | 1051 <PRE> |
1045 for 3:4 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale | 1052 for 3:4 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale |
1046 for 16:9 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale=1024 | 1053 for 16:9 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale=1024 |
1047 </PRE> | 1054 </PRE> |
1048 | 1055 |
1056 <P><B>FUTURE</B></P> | |
1057 | |
1049 <P>If you have questions or want to hear feature announcements and take part in | 1058 <P>If you have questions or want to hear feature announcements and take part in |
1050 discussions on this subject, join our | 1059 discussions on this subject, join our |
1051 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dvb">MPlayer-DVB</A> | 1060 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dvb">MPlayer-DVB</A> |
1052 mailing list. Please remember that the list language is English.</P> | 1061 mailing list. Please remember that the list language is English.</P> |
1053 | 1062 |
1054 <P>In the future you may expect the ability to display OSD and subtitles using | 1063 <P>In the future you may expect the ability to display OSD and subtitles using |
1055 the native OSD feature of DVB cards, as well as more fluent playback of | 1064 the native OSD feature of DVB cards, as well as more fluent playback of |
1056 non-25fps movies and realtime transcoding between MPEG2 and MPEG4 (partial | 1065 non-25fps movies and realtime transcoding between MPEG2 and MPEG4 (partial |
1057 decompression).</P> | 1066 decompression).</P> |
1067 | |
1068 | |
1069 <P><B><A NAME=2.3.1.17>2.3.1.17. DXR3</A></B></P> | |
1070 | |
1071 <P><B>MPlayer</B> supports hardware accelerated playback with the Creative DXR3 | |
1072 and Sigma Designs Hollywood Plus cards.</P> | |
1073 | |
1074 <P>First of all you will need properly installed DXR3/H+ drivers, version 0.12.0 | |
1075 or later. You can find the drivers and installation instructions at the | |
1076 <A HREF="http://dxr3.sourceforge.net/">DXR3 & Hollywood Plus for Linux</A> | |
1077 site. Configure should detect your card automatically, compilation should go | |
1078 without any problems.</P> | |
1079 | |
1080 <P><B>USAGE</B></P> | |
1081 | |
1082 <TABLE> | |
1083 <TR><TD> </TD><TD VALIGN="top"><CODE>-vo dxr3:<noprebuf>:<codec>:<device></CODE></TD><TD> </TD> | |
1084 <TD>Where <CODE><noprebuf></CODE> specifies turning off prebuffering. | |
1085 This is done automatically on Athlons. If playback is out of sync try | |
1086 disabling prebuffering. If noprebuf is left out prebuffering is enabled | |
1087 (except on Athlons). | |
1088 <BR> | |
1089 <CODE><codec></CODE> = fame/avcodec, avcodec produces better quality | |
1090 output, but fame is faster for those of you with slow machines. The default is | |
1091 to use libavcodec. Note that you need libavcodec properly installed (read | |
1092 DOCS/codecs.html). | |
1093 <BR> | |
1094 <CODE><device></CODE> = device number to use if you have more than one | |
1095 em8300 card. | |
1096 <BR> | |
1097 Any of these options may be left out, but they must be specified in this | |
1098 order, i.e. <CODE>dxr3:fame</CODE> works, <CODE>dxr3:1</CODE> works, but | |
1099 <CODE>dxr3:1:avcodec</CODE> will not.</TD></TR> | |
1100 <TR><TD></TD><TD VALIGN="top"><CODE>-ao oss:/dev/em8300_ma-X</CODE></TD> | |
1101 <TD></TD><TD>For audio output, where <CODE>X</CODE> is the device number | |
1102 (0 if one card).</TD></TR> | |
1103 <TR><TD></TD><TD VALIGN="top"><CODE>-ac hwac3</CODE></TD> | |
1104 <TD></TD><TD>For digital instead of analog audio output.</TD></TR> | |
1105 <TR><TD></TD><TD VALIGN="top"><CODE>-vc mpegpes</CODE></TD> | |
1106 <TD></TD><TD>Force hardware acceleration, only works with MPEG1/2.</TD></TR> | |
1107 <TR><TD></TD><TD VALIGN="top"><CODE>-aop list=resample:fout=xxxxx</CODE></TD> | |
1108 <TD></TD><TD>If sample rate is below 44100Hz, select either 44100Hz or 48000Hz | |
1109 depending on which one matches closest. I.e. if the movie uses 22050Hz use | |
1110 44100Hz as 44100 / 2 = 22050, if it is 24000Hz use 48000Hz as 48000 / 2 = 24000 | |
1111 and so on. This does not work with digital audio output | |
1112 (<CODE>-ac hwac3</CODE>).</TD></TR> | |
1113 </TABLE> | |
1114 | |
1115 <P><B>Overlay</B><P> | |
1116 | |
1117 <P>To get overlay run dxr3view that comes with the em8300 package before | |
1118 starting <B>MPlayer</B>. You can set various options in dxr3view by pressing | |
1119 <CODE>T</CODE> while holding the mouse cursor above the window.</P> | |
1120 | |
1121 <P><B>MPEG1, MPEG2, VCD and DVD Notes</B></P> | |
1122 | |
1123 <P>MPEG1/2 content should now automatically be detected by <B>MPlayer</B> and it | |
1124 will use the hardware acceleration of the DXR3 to play it. If not, you can force | |
1125 it to hardware acceleration with <CODE>-vc mpegpes</CODE>. Also, if you plan to | |
1126 use any postprocessing filters you must use <CODE>-vc mpeg12</CODE>.</P> | |
1127 | |
1128 <P>In some instances, subtitles may not appear properly in sync with the A/V stream | |
1129 when using hardware decoding (<CODE>-vc mpegpes</CODE>). This is a known bug. The | |
1130 em8300 will also improperly handle subtitles that are too big, and may hang for | |
1131 a second or two. At this time, the only workaround is to use | |
1132 <CODE>-vc mpeg12</CODE> when viewing DVDs with subtitles.<P> | |
1058 | 1133 |
1059 | 1134 |
1060 <P><B><A NAME=2.3.1.A>2.3.1.A. TV-out support</A></B></P> | 1135 <P><B><A NAME=2.3.1.A>2.3.1.A. TV-out support</A></B></P> |
1061 | 1136 |
1062 <P><B><A NAME=2.3.1.A.1>2.3.1.A.1. Matrox G400 cards</A></B></P> | 1137 <P><B><A NAME=2.3.1.A.1>2.3.1.A.1. Matrox G400 cards</A></B></P> |
1132 <P><B><A NAME=2.3.1.A.2>2.3.1.A.2. ATI cards</A></B></P> | 1207 <P><B><A NAME=2.3.1.A.2>2.3.1.A.2. ATI cards</A></B></P> |
1133 | 1208 |
1134 <P> | 1209 <P> |
1135 <B><U>PREAMBLE</U></B><BR> | 1210 <B><U>PREAMBLE</U></B><BR> |
1136 Currently ATI doesn't want to support any of its TV-out chips under Linux, | 1211 Currently ATI doesn't want to support any of its TV-out chips under Linux, |
1137 because their licensed Macrovision technology.</P> | 1212 because of their licensed Macrovision technology.</P> |
1138 | 1213 |
1139 <P><B><U>ATI CARDS TV-OUT STATUS ON LINUX</U></B></P> | 1214 <P><B><U>ATI CARDS TV-OUT STATUS ON LINUX</U></B></P> |
1140 | 1215 |
1141 <UL> | 1216 <UL> |
1142 <LI><B>ATI Mach64</B>: supported by <A HREF="http://gatos.sf.net">gatos</A>.</LI> | 1217 <LI><B>ATI Mach64</B>: supported by <A HREF="http://gatos.sf.net">gatos</A>.</LI> |