Encoding-scripts/all/all.bat

37 lines
3.4 KiB
Batchfile
Raw Permalink Normal View History

2023-01-30 17:43:20 +01:00
@echo off
for %%f in (*.mp4) do (
echo Render batch started, current time %TIME% >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
echo - Starting to render Twitch Settings
ffmpeg -i FNAF.mp4 -c:v libx264 -preset veryfast -b:v 180k -vf scale=284:160 -r 30 -c:a aac -b:a 64k twitch160p.mp4
echo -- Twitch - 160p render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libx264 -preset veryfast -b:v 500k -vf scale=640:360 -r 30 -c:a aac -b:a 128k twitch360p.mp4
echo -- Twitch - 360p render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libx264 -preset veryfast -b:v 1000k -vf scale=852:480 -r 30 -c:a aac -b:a 128k twitch480p.mp4
echo -- Twitch - 480p render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libx264 -preset veryfast -b:v 3000k -vf scale=1280:720 -r 60 -c:a aac -b:a 160k twitch720p.mp4
echo -- Twitch - 720p render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libx264 -preset veryfast -b:v 4500k -vf scale=1920:1080 -r 30 -c:a aac -b:a 192k twitch1080p4500.mp4
echo -- Twitch - 1080p30 render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libx264 -preset veryfast -b:v 6000k -vf scale=1920:1080 -r 60 -c:a aac -b:a 192k twitch1080p6000.mp4
echo -- Twitch - 1080p 6000kbps render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
echo ------- Twitch renders done -------
echo - Starting to render Youtube Settings
ffmpeg -i FNAF.mp4 -c:v libx264 -preset fast -b:v 5498k -vf scale=1920x1080 -r 60 -c:a aac -b:a 130k yt1080p.mp4
echo -- Youtube - 1080p render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libx264 -preset fast -b:v 3195k -vf scale=1280x720 -r 60 -c:a aac -b:a 130k yt720p.mp4
echo -- Youtube - 720p render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libx264 -preset fast -b:v 1014k -vf scale=854x480 -r 30 -c:a aac -b:a 130k yt480p.mp4
echo -- Youtube - 480p render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libx264 -preset fast -b:v 530k -vf scale=640x360 -r 30 -c:a aac -b:a 130k yt360p.mp4
echo -- Youtube - 360p render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libx264 -preset fast -b:v 242k -vf scale=426x240 -r 30 -c:a aac -b:a 66k yt240p.mp4
echo -- Youtube - 240p render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libx264 -preset fast -b:v 107k -vf scale=256x144 -r 30 -c:a aac -b:a 50k yt144p.mp4
echo -- Youtube - 144p render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v h263 -b:v 77k -vf scale=176x144 -r 8 -c:a aac -b:a 22k yt3gp.3gp
echo -- Youtube - 3gp render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libsvtav1 -cpu-used 8 -b:v 3060k -vf scale=1920x1080 -r 60 -c:a libopus -b:a 130k -g 600 -keyint_min 600 -sc_detection false -preset 8 yt1080pav1.mp4
echo -- Youtube - 1080p AV1 render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
ffmpeg -i FNAF.mp4 -c:v libvpx-vp9 -vf scale=1920x1080 -b:v 3601k -g 240 -speed 8 -cpu-used 8 -quality good -c:a libopus -b:a 130k yt1080pvp9.webm
echo -- Youtube - 1080p VP9 render done >> "D:\Files\Videos\Transcoding\TF2 clip test\thingg.txt"
)