|
|
|
|
|
by lwneal
2353 days ago
|
|
This is a great use of a Makefile- notice how the audio file will only be downloaded if it does not already exist. That said, if you're just looking for a simple one-liner you can paste into the terminal, my go-to is this one: cat *.jpg *.JPG *.jpeg | ffmpeg -r .5 -i - -vf "scale=w=1280:h=720:force_original_aspect_ratio=2,crop=1280:720" -y slideshow.mp4
There are many approaches described in [1], but none of them handle varying aspect ratios, which I find to be the most common problem when creating slideshows.[1] https://trac.ffmpeg.org/wiki/Slideshow |
|