Created
May 4, 2018 12:03
-
-
Save neta1/e21e35f7425174dbf02395fa90bb6e22 to your computer and use it in GitHub Desktop.
ffmpegで実再生時間を焼き込みつつ32倍速にするやつ(プログレ前提・60fps出力)
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 | |
:check | |
if "%~1"=="" goto break | |
echo on | |
ffmpeg -i "%~1" -vsync cfr -r 60 -vf drawtext=fontfile="C\\:/Windows/Fonts/YuGothB.ttc":box=1:boxcolor=black@0.4:fontcolor=00FF00:fontsize=50:x=50:y=20:text="%%{pts\\:hms}",setpts=PTS/32 -af atempo=2,atempo=2,atempo=2,atempo=2,atempo=2 -c:v libx264 -preset veryfast -c:a aac -ab 192k "%~dpn1_digest32x.mkv" | |
@echo off | |
shift | |
goto check | |
:break | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment