Mercurial > mplayer.hg
comparison DOCS/VIDEOCARDS @ 675:3ec7d432d972
kommitke
author | gabucino |
---|---|
date | Mon, 30 Apr 2001 22:58:22 +0000 |
parents | 176d242f935c |
children | b93cc18c3596 |
comparison
equal
deleted
inserted
replaced
674:10fc57f7e368 | 675:3ec7d432d972 |
---|---|
15 V. Not really acceleration, but... | 15 V. Not really acceleration, but... |
16 | 16 |
17 Now, let's see them in details: | 17 Now, let's see them in details: |
18 | 18 |
19 But before reading this, read DOCS/MTRR, and check your /proc/mtrr. | 19 But before reading this, read DOCS/MTRR, and check your /proc/mtrr. |
20 Believe me, it does worth! Speed up things 5x on P3!!! | 20 Believe me, it's worth it! Speeds things up more than 5 times on P3!!! |
21 | 21 |
22 I. Under XFree86 4.0.2 or newer, using the XVideo extension: | 22 I. Under XFree86 4.0.2 or newer, using the XVideo extension: |
23 this is what the option '-vo xv' uses. | 23 this is what the option '-vo xv' uses. |
24 | 24 |
25 In order to make this work, be sure to check the following: | 25 In order to make this work, be sure to check the following: |
125 2. MPlayer's DGA driver is autodetected on ./configure, or you can force it | 125 2. MPlayer's DGA driver is autodetected on ./configure, or you can force it |
126 with --enable-dga. | 126 with --enable-dga. |
127 3. If the driver couldn't switch to a smaller resolution, experiment with | 127 3. If the driver couldn't switch to a smaller resolution, experiment with |
128 switches -vm (only with X 3.0.x), -fs, -bpp, -zoom to find a video mode that | 128 switches -vm (only with X 3.0.x), -fs, -bpp, -zoom to find a video mode that |
129 the movie fits in. There is no converter right now.. :( | 129 the movie fits in. There is no converter right now.. :( |
130 4. Became ROOT. DGA needs root access to be able to write directly video memory. | 130 4. Become ROOT. DGA needs root access to be able to write directly video memory. |
131 If you want to run it as user, then install MPlayer SUID root: | 131 If you want to run it as user, then install MPlayer SUID root: |
132 'chown root /usr/local/bin/mplayer' | 132 'chown root /usr/local/bin/mplayer' |
133 'chmod 750 /usr/local/bin/mplayer' | 133 'chmod 750 /usr/local/bin/mplayer' |
134 'chmod +s /usr/local/bin/mplayer' | 134 'chmod +s /usr/local/bin/mplayer' |
135 Now it works as a simple user, too. | 135 Now it works as a simple user, too. |
137 This is a BIG security risk! Never do this on a server or on a computer | 137 This is a BIG security risk! Never do this on a server or on a computer |
138 can be accessed by more people than only you because they can gain root | 138 can be accessed by more people than only you because they can gain root |
139 privilegies through suid root mplayer. | 139 privilegies through suid root mplayer. |
140 !!!! SO YOU HAVE BEEN WARNED ... !!!! | 140 !!!! SO YOU HAVE BEEN WARNED ... !!!! |
141 5. Use '-vo dga' option, and there you go! (hope so:) | 141 5. Use '-vo dga' option, and there you go! (hope so:) |
142 6. Try if the '-vo sdl -sdl dga' options work for you! It's much faster!!! | |
142 | 143 |
143 If you have fast enough CPU (P3 800 for example) you can try fsdga for | 144 If you have fast enough CPU (P3 800 for example) you can try fsdga for |
144 fullscreen mpeg playing (using software YUV->RGB scaling): | 145 fullscreen mpeg playing (using software YUV->RGB scaling): |
145 mplayer -vo fsdga ... | 146 mplayer -vo fsdga ... |
146 | 147 |