You are not logged in.

#1 2012-11-25 11:55:47

reverland
Member
Registered: 2012-03-25
Posts: 19

Png files made with taking snapshot in vlc can't be opened

Any one have the same problem?

What should I provide to solve it?

I save it as png, but jpg works.

Last edited by reverland (2012-11-25 12:24:48)

Offline

#2 2012-11-25 13:03:48

Sanne
Member
Registered: 2012-03-13
Posts: 87

Re: Png files made with taking snapshot in vlc can't be opened

Yup, same here, with fully updated 64 bit system with vlc 2.0.4-4.

The png file gets written and is always 2.0 MB in size. Opening it with Gimp gives the error message:

Opening '/home/me/vlcsnap-2012-11-25-13h57m02s145.png' failed: Error while reading '/home/me/vlcsnap-2012-11-25-13h57m02s145.png'. File corrupted?

Using imagemagick's identify to get info about the file results in:

~$ identify vlcsnap-2012-11-25-13h57m02s145.png 
identify: improper image header `vlcsnap-2012-11-25-13h57m02s145.png' @ error/png.c/ReadPNGImage/3743.

Setting output to jpg also works for me.

So, it's not just you, seems to be something's broken somewhere. Sorry, can't help more, but at least I can confirm the behaviour.

Last edited by Sanne (2012-11-25 13:04:38)


If our currency were not money but appreciation and acknowledgement for what we do for others, for the community, for the benefit of all, we would have paradise on earth.

Offline

#3 2012-11-26 01:24:28

reverland
Member
Registered: 2012-03-25
Posts: 19

Re: Png files made with taking snapshot in vlc can't be opened

Sanne wrote:

Yup, same here, with fully updated 64 bit system with vlc 2.0.4-4.

The png file gets written and is always 2.0 MB in size. Opening it with Gimp gives the error message:

Opening '/home/me/vlcsnap-2012-11-25-13h57m02s145.png' failed: Error while reading '/home/me/vlcsnap-2012-11-25-13h57m02s145.png'. File corrupted?

Using imagemagick's identify to get info about the file results in:

~$ identify vlcsnap-2012-11-25-13h57m02s145.png 
identify: improper image header `vlcsnap-2012-11-25-13h57m02s145.png' @ error/png.c/ReadPNGImage/3743.

Setting output to jpg also works for me.

So, it's not just you, seems to be something's broken somewhere. Sorry, can't help more, but at least I can confirm the behaviour.

Thank you,it looks like that we should report it as a bug

Offline

#4 2012-11-26 10:13:50

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Png files made with taking snapshot in vlc can't be opened

The generated PNGs contain nothing but zeroes:

$ hexdump vlcsnap-2012-11-26-11h08m57s93.png 
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
00e10c0 0000 0000 0000 0000                    
00e10c8

Also, chaning the file format to JPG doesn't work for me. I still get PNGs.

Last edited by Morn (2012-11-26 10:16:07)

Offline

#5 2012-11-26 12:51:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Png files made with taking snapshot in vlc can't be opened

Offline

#6 2012-11-26 13:57:29

Sanne
Member
Registered: 2012-03-13
Posts: 87

Re: Png files made with taking snapshot in vlc can't be opened

Morn wrote:

Also, chaning the file format to JPG doesn't work for me. I still get PNGs.

Morn, I had to restart vlc after changing the output format before I got JPGs.

Thanks for the report, reverland!

Last edited by Sanne (2012-11-26 13:58:20)


If our currency were not money but appreciation and acknowledgement for what we do for others, for the community, for the benefit of all, we would have paradise on earth.

Offline

#7 2012-11-26 14:25:26

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Png files made with taking snapshot in vlc can't be opened

Sanne wrote:
Morn wrote:

Also, chaning the file format to JPG doesn't work for me. I still get PNGs.

Morn, I had to restart vlc after changing the output format before I got JPGs.

You're right, Sanne, it works after a restart. All VLC needs now is a JPEG quality slider in its prefs, then JPEG export would actually be useful… smile

Offline

Board footer

Powered by FluxBB