From 47d3fc6bc6b55bce76f27d3629015db0616c30e9 Mon Sep 17 00:00:00 2001 From: Nightly Date: Mon, 30 Jan 2023 17:37:37 +0100 Subject: [PATCH] Add 'final3/final3.bat' --- final3/final3.bat | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 final3/final3.bat diff --git a/final3/final3.bat b/final3/final3.bat new file mode 100644 index 0000000..b1ab8ab --- /dev/null +++ b/final3/final3.bat @@ -0,0 +1,13 @@ +mkdir "final3/%2" + +Rem Highest quality 1440p MP4 +ffmpeg -i %1 -vf scale=2560:-2 -b:v 14000k -maxrate 18000k -bufsize 18000k -pix_fmt yuv420p -sws_flags bicubic -profile:v high -preset medium -c:v h264_nvenc -c:a aac -b:a 320K "final3/%2/1080pHQ.mp4" + +Rem High quality 1080p MP4 +ffmpeg -i %1 -vf scale=1920:-2 -b:v 8000k -maxrate 10000k -bufsize 10000k -pix_fmt yuv420p -sws_flags bicubic -level 42 -profile:v high -preset medium -c:v libx264 -c:a aac -b:a 226K "final3/%2/1080pMQ.mp4" + +Rem Medium quality 720p +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 "final3/%2/720pH.mp4" + +Rem Low quality 576p MP4 +ffmpeg -i %1 -vf scale=1024:-2 -b:v 1014K -maxrate:v 1200K -bufsize 1200K -pix_fmt yuv420p -level 32 -profile:v high -preset medium -sws_flags bicubic -c:v libx264 -c:a aac -b:a 96K "final3/%2/576pLQ.mp4" \ No newline at end of file