Created
October 7, 2020 11:03
-
-
Save yude/312c8fe2ca771b27e641712c94d198cd to your computer and use it in GitHub Desktop.
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
rem パスは適宜変更してください。 | |
chcp 65001 | |
@ECHO OFF | |
:FILEDROP | |
:REPEAT | |
ffmpeg -i %1 -filter_complex reverse;areverse "C:\Users\yude\Desktop\%~n1_tmp.mp4" | |
ffmpeg -i %~n1_tmp.mp4 -vf hflip,vflip "C:\Users\yude\Desktop\%~n1_tmp2.mp4" | |
ffmpeg -i %~n1_tmp2.mp4 -af asetrate=44100*130/100,atempo=100/130 -vf colorlevels=rimax=0:gimax=0:bimax=0:rimin=1:gimin=1:bimin=1 "C:\Users\yude\Desktop\%~n1_output.mp4" | |
del "C:\Users\yude\Desktop\%~n1_tmp.mp4" | |
del "C:\Users\yude\Desktop\%~n1_tmp2.mp4" | |
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
ffmpeg.exe
へのパスが通っている必要があります。通っていない場合は通すか、ffmpeg.exe
までのパスにffmpeg
を置き換えてください。