You can pipe the frames from FFmpeg to convert to avoid temporary files.
http://superuser.com/a/730389
Re:High quality GIF with FFmpeg
by artursapek on Monday March 16, 2015 @03:37PM
(#9213793)
Neat! Unix pipes are amazing. Thanks.
> (convert -delay 5 -loop 0 $tmp_dir/ffout*.png $2) >& /dev/null
So using ImageMagick for this... How is this memory wise BTW? (all frames are in memory at once or not?)
Yes, all frames will be in memory prior to making the GIF. Probably fine for most GIFs, but if you want to go FFmpeg | ImageMagick | FFmpeg for processing a video, or maybe for a longer GIF, you can use this script to keep only a frame at a time in memory: http://www.imagemagick.org/Usage/scripts/process_ppm_pipelin...
Re:High quality GIF with FFmpeg
by artursapek on Monday March 16, 2015 @03:36PM
(#9213788)
Not sure, actually. Never had it be enough of a resource hog to even think about it.
I can probably improve it further by using some of what's in this article, but it's already faster and better than any online tool I've found.