Friday, September 4, 2009

Making MPlayer really-quiet

MPlayer must be one of the best media players to support both obscure, nonstandard and broken video formats on any platform. I use it regularly on Linux.

However, by default, MPlayer has the annoying habit of displaying (and hiding) error dialog boxes, sometimes even in very rapid succession. Usually there is not even anything visually wrong with the video, there are just some errors (nonstandard things) in the stream. Luckily, there is a solution for this:

Tell it to be really-quiet.

From the command line:
mplayer -really-quiet myFile.mpg

or, to make it more permanent, add the line
really-quiet=yes
to
~/.mplayer/config

Thats it.