Created
April 12, 2020 17:08
-
-
Save lambdan/7aff11327c5e1d3296f533c7e7aa9f2a to your computer and use it in GitHub Desktop.
BAT file to create GIF using FFMPEG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| REM just do: gifit.bat video.mp4 | |
| REM and go on with your life | |
| REM needs ffmpeg | |
| ffmpeg -i "%1" -filter_complex "[0:v]scale=480:-1:lanczos,split [a][b];[a] palettegen [p];[b][p] paletteuse" "%~n1.gif" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment