Created
March 21, 2019 05:31
-
-
Save sugi-cho/4ec9019c95128c24df10de18cdd578be to your computer and use it in GitHub Desktop.
ffmpeg convert batches
This file contains 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 | |
:REPEAT | |
ffmpeg.exe -i %1 -vcodec hap -format hap "%~n1-hap.mov" | |
if "%~2"=="" GOTO EXIT | |
shift | |
GOTO REPEAT | |
:EXIT | |
pause |
This file contains 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 | |
:REPEAT | |
ffmpeg.exe -i %1 -vcodec hap -format hap_alpha "%~n1_a.mov" | |
if "%~2"=="" GOTO EXIT | |
shift | |
GOTO REPEAT | |
:EXIT | |
pause |
This file contains 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 | |
:REPEAT | |
ffmpeg.exe -i %1 "%~n1.wav" | |
if "%~2"=="" GOTO EXIT | |
shift | |
GOTO REPEAT | |
:EXIT | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment