rename to vid2ani

This commit is contained in:
Stian Lund 2023-08-14 17:03:25 +02:00
parent 4b61f562c8
commit 185b402493
2 changed files with 12 additions and 11 deletions

View File

@ -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

4
gifconv.bat → vid2ani.cmd Normal file → Executable file
View File

@ -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'.