From 1a5c038003e5018d6282cbf1e93daa0ca7e4b65c Mon Sep 17 00:00:00 2001 From: Nightly Date: Mon, 30 Jan 2023 17:38:14 +0100 Subject: [PATCH] Add 'final4/final4.bat' --- final4/final4.bat | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 final4/final4.bat diff --git a/final4/final4.bat b/final4/final4.bat new file mode 100644 index 0000000..c30d4d7 --- /dev/null +++ b/final4/final4.bat @@ -0,0 +1,19 @@ +mkdir "final4/%2" + +Rem 1080p +ffmpeg -i %1 -vf "scale=1920:-2" -b:v 6000k -maxrate 8000k -bufsize 8000k -pix_fmt yuv420p -sws_flags bicubic -level 42 -profile:v high -preset medium -c:v libx264 -c:a aac -b:a 320K "final4/%2/1080p.mp4" + +Rem 720pHQ +ffmpeg -i %1 -vf "scale=1280:-2" -b:v 4000k -maxrate 5000k -bufsize 5000k -pix_fmt yuv420p -sws_flags bicubic -level 42 -profile:v high -preset medium -c:v libx264 -c:a aac -b:a 226K "final4/%2/720pH.mp4" + +Rem 720p +ffmpeg -i %1 -vf "scale=1280:-2" -b:v 2000k -maxrate 2250k -bufsize 2250k -pix_fmt yuv420p -r 25 -sws_flags bicubic -level 42 -profile:v high -preset medium -c:v libx264 -c:a aac -b:a 192K "final4/%2/720p.mp4" + +Rem 540p +ffmpeg -i %1 -vf "scale=960:-2" -b:v 1400k -maxrate 1500k -bufsize 1500k -pix_fmt yuv420p -r 25 -sws_flags bicubic -level 42 -profile:v high -preset medium -c:v libx264 -c:a aac -b:a 192K "final4/%2/540p.mp4" + +Rem 360p +ffmpeg -i %1 -vf "scale=640:-2" -b:v 650k -maxrate 700k -bufsize 700k -pix_fmt yuv420p -r 25 -sws_flags bicubic -level 42 -profile:v high -preset medium -c:v libx264 -c:a aac -b:a 128K "final4/%2/360p.mp4" + +Rem 270p +ffmpeg -i %1 -vf "scale=480:-2" -b:v 300k -maxrate 350k -bufsize 350k -pix_fmt yuv420p -r 25 -sws_flags bicubic -level 42 -profile:v high -preset medium -c:v libx264 -c:a aac -b:a 64K "final4/%2/270p.mp4"