Page 1 of 1

2.2.1 frame capture is considerably slower than 2.1.5

Posted: 05 May 2015 15:12
by kingotto15
Hi,

I like to take snapshots of whatever is playing on tv quite often (Satellite .TS stream from Dreambox).

I noticed that with VLC v2.2.1. the time it takes to make a picture snapshot (PNG format) is considerably longer than with v.2.1.5. The latter makes fast pictures one after another and with 2.2.1 it takes much more time in between pictures, rather frustrating.

Anyone have a clue? of solution? having the same issue?

Thanks,

KingOtto

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Posted: 05 May 2015 15:32
by Jean-Baptiste Kempf
We have a new PNG encoder in 2.2.x, that might be the problem. Try removing temporarily the libpng_plugin.dll and try again

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Posted: 05 May 2015 16:32
by kingotto15
Hi Jean-Baptiste.
This indeed brings back speed to the PNG capture process. What am i missing by not using the libpng_plugin.dll?

Thanks,

KingOtto

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Posted: 05 May 2015 22:18
by Jean-Baptiste Kempf
The libpng encoder is supposedly of better quality, but is slower.

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Posted: 06 May 2015 02:48
by tmatth
The libpng encoder should now be slightly faster than libavcodec's png encoder in master (as of today).

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Posted: 06 May 2015 04:11
by VLCFanNumber1
This indeed brings back speed to the PNG capture process. What am i missing by not using the libpng_plugin.dll ?
I can confirm that the screenshots are indeed MUCH faster, and the quality is perfect for me so I'll stick with it ;)

Thanks for the tip Jean-Baptiste ! :P

PS : The new PNG encoder was taking several seconds to take a snapshot of a 4K movie on my fast i3770 overclocked to 4.1ghz with 32GB ram while the old one takes 1 second, and is instantaneous for 1080p movies. Also I'm surprised that the new encoder is presented as "better quality" when PNG is a lossless format ...

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Posted: 06 May 2015 10:23
by Jean-Baptiste Kempf
This indeed brings back speed to the PNG capture process. What am i missing by not using the libpng_plugin.dll ?
I can confirm that the screenshots are indeed MUCH faster, and the quality is perfect for me so I'll stick with it ;)

Thanks for the tip Jean-Baptiste ! :P

PS : The new PNG encoder was taking several seconds to take a snapshot of a 4K movie on my fast i3770 overclocked to 4.1ghz with 32GB ram while the old one takes 1 second, and is instantaneous for 1080p movies. Also I'm surprised that the new encoder is presented as "better quality" when PNG is a lossless format ...
PNG is not always lossless!

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Posted: 06 May 2015 19:07
by VLCFanNumber1
PNG is not always lossless!
Sorry, I didn't know :oops:. Anyways, the old library is much better. I think you should make the new library an option in the next version of VLC because such slowness on very fast computers is not acceptable. Keep up the good work ;)

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Posted: 07 May 2015 00:44
by Jean-Baptiste Kempf
PNG is not always lossless!
Sorry, I didn't know :oops:. Anyways, the old library is much better. I think you should make the new library an option in the next version of VLC because such slowness on very fast computers is not acceptable. Keep up the good work ;)
Try our nightly builds 3.0.0 and tell us.