updates to flake

This commit is contained in:
Chris Cochrun 2023-04-25 09:22:38 -05:00
parent c121332f9b
commit 496a3e15b5
6 changed files with 43 additions and 4 deletions

View file

@ -13,7 +13,9 @@ echo $all
# echo $2
if [ $all ]; then
ffmpeg -framerate 1 -pattern_type glob -i '*.jpg' -c:v libx264 -r 30 -pix_fmt yuv420p slideshow.mp4
ffmpeg -framerate 1 -pattern_type glob -i '*.jpg' \
-vf 'scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1' \
-c:v libx264 -r 30 -pix_fmt yuv420p slideshow.mp4
fi