Fails to open due to: PNG read error in /usr/share/mplayer/skins/default/main

Bug #1218510 reported by Doug McMahon on 2013-08-29
194
This bug affects 44 people
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Medium
Unassigned
mplayer-skins (Ubuntu)
Medium
Unassigned

Bug Description

For xenial -
https://launchpad.net/~mc3man/+archive/ubuntu/mplay-skins

seems like quite a number of the .png's in /usr/share/mplayer/skins/default (clearplayer) are borked (smaller than previous .png's) or something with the 'skin config' file

Error in skin config file on line 6: PNG read error in /usr/share/mplayer/skins/default/main
Config file processing error with skin 'default'

replace main.png with old one then -
Error in skin config file on line 9: PNG read error in /usr/share/mplayer/skins/default/button_rewind
ect., ect.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: mplayer-gui 2:1.0~rc4.dfsg1+svn34540-1ubuntu4
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic x86_64
ApportVersion: 2.12.1-0ubuntu2
Architecture: amd64
Date: Thu Aug 29 12:57:01 2013
InstallationDate: Installed on 2013-08-07 (21 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130803)
MarkForUpload: True
SourcePackage: mplayer
UpgradeStatus: No upgrade log present (probably fresh install)

Doug McMahon (mc3man) wrote :
description: updated
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mplayer (Ubuntu):
status: New → Confirmed
Chris Holland (bandidoirlandes) wrote :

Ubuntu build is svn34540
It looks like from here
https://groups.google.com/forum/#!msg/mplayer_users/ISHQ7tmCjyY/SpvKlligzboJ

that this problem is Fixed in svn r34603

building from svn works
mplayer_1.0~svn36461-1_amd64.deb

http://ubuntuforums.org/showthread.php?t=2149564

Still occurs in 14.04 /w gmplayer 1.1 /w mplayer 1.1 and 2.0
-----------------
$ gmplayer
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Error in skin config file on line 6: PNG read error in /usr/share/mplayer/skins/default/main
Config file processing error with skin 'default'

Exiting... (Fatal error)
-----------------

mplayer-gui version: 2:1.1+dfsg1-0ubuntu3
mplayer2 version: 2.0-701-gd4c5b7f-2ubuntu2
also tried with mplayer version: 2:1.1+dfsg1-0ubuntu3

Margarita Manterola (marga-9) wrote :

Indeed, Trusty was release with this bug, making mplayer-gui unusable without manual fiddling... :-/

dreamon (db4mt) wrote :

Margarita Manterola (marga-9): And how does it work, to fix it manualy?

Here is a little workaround for the time being.
Put this is ~/.local/share/applications/ and set exec bit (chmod +x).
Restart nautilus (kill and start again), and Media Player (CLI) should be added to the list of available applications. This is only a workaround and does not fix the problem at all. It does not even use the gmplayer frontend, just standard mplayer, so there is no GUI except the main window.

Gianni Delchi (gidelch2) wrote :

Another manual workaround is to convert as root using ImageMagick all the PNG causing error in the folder /usr/share/mplayer/skins.
Items have to be converted in the format PNG24 and renamed PNG after cancel the existing PNG.
You have to do only with items causing error, not all.
It's a bit annoying but it works for me and you have the mplayer-gui working.
I'm on xubuntu 14.04.

mplayer version 2:1.1+dfsg1-0ubuntu3
mplayer-gui version 2:1.1+dfsg1-0ubuntu3

Paul Andreassen (paulone) wrote :

As #8 Gianni Delchi wrote:

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

I also recommend you change to the blue skins with:

cd /usr/share/mplayer/skins ; sudo rm default ; sudo ln -s Blue default

These also need the first command run on them.

eiku (florian-mortgat) wrote :

Paul Andreassen's workaround works for me. Thank you.

Doug McMahon (mc3man) wrote :

This bug should be marked "Won't Fix" , I'd do so myself but lack permission

Why would this be marked as "won't fix"?

