beta.blog

Linux (Ubuntu)

ffmpeg: Convert any movie file to animated gif image

by 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
Leave a Comment : more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!