2.2.1 frame capture is considerably slower than 2.1.5

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
kingotto15
New Cone
New Cone
Posts: 6
Joined: 01 Jul 2010 16:32

2.2.1 frame capture is considerably slower than 2.1.5

Postby kingotto15 » 05 May 2015 15:12

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Postby Jean-Baptiste Kempf » 05 May 2015 15:32

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
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kingotto15
New Cone
New Cone
Posts: 6
Joined: 01 Jul 2010 16:32

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Postby kingotto15 » 05 May 2015 16:32

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Postby Jean-Baptiste Kempf » 05 May 2015 22:18

The libpng encoder is supposedly of better quality, but is slower.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

tmatth
New Cone
New Cone
Posts: 4
Joined: 11 Oct 2014 04:51

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Postby tmatth » 06 May 2015 02:48

The libpng encoder should now be slightly faster than libavcodec's png encoder in master (as of today).

VLCFanNumber1
Blank Cone
Blank Cone
Posts: 58
Joined: 19 May 2014 19:30

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Postby VLCFanNumber1 » 06 May 2015 04:11

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 ...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Postby Jean-Baptiste Kempf » 06 May 2015 10:23

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!
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLCFanNumber1
Blank Cone
Blank Cone
Posts: 58
Joined: 19 May 2014 19:30

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Postby VLCFanNumber1 » 06 May 2015 19:07

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 ;)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 2.2.1 frame capture is considerably slower than 2.1.5

Postby Jean-Baptiste Kempf » 07 May 2015 00:44

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.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 53 guests