Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- SET bitrate=1M
- SET scale=960
- ECHO start
- ffmpeg -i "%~1" -map_metadata -1 -vf scale=-1:%scale% -sn -c:v vp9 -tile-columns 6 -frame-parallel 1 -b:v %bitrate% -crf 0 -an -threads 6 -speed 4 -pass 1 -f null -y NUL
- ffmpeg -i "%~1" -map_metadata -1 -vf scale=-1:%scale% -sn -c:v vp9 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -b:v %bitrate% -crf 0 -c:a libopus -b:a 64k -threads 6 -speed 1 -pass 2 -f webm -y "%~dp0\%~n1"_VP9.webm
- ECHO done
- PAUSE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement