Video Mp4 2 Gif Animation Convert

Categories: Video

Video Mp4 2 Gif Animation Convert

Create gif from mp4

Command line

    ffmpeg -ss 30 -t 3 -i input.mp4 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif

    ffmpeg -t 3 -i input.mp4 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif

Result

Links

Download Windows Binaries

https://www.gyan.dev/ffmpeg/

Command line

https://superuser.com/questions/556029/how-do-i-convert-a-video-to-gif-using-ffmpeg-with-reasonable-quality

Written on January 28, 2021