Useful Blog Management Code

tl;dr: Code for me to use to not have to look stuff up on Stack Overflow when I am writing posts for this blog. More than you might expect! Like for converting images from PNG to JPG for web optimization.

Zach Bellay published on

1 min, 68 words

Convert MOV to Gif, Get good speed and optimize file size. Takes some time

Note: This seems to actually increase file size sometimes!

ffmpeg -y -i Omnibot\ v40-cropped.mp4 -vf "scale=800:450" -f image2pipe -vcodec ppm - | convert -delay 2 -loop 0 -layers Optimize - gif:- | gifsicle -d 3 -O3 -o optimized.gif