Created
November 10, 2013 06:50
-
-
Save athoik/7394739 to your computer and use it in GitHub Desktop.
Create video slideshow from images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images | |
Using a single image as an input | |
If you want to create a video out of just one image, this will do (output video duration is set to 30 seconds with -t 30): | |
ffmpeg -loop 1 -i img.png -c:v libx264 -t 30 -pix_fmt yuv420p out.mp4 | |
ffmpeg -loop 1 -i img.png -c:v libx264 -r 2 -t 10 -pix_fmt yuv420p out1.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment