Last active
February 7, 2016 09:21
-
-
Save x5f3759df/842a8ab5734c4fdd937e to your computer and use it in GitHub Desktop.
vp9 webm bat file
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 | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment