Linux (Ubuntu)
ffmpeg: Convert any movie file to animated gif image
by admin on Jun.02, 2020, under Linux (Ubuntu), MAC OS X
The following instruction converts a movie file to a 10 FPS gif file with a width of 320px and a proportionally scaled height:
ffmpeg -i "myvideo.mov" -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif