Quantcast
Channel: How do I convert a video to GIF using ffmpeg, with reasonable quality? - Super User
Viewing all articles
Browse latest Browse all 19

Answer by pje for How do I convert a video to GIF using ffmpeg, with reasonable quality?

$
0
0

As of ffmpeg 2.6, we can do even better. Based on High quality GIF with FFmpeg:

palette="/tmp/palette.png"filters="fps=15,scale=320:-1:flags=lanczos"ffmpeg -i input.flv -vf "$filters,palettegen" -y $paletteffmpeg -i input.flv -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y output.gif

Viewing all articles
Browse latest Browse all 19

Trending Articles