leafo / gifine

Quickly record and edit gifs and videos of your desktop
285 stars 14 forks source link

optimizing gif needs some form of progress feedback #14

Open LiamDawe opened 7 years ago

LiamDawe commented 7 years ago

When making a gif, everything seems smooth up until I get to "optimizing gif". There's no feedback on how far along it is, could we get some form of progress feedback for it?

Also, if it's taking too long, perhaps a hotkey to stop the current export and go back to the app to adjust it, like making it smaller?

Edit: Turns out I was watching it terminal, without realizing the optimize bit had completed. So maybe just state in terminal "Done" when it is done? :)

leafo commented 7 years ago

I can add a printout in the terminal. I don't think any of the command line tools the gui wraps give a good progress indicator

ziaulrehman40 commented 4 years ago

Some sort of progress bar would be great. I was initially very confused when i saw some sort of infinte loop like so:

...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
  100% [/tmp/gifine_hbcihobqdc.gif] Analyze for gray...
  100% [/tmp/gifine_hbcihobqdc.gif] Classify colors...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
  100% [/tmp/gifine_hbcihobqdc.gif] Analyze for gray...
  100% [/tmp/gifine_hbcihobqdc.gif] Classify colors...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
  100% [/tmp/gifine_hbcihobqdc.gif] Analyze for gray...
  100% [/tmp/gifine_hbcihobqdc.gif] Classify colors...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
  100% [/tmp/gifine_hbcihobqdc.gif] Analyze for gray...
  100% [/tmp/gifine_hbcihobqdc.gif] Classify colors...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
  100% [/tmp/gifine_hbcihobqdc.gif] Analyze for gray...
  100% [/tmp/gifine_hbcihobqdc.gif] Classify colors...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
  100% [/tmp/gifine_hbcihobqdc.gif] Analyze for gray...
  100% [/tmp/gifine_hbcihobqdc.gif] Classify colors...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
  100% [/tmp/gifine_hbcihobqdc.gif] Analyze for gray...
  100% [/tmp/gifine_hbcihobqdc.gif] Classify colors...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
  100% [/tmp/gifine_hbcihobqdc.gif] Analyze for gray...
  100% [/tmp/gifine_hbcihobqdc.gif] Classify colors...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
  100% [/tmp/gifine_hbcihobqdc.gif] Analyze for gray...
  100% [/tmp/gifine_hbcihobqdc.gif] Classify colors...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
  100% [/tmp/gifine_hbcihobqdc.gif] Analyze for gray...
  100% [/tmp/gifine_hbcihobqdc.gif] Classify colors...
  100% [/tmp/gifine_hbcihobqdc.gif] Reduce colors: 256...
  100% [/tmp/gifine_hbcihobqdc.gif] Synchronizing pixels...
...

I thought program is buggy and i should kill it, but than it got to:

Optimizing gif
gifsicle: warning: huge GIF, conserving memory (processing may take a while)

And remained stuck for a while.

So please, some sort of progress bar would be great.