for %%a in (*.gif) do ( "ffmpeg" -f gif -i "%%a" -pix_fmt yuv420p -c:v libx264 -r 25 -movflags +faststart -vf scale=-2:720 "%%~na.mp4" )