PDA

View Full Version : Speedup mplayer with nVidia video cards


graudeejs
September 3rd, 2011, 14:10
Adding these magic lines to your ~/.mplayer/config, can speed up your mplayer incredibly

vo=vdpau,
vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpa u,ffodivxvdpau,


Make sure mplayer is compiled with VDPAU on (Default off) and you're using x11/nvidia-driver Xorg driver.
Note: this applies only and only to nVidia video cards that actually support VDPAU acceleration.

I did small test
I playd 35GB HD video in mplayer with and without this magic.

With vdpau compiled and enabled mplayer was running using only less than 4% CPU
Without vdpau mplayer was using 90% CPU

That's like 22.5 times less CPU

Have fun :)

RESOURCES: https://wiki.archlinux.org/index.php/MPlayer#1._Using_a_conf_file

Sidenote: my video card: GeForce GT 240

EDIT:
turns out there was already howto on it :)
http://forums.freebsd.org/showthread.php?t=4756

waver
January 16th, 2012, 19:12
thank for tips, finally can play 1080p video with my GT 430 :)

xibo
January 16th, 2012, 19:59
Be careful that not all nvidia display adapters support all features. See the wikipedia article on it (http://en.wikipedia.org/wiki/Nvidia_PureVideo#Table_of_PureVideo_.28HD.29_GPUs)