einfach_orangensaft@sh.itjust.works to Gifs@lemmy.worldEnglish · 3 months agoPhasing thru wallssh.itjust.worksimagemessage-square8linkfedilinkarrow-up136arrow-down13cross-posted to: [email protected]
arrow-up133arrow-down1imagePhasing thru wallssh.itjust.workseinfach_orangensaft@sh.itjust.works to Gifs@lemmy.worldEnglish · 3 months agomessage-square8linkfedilinkcross-posted to: [email protected]
minus-squareSatyrSack@feddit.orglinkfedilinkEnglisharrow-up4·edit-23 months agoI see that ezgif.com uses a program called Gifsicle for its compression. I will look into implementing that into my workflow. Thanks! https://ezgif.com/about EDIT: For anyone reading this who wants a good CLI method to compress GIFs, I found this article very useful: https://www.digitalocean.com/community/tutorials/how-to-make-and-optimize-gifs-on-the-command-line On the other hand, if you don’t require your animated image to be in GIF format, a WEBP at the same file size will always have much higher quality: ffmpeg -i input.mp4 -vcodec libwebp -lossless 0 -loop 0 -preset default -an -fps_mode passthrough -vf "fps=15, scale=-1:270" -quality 10 output.webp
I see that ezgif.com uses a program called Gifsicle for its compression. I will look into implementing that into my workflow. Thanks!
https://ezgif.com/about
EDIT: For anyone reading this who wants a good CLI method to compress GIFs, I found this article very useful:
https://www.digitalocean.com/community/tutorials/how-to-make-and-optimize-gifs-on-the-command-line
On the other hand, if you don’t require your animated image to be in GIF format, a WEBP at the same file size will always have much higher quality:
ffmpeg -i input.mp4 -vcodec libwebp -lossless 0 -loop 0 -preset default -an -fps_mode passthrough -vf "fps=15, scale=-1:270" -quality 10 output.webp