Render video's compatible with our encodes

so they don't need transcoding to be prepended
This commit is contained in:
Mark Janssen 2024-11-06 20:25:35 +01:00
parent 5c430ba100
commit 04e26c8d55
No known key found for this signature in database
GPG key ID: D8674D8FC4F69BD2

View file

@ -104,7 +104,8 @@ do
done done
echo "Rendering to video" echo "Rendering to video"
ffmpeg -framerate 30 -i frame-%d.webp -c:v libx264 -r 30 ${VIDEODIR}/${PROJECT}-x264.mkv #ffmpeg -framerate 30 -i frame-%d.webp -c:v libx264 -r 30 ${VIDEODIR}/${PROJECT}-x264.mkv
ffmpeg -framerate 30 -i frame-%d.webp -c:v vp9 -r 30 ${VIDEODIR}/${PROJECT}-vp9.webm #ffmpeg -framerate 30 -i frame-%d.webp -c:v vp9 -r 30 ${VIDEODIR}/${PROJECT}-vp9.webm
ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -framerate 30 -i frame-%d.webp -c:a aac -c:v libx264 -shortest -profile:v baseline -pix_fmt yuv420p -colorspace:v 'bt709' -color_primaries:v 'bt709' -color_trc:v 'bt709' -color_range:v 'tv' -r 30 ${VIDEODIR}/${PROJECT}-x264.mkv
#rm *.svg frame-*.webp #rm *.svg frame-*.webp