Add 'final2/final2.bat'
parent
d26418d5a4
commit
429964ad1f
|
@ -0,0 +1,54 @@
|
||||||
|
mkdir "final2/%2"
|
||||||
|
mkdir "final2/%2/thumbs"
|
||||||
|
Rem Thumbnails for scrubbing the video
|
||||||
|
Rem ffmpeg -i %1 -c:v libwebp -vf fps=1/10,scale=512x288 "final2/%2/thumbs/output%%03d.webp"
|
||||||
|
|
||||||
|
Rem Medium quality 720p MP4 with MOOV atom
|
||||||
|
Rem ffmpeg -i %1 -vf scale=1280:-2 -b:v 2850K -maxrate:v 3000K -bufsize 3000K -pix_fmt yuv420p -level 32 -profile:v high -preset medium -tune film -sws_flags bicubic -c:v libx264 -c:a aac -b:a 128K -movflags +faststart "final2/%2/720pMQ.mp4"
|
||||||
|
|
||||||
|
Rem High quality 1440p WebM
|
||||||
|
Rem ffmpeg -i %1 -vf scale=2560:-2 -b:v 7000k -minrate 4500k -maxrate 8000k -pix_fmt yuv420p -sws_flags bicubic -tile-columns 4 -sc_threshold 0 -row-mt 1 -threads 10 -quality good -c:v libvpx-vp9 -an -pass 1 -speed 4 "final2/%2/1440pHQ.webm"
|
||||||
|
Rem ffmpeg -i %1 -vf scale=2560:-2 -b:v 7000k -minrate 4500k -maxrate 8000k -pix_fmt yuv420p -sws_flags bicubic -tile-columns 4 -sc_threshold 0 -row-mt 1 -threads 10 -quality good -c:v libvpx-vp9 -an -pass 2 -speed 2 -y "final2/%2/1440pHQ.webm"
|
||||||
|
|
||||||
|
Rem High quality 1080p WebM
|
||||||
|
Rem ffmpeg -i %1 -vf scale=1920:-2 -b:v 4500k -minrate 3000k -maxrate 6000k -pix_fmt yuv420p -sws_flags bicubic -tile-columns 4 -sc_threshold 0 -row-mt 1 -threads 10 -quality good -c:v libvpx-vp9 -an -pass 1 -speed 4 "final2/%2/1080pHQ.webm"
|
||||||
|
Rem ffmpeg -i %1 -vf scale=1920:-2 -b:v 4500k -minrate 3000k -maxrate 6000k -pix_fmt yuv420p -sws_flags bicubic -tile-columns 4 -sc_threshold 0 -row-mt 1 -threads 10 -quality good -c:v libvpx-vp9 -an -pass 2 -speed 2 -y "final2/%2/1080pHQ.webm"
|
||||||
|
|
||||||
|
Rem Medium quality 1080p MP4
|
||||||
|
Rem ffmpeg -i %1 -vf scale=1920:-2 -b:v 3500k -maxrate 4000k -bufsize 4000k -pix_fmt yuv420p -sws_flags bicubic -level 42 -profile:v high -preset medium -c:v libx264 -c:a aac -b:a 226K "final2/%2/1080pMQ.mp4"
|
||||||
|
|
||||||
|
Rem High(er) quality 720p
|
||||||
|
Rem 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 "final2/%2/720pH.mp4"
|
||||||
|
|
||||||
|
Rem Low quality 576p MP4
|
||||||
|
Rem 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 "final2/%2/576pLQ.mp4"
|
||||||
|
|
||||||
|
Rem New 3DS MP4
|
||||||
|
ffmpeg -i %1 -acodec aac -vcodec libx264 -s 800x240 -preset medium -crf 25 "final2/%2/new3ds.mp4"
|
||||||
|
|
||||||
|
Rem 3DS MP4
|
||||||
|
ffmpeg -i %1 -acodec aac -vcodec mpeg4 -s 400x240 -preset medium -crf 25 "final2/%2/3ds.mp4"
|
||||||
|
|
||||||
|
Rem PSP
|
||||||
|
ffmpeg -y -i %1 -flags +bitexact -vcodec libx264 -profile:v baseline -level 3.0 -s 480x272 -r 29.97 -b:v 384k -acodec aac -b:a 96k -ar 48000 -f psp -strict -2 "final2/%2/psp.mp4"
|
||||||
|
|
||||||
|
Rem Discord 8 MB
|
||||||
|
Rem ffmpeg -y -i %1 -vf scale=256:-2 -b:v 30k -maxrate 30k -bufsize 30k -pix_fmt yuv420p -sws_flags bicubic -c:v libx264 -r 7 -c:a aac -b:a 8K "final2/%2/discord8mb.mp4"
|
||||||
|
|
||||||
|
Rem High quality OPUS
|
||||||
|
Rem ffmpeg -i %1 -vn -c:a libopus -b:a 256k "final2/%2/hqOPUS.opus"
|
||||||
|
|
||||||
|
Rem Medium quality OPUS
|
||||||
|
Rem ffmpeg -i %1 -vn -c:a libopus -b:a 130k "final2/%2/mqOPUS.opus"
|
||||||
|
|
||||||
|
Rem Low quality OPUS
|
||||||
|
Rem ffmpeg -i %1 -vn -c:a libopus -b:a 96k "final2/%2/lqOPUS.opus"
|
||||||
|
|
||||||
|
Rem Create HQ thumbnail 20 seconds into the video
|
||||||
|
Rem ffmpeg -i %1 -c:v libwebp -ss 00:00:20.000 -vf scale=1280x720 -vframes 1 "final2/%2/ThumbHQ.webp"
|
||||||
|
|
||||||
|
Rem Create MQ thumbnail 20 seconds into the video
|
||||||
|
Rem ffmpeg -i %1 -ss 00:00:20.000 -vframes 1 -vf scale=640x360 "final2/%2/ThumbMQ.jpg"
|
||||||
|
|
||||||
|
Rem Highest quality 1080p MP4
|
||||||
|
Rem ffmpeg -i %1 -vf scale=1920:-2 -b:v 10000k -maxrate 12000k -bufsize 12000k -pix_fmt yuv420p -sws_flags bicubic -profile:v high -preset medium -c:v h264_nvenc -c:a aac -b:a 226K "final2/%2/1080pHQ.mp4"
|
Loading…
Reference in New Issue