Ubuntu – Error in skin config file with Mplayer

mplayer

Trying to watch a VOB file. Installed MPlayer but it isn't opening. I am getting an error message saying 'Fatal Error':

Error in skin config file at line 6: PNG read error in usr/share/mplayer/skins/default/main

What does this mean

Best Answer

The problem seems to be with the outdated Ubuntu skins package:

mplayer-skins

The PNGs are not in the correct format.

The Ubuntu packages mplayer and mplayer-gui are quite old.

Ubuntu has the outdated skin package.

I got it fixed with the following command:

cd /usr/share/mplayer/skins/default; for FILE in *.png; do sudo convert $FILE -define png:format=png24 $FILE; done