Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can make VLC use hardware decoding with

vlc --ffmpeg-hw video.mkv

Is there an equivalent flag for mplayer?

share|improve this question
up vote 2 down vote accepted

Mind you if you have an nVidia graphics card you should not only specify the -vo device but also give a -vc setting. On my own system I give the following on the commandline:

mplayer -vo vdpau filename

(replacing 'filename' with the actual name of your file of course) and place the following in ~/.mplayer/config:


but there are several different ways of doing this. This method allows you to use different video out devices with MPlayer but will give proper -vc values when you specify -vo vdpau from the commandline.

Hope this helps :).

share|improve this answer
See also… – rogerdpack Jan 14 '14 at 21:06

The command is -vo (video out). For my nVidia network card with hardware acceleration, I use -vo vdpau.

To see all of the video out processors, see mplayer.1.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.