DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

MPlayer With Nvidia Cards

01.30.2010
| 1002 views |
  • submit to reddit
        
#!/bin/sh

# some of the vcodecs may have problems, for details look at -vc help
mplayer \
 -display :0.0 \
 -cache 8200 \
 -subfont-text-scale 2 \
 -fs \
 -ao alsa \
 -vo vdpau \
 -vc ffh264vdpau,ffmpeg12vdpau,ffodivxvdpau,ffwmv3vdpau,ffvc1vdpau \
 $*