Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Fix filename for custom naming.
  • Loading branch information
MDHEXT authored Nov 4, 2021
1 parent 56f0d94 commit e52e969
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gifconv.bat
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
@ECHO OFF
REM By: MDHEXT, Nabi KaramAliZadeh <[email protected]>
REM Description: Video to GIF converter
REM Version: 4.6
REM Version: 4.7
REM Url: https://github.com/MDHEXT/video2gif, forked from https://github.com/NabiKAZ/video2gif
REM License: The MIT License (MIT)

SETLOCAL ENABLEDELAYEDEXPANSION
SET input="%~1"
SET vid="%~dpnx1"
SET output="%~dpn1.gif"
SET FILEPATH="%~dp1"
SET FILEPATH=%~dp1

SET "scale="
SET "fps="
Expand All @@ -26,7 +26,7 @@ GOTO :help_check_1

:help_message
ECHO -------------------------------------------------------------------------------------------------------------
ECHO [96mVideo to GIF converter v4.6 ^(C^) 2017-2021, MDHEXT ^&^ Nabi KaramAliZadeh ^<nabikaz@gmail.com^>[0m
ECHO [96mVideo to GIF converter v4.7 ^(C^) 2017-2021, MDHEXT ^&^ Nabi KaramAliZadeh ^<nabikaz@gmail.com^>[0m
ECHO You can download this fork from here: https://github.com/MDHEXT/video2gif
ECHO you can download the original release here: https://github.com/NabiKAZ/video2gif
ECHO This tool uses ffmpeg, you can download that here: https://www.ffmpeg.org/download.html#build-windows
Expand Down Expand Up @@ -93,7 +93,7 @@ IF NOT "%~1" =="" (
IF "%~1" =="-m" SET "mode=%~2" & SHIFT
IF "%~1" =="-d" SET "dither=%~2" & SHIFT
IF "%~1" =="-b" SET "bayerscale=%~2" & SHIFT
IF "%~1" =="-o" SET "output=%FILEPATH%%~2" & SHIFT
IF "%~1" =="-o" SET "output=%FILEPATH%%~nx2" & SHIFT
IF "%~1" =="-s" SET "start_time=%~2" & SHIFT
IF "%~1" =="-e" SET "duration=%~2" & SHIFT
IF "%~1" =="-c" SET "colormax=%~2" & SHIFT
Expand Down

0 comments on commit e52e969

Please sign in to comment.