Page 1 of 1

PNG snapshots created by VLC 2.2.0 pre3 isn't valid

Posted: 09 Oct 2014 08:54
by yoo2001818
Hello,

I've been using VLC for a while, yesterday I updated vlc by apt (debian jessie).
The problem is, png files created by latest version of vlc isn't valid.
It can be loaded by many programs but some programs return an error.
I've tried recompiling vlc, even with static library(contrib), but it didn't work.

jpg, tiff files work fine.

This image for example:
Image

Code: Select all

$ gm identify -verbose vlcsnap-00254.png gm identify: Too many IDAT's found (vlcsnap-00254.png). gm identify: Request did not return an image.

Code: Select all

$ pngcrush -n -v vlcsnap-00254.png ... While reading vlcsnap-00254.png: pngcrush caught libpng error: Too many IDAT's found

Re: PNG snapshots created by VLC 2.2.0 pre3 isn't valid

Posted: 11 Oct 2014 04:55
by tmatth
Should be fixed now, thanks for reporting.

Re: PNG snapshots created by VLC 2.2.0 pre3 isn't valid

Posted: 11 Oct 2014 05:54
by yoo2001818
Should be fixed now, thanks for reporting.
Image

All programs can read it now, but the snapshot is completely broken.

This is what it's supposed to be:
Image

Re: PNG snapshots created by VLC 2.2.0 pre3 isn't valid

Posted: 11 Oct 2014 06:15
by tmatth
ah sorry about that, this didn't happen for any of the videos i tested, but I was able to reproduce it when i took a snapshot of a 1500x1200 image. Should actually be fixed now, thanks. What resolution is your source material?

Re: PNG snapshots created by VLC 2.2.0 pre3 isn't valid

Posted: 11 Oct 2014 06:30
by yoo2001818
496x322 and 1344x610, both video had same problem.
I didn't test 1080p or 720p videos, though.

Re: PNG snapshots created by VLC 2.2.0 pre3 isn't valid

Posted: 11 Oct 2014 06:37
by yoo2001818
It works perfectly now. 1080p, 720p, 496x322 and 1344x610, everything works. Thanks!

Re: PNG snapshots created by VLC 2.2.0 pre3 isn't valid

Posted: 11 Oct 2014 08:14
by tmatth
cool, thanks for testing.

Re: PNG snapshots created by VLC 2.2.0 pre3 isn't valid

Posted: 11 Oct 2014 12:35
by Jean-Baptiste Kempf
Thanks Tristan!