From d0d3cc8528ba9447831f8f5cf0ca41006f78989c Mon Sep 17 00:00:00 2001 From: mattmcw Date: Mon, 26 Jul 2021 16:46:01 -0400 Subject: [PATCH] Improve the h264 render command --- render.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/render.sh b/render.sh index 0781e8c..4958ead 100644 --- a/render.sh +++ b/render.sh @@ -2,7 +2,7 @@ povray bounce.ini -ffmpeg -f image2 -i bounce%04d.png -r 30 -vf "crop=ih*(9/16):ih" -b:a 64k -ar 44.1k -movflags faststart -c:v libx264 -strict -2 -preset veryslow -tune psnr -tune ssim -crf 28 dvdbounce_canidate.mkv +ffmpeg -f image2 -i bounce%04d.png -r 30 -filter_complex "color=black,format=rgb24[c];[c][0]scale2ref[c][i];[c][i]overlay=format=auto:shortest=1,setsar=1" -b:a 64k -ar 44.1k -movflags faststart -c:v libx264 -strict -2 -preset veryslow -tune psnr -tune ssim -crf 28 dvdbounce_candidate.mp4 ffmpeg -f image2 -i bounce%04d.png -r 30 -c:v prores_ks -shortest -profile:v 4 dvdbounce_candidate.mov -#rm bounce*.png \ No newline at end of file +rm bounce*.png \ No newline at end of file