Add 'final4/final4.bat'
parent
47d3fc6bc6
commit
1a5c038003
|
@ -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"
|
Loading…
Reference in New Issue