On 08/15/2014 12:54 PM, <email address hidden> wrote:
> Why would this be marked as "won't fix"?
>
Because Debian/Ubuntu have recently dropped mplayer. So no source, no fix.
(- it is possible once Debian releases the alternate FFmpeg source
packages that mplayer could come back but that's not the current scenario

csola48 (mail-csordaslaszlo) wrote :

Fatal error mplayer!

Ubuntu 14.04.1 LTS \n \l
Ubuntu 3.13.0-34.60-generic 3.13.11.4
mplayer 2:1.1+dfsg1-0ubuntu3
mplayer-gui 2:1.1+dfsg1-0ubuntu3

csola48 (mail-csordaslaszlo) wrote :
Download full text (12.2 KiB)

~$ gmplayer -v -v
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 13
CPU: Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz (Family: 6, Model: 58, Stepping: 9)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/csola48/.mplayer/codecs.conf'
Reading optional codecs config file /home/csola48/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /etc/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/csola48/.mplayer/fonts'
X11 opening display: :0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-xvmc --enable-menu --enable-radio --enable-radio-capture --disable-arts --language=all --disable-dvdread-internal --disable-libdvdcss-internal --disable-libmpeg2-internal --disable-ffmpeg_a --target=i586-linux --enable-runtime-cpudetection --enable-debug --enable-joystick --enable-gui
CommandLine: '-v' '-v'
Using nanosleep() timing
get_path('input.conf') -> '/home/csola48/.mplayer/input.conf'
Reading optional input config file /home/csola48/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 92 binds
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
GUI init.
GTK init.
[ws] display name: :0 => local display.
vo: X11 truecolor visual 0x21, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2a, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2b, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2c, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2d, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2e, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x2f, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x30, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x31, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x32, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x33, depth 24, R:FF0000 G:FF00...

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mplayer-skins (Ubuntu):
status: New → Confirmed
markling (markling) wrote :

I fired an Ubuntu-bug report on this. I hope it came through. I can't see it here. But I sent it here. How can you tell?

I also hope very much that the bug gets fixed. mplayer is still the greatest media player. I miss it very much.

markling (markling) wrote :

The Paul Andreassen fix worked for me. Hurrah. Shame the bug won't get fixed. Have people given up on Linux now everything's going mobile?

TBeholder (turbobeholder) wrote :

it's a bug in mplayer-gui, since mplayer as such obviously doesn't have this problem with other frontends.
So if you don't want to mess with conversion, try umplayer from GetDeb (file/disc player) and gmusicplayer (jukebox).

dreamon (db4mt) wrote :

Same problem here.

kaz (kazof01) wrote :

somebody told me to download imagemagick, and
here's output;

taro@taro-HP-Mini-110-3000:~$ cd /usr/share/mplayer/skins/default
taro@taro-HP-Mini-110-3000:/usr/share/mplayer/skins/default$ for FILE in
*.png
> do
> sudo convert $FILE -define png:format=png24 $FILE
> done
[sudo] password for taro:
taro@taro-HP-Mini-110-3000:/usr/share/mplayer/skins/default$

mplayer plays sound but no video.

Doug McMahon (mc3man) wrote :

mplayer is returning to 16.04 with this still broken (as possibly worthless the gui is..

tags: added: xenial
Doug McMahon (mc3man) wrote :

And mplayer-gui is complete garbage in 16.04 -
https://bugs.launchpad.net/ubuntu/+source/mplayer/+bug/1514698

Changed in mplayer-skins (Ubuntu):
importance: Undecided → Medium
Changed in mplayer (Ubuntu):
importance: Undecided → Medium
Maxim Kholyavkin (speakus-net) wrote :

I found this bug on last mint. Here is the solution which works for me: http://askubuntu.com/a/665203/98457

Ron Cemer (r5n) wrote :

This is a show-stopper. Mplayer won't even start because of this bug. And Importance is set to Medium? REALLY? What kind of show are you guys running here?

Why can't we just fix this real quick and release a new package?

FYI I've downloaded a number of skins from mplayerhq.hu and they appear to be working OK.

Lithi (lithi) wrote :

This bug is occurring for me - September 2016 - exactly as mentioned by people as far back as 2013.

"Error in skin config file at line...
PNG read error ...."

Tried workaround mentioned above by Paul Andreassen but didn't help. Also changed symlink of default from clearplayer to Blue but still not working.

Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

mplayer 2:1.2.1-1ubuntu1 amd64
mplayer-gui 2:1.2.1-1ubuntu1 amd64
mplayer-skins 3.2

Doug McMahon (mc3man) wrote :

Now that mplayer has been returned I'm doubly sick of this bug. To that end use mplayer-skins package from here, should work. For xenial only

https://launchpad.net/~mc3man/+archive/ubuntu/mplay-skins

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers