Last active
May 28, 2019 13:06
-
-
Save lextra2/7b87cfd6b2c631e245e2ec4b2a725994 to your computer and use it in GitHub Desktop.
FFMPEG.BAT - Same as https://gist.github.com/lextra2/4722bde44949990ae98af192ccd7799d but for .avs and no audio. Writes SSIM+PSNR to .log file. Requires all files to be in the same location.
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
mkdir ENCODED | |
for %%a in (*.avs) do ( | |
ffmpeg -y -i "%%a" -c:v libx264 -x264-params "ssim=1:psnr=1:pass=1" -preset medium -tune animation -b:v 3500K -vf format=yuv420p10le -color_range 1 -color_primaries 1 -color_trc 1 -colorspace 1 "ENCODED\%%~na.mkv" | |
ffmpeg -report -benchmark -y -i "%%a" -c:v libx264 -x264-params "ssim=1:psnr=1:pass=2" -preset medium -tune animation -b:v 3500K -vf format=yuv420p10le -color_range 1 -color_primaries 1 -color_trc 1 -colorspace 1 "ENCODED\%%~na.mkv" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment