http://superuser.com/questions/556029/how-do-i-convert-a-video-to-gif-using-ffmpeg-with-reasonable-quality $ palette="palette.png" $ filters="fps=15,scale=320:-1:flags=lanczos" $ /cygdrive/c/opt/ffmpeg/ffmpeg-20140414-git-5e379cd-win64-static/bin/ffmpeg.exe -i 100_5749_x264.mp4 -vf "$filters" -y pallet.png