diff --git a/README.md b/README.md index 4cafc79..13b9f3a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# video2gif +# vid2ani *Video to GIF/APNG/WEBP converter v5.5* @@ -13,16 +13,16 @@ A batch script for converting video files to GIF/APNG/WEBP using FFmpeg on Windo * Install [FFmpeg](https://www.ffmpeg.org/download.html#build-windows) for Windows. * Make sure that the path to `ffmpeg.exe` is [configured in your system environment variables control panel](https://www.wikihow.com/Install-FFmpeg-on-Windows) - or that you run the `gifconv.bat` file in the same folder as `ffmpeg.exe`. + or that you run the `vid2ani.cmd` file in the same folder as `ffmpeg.exe`. ## Usage ``` -gifconv [input_file] [arguments] +vid2ani [input_file] [arguments] ``` ## Arguments ``` --t Specifies output filetype - supported types: gif, png, webp. - The default is gif. +-t Specifies output filetype - supported types: 'gif', 'png', 'webp'. + The default is 'gif'. -o Specifies output filename. Will be output to the same directory as your input video. The default is the same as the input video. @@ -77,10 +77,11 @@ The Default is 2. Bayer Scale is optional. ## Examples ``` - gifconv sample.mp4 - gifconv sample.mp4 -f 20 -r 450 - gifconv sample.mp4 -s 5:40 -e 5 - gifconv sample.mp4 -o babydance -m 2 -k -b 3 + vid2ani sample.mp4 + vid2ani sample.mp4 -t png + vid2ani sample.mp4 -f 20 -r 450 + vid2ani sample.mp4 -s 5:40 -e 5 + vid2ani sample.mp4 -o babydance -m 2 -k -b 3 ``` ## Tips diff --git a/gifconv.bat b/vid2ani.cmd old mode 100644 new mode 100755 similarity index 99% rename from gifconv.bat rename to vid2ani.cmd index 502c10b..ddc8db9 --- a/gifconv.bat +++ b/vid2ani.cmd @@ -26,7 +26,7 @@ SET "version=" SET "build=" :: Clearing all variables -SET WD=%TEMP%\GIFCONV +SET WD=%TEMP%\VID2ANI SET palette=%WD%\template FOR /F "delims=" %%a in ('ffmpeg -version') DO ( IF NOT DEFINED version ( @@ -53,7 +53,7 @@ ECHO This tool wouldn't be possible without the research listed here: ECHO https://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html ECHO: ECHO Usage: -ECHO gifconv [input_file] [Arguments] +ECHO vid2ani [input_file] [Arguments] ECHO: ECHO Arguments: ECHO -t Specifies output filetype - supported types: 'gif', 'png', 'webp'.