Mercurial > mplayer.hg
comparison DOCS/video.html @ 1686:f314e83b78e6
*** empty log message ***
author | gabucino |
---|---|
date | Sat, 25 Aug 2001 09:09:06 +0000 |
parents | dba45a1aafad |
children | a2e1432f7ac3 |
comparison
equal
deleted
inserted
replaced
1685:390bbb52e371 | 1686:f314e83b78e6 |
---|---|
84 <P><CODE> echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr</CODE></P> | 84 <P><CODE> echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr</CODE></P> |
85 | 85 |
86 | 86 |
87 <P>Not all CPUs support MTRRs. For example older K6-2's [around 266Mhz, | 87 <P>Not all CPUs support MTRRs. For example older K6-2's [around 266Mhz, |
88 stepping 0] doesn't support MTRR, but stepping 12's do ('<CODE>cat /proc/cpuinfo</CODE>' | 88 stepping 0] doesn't support MTRR, but stepping 12's do ('<CODE>cat /proc/cpuinfo</CODE>' |
89 to check it).</P> | 89 to check it</CODE>').</P> |
90 | 90 |
91 <P><B><A NAME=2.2.1.2>2.2.1.2. Xv</A></B></P> | 91 <P><B><A NAME=2.2.1.2>2.2.1.2. Xv</A></B></P> |
92 | 92 |
93 <P>Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines | 93 <P>Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines |
94 using the XVideo extension. This is what the option '-vo xv' uses. | 94 using the XVideo extension. This is what the option '-vo xv' uses. |
226 <P>Become ROOT. DGA needs root access to be able to write directly video memory. | 226 <P>Become ROOT. DGA needs root access to be able to write directly video memory. |
227 If you want to run it as user, then install <B>MPlayer</B> SUID root:</P> | 227 If you want to run it as user, then install <B>MPlayer</B> SUID root:</P> |
228 | 228 |
229 <P><CODE> | 229 <P><CODE> |
230 <CODE>chown root /usr/local/bin/mplayer<BR> | 230 <CODE>chown root /usr/local/bin/mplayer<BR> |
231 <CODE>chmod 750 /usr/local/bin/mplayer<BR> | 231 chmod 750 /usr/local/bin/mplayer<BR> |
232 <CODE>chmod +s /usr/local/bin/mplayer<BR></CODE></P> | 232 chmod +s /usr/local/bin/mplayer</CODE></P> |
233 | 233 |
234 | 234 |
235 <P>Now it works as a simple user, too.</P> | 235 <P>Now it works as a simple user, too.</P> |
236 | 236 |
237 | 237 |
249 | 249 |
250 <P>The DGA driver allows for switching the resolution of the output signal. | 250 <P>The DGA driver allows for switching the resolution of the output signal. |
251 This avoids the need for doing (slow) software scaling and at the same | 251 This avoids the need for doing (slow) software scaling and at the same |
252 time provides a fullscreen image. Ideally it would switch to the exact | 252 time provides a fullscreen image. Ideally it would switch to the exact |
253 resolution (except for honouring aspect ratio) of the video data, but the | 253 resolution (except for honouring aspect ratio) of the video data, but the |
254 XServer only allows switching to resolutions predefined in | 254 XServer only allows switching to resolutions predefined in |
255 <CODE>/etc/X11/XF86Config</CODE> (<CODE>/etc/X11/XF86Config-4</CODE> for XFree 4.0.X respectively). | 255 <CODE>/etc/X11/XF86Config</CODE> (<CODE>/etc/X11/XF86Config-4</CODE> for XFree 4.0.X respectively). |
256 Those are defined by so-called modelines and depend on the capabilites | 256 Those are defined by so-called modelines and depend on the capabilites |
257 of your video hardware. The XServer scans this config file on startup and | 257 of your video hardware. The XServer scans this config file on startup and |
258 disables the modelines not suitable for your hardware. You can find | 258 disables the modelines not suitable for your hardware. You can find |
259 out which modes survive with the X11 log file. It can be found at: | 259 out which modes survive with the X11 log file. It can be found at: |
650 (CRTC2 can't do text-mode) and a bit slow (no acceleration). :(</P> | 650 (CRTC2 can't do text-mode) and a bit slow (no acceleration). :(</P> |
651 | 651 |
652 <P><I>Anyway i also just get monochrome output on the tv ...</I> | 652 <P><I>Anyway i also just get monochrome output on the tv ...</I> |
653 Maybe you have NTSC TV? Or just didn't run one of TV-* scripts.</P> | 653 Maybe you have NTSC TV? Or just didn't run one of TV-* scripts.</P> |
654 | 654 |
655 <BR> | |
656 <HR>MPlayer documentation project | |
657 | |
658 </BODY> | 655 </BODY> |
659 </HTML> | 656 </HTML> |