Encoding-scripts/Draft2/Draft2.bat

4 lines
501 B
Batchfile
Raw Permalink Normal View History

2023-01-30 17:39:24 +01:00
mkdir draft2
ffmpeg -i %1 -vf scale=640x360 -b:v 750k -minrate 256k -maxrate 1088k -g 240 -threads 12 -preset veryfast -crf 34 -c:v h264_nvenc -c:a aac -b:a 160k %1-360p.mp4
ffmpeg -i %1 -vf scale=1280x720 -b:v 3000k -minrate 1500k -maxrate 4350k -g 240 -threads 12 -preset fast -crf 32 -c:v h264_nvenc -c:a aac -b:a 192k %1-720p.mp4
ffmpeg -i %1 -vf scale=1920x1080 -b:v 6000k -minrate 3000k -maxrate 8700k -g 240 -threads 12 -quality good -crf 24 -c:v libvpx-vp9 -c:a libopus -b:a 320k %1-1080p.webm