Can't use mplayer on 16.04 LTS X64

5,212

Solution 1

The solution is to convert all .png files in cd /usr/share/mplayer/skins/default to png24.

You can use imagemagick:

for FILE in *.png ; do sudo convert $FILE -define png:format=png24 $FILE ; done

Solution 2

Follow these steps to completely reinstall mplayer along with configuration files. This should get rid of errors.

Warning : This will also remove custom configuration settings you have added (if any)!!

Completely remove mplayer

sudo apt-get remove --purge mplayer

Note that because of --purge option, your Global Configuration files in /etc/mplayer will also be removed.

Remove Local Configuration files

 rm -r ~/.mplayer/

Now install mplayer back

sudo apt-get install mplayer
Share:
5,212

Related videos on Youtube

Gourab dhargupta
Author by

Gourab dhargupta

Updated on September 18, 2022

Comments

  • Gourab dhargupta
    Gourab dhargupta almost 2 years

    When ever I try to use it gives this warning:

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

    followed by another warning

    Config file processing error with skin 'default'
    
    • gogeccc
      gogeccc about 8 years
      try reinstalling mplayer, perhaps that will solve the issue
    • Gourab dhargupta
      Gourab dhargupta about 8 years
      done that already.
    • Skaperen
      Skaperen almost 7 years
      try running it in command line mode. it always works for me there (using my play script that hunts for what i want to play and supports playlists)
  • Damn Vegetables
    Damn Vegetables over 7 years
    Doesn't work. 16.10.
  • Robert
    Robert almost 6 years
    done that and works. +1