Created
July 6, 2019 22:55
-
-
Save jamesmichiemo/88fda4b4ab95053bf809744b8794cac0 to your computer and use it in GitHub Desktop.
ffmpeg options for instagram clips
This file contains hidden or 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
| # frames per sec | |
| ffmpeg -r 30 \ | |
| -f image2 \ | |
| # resolution | |
| -s 1080x1080 \ | |
| # frame number to start at | |
| -start_number 1 \ | |
| # sequence for images with leading zeros | |
| -i gaus-%04d.png \ | |
| # audio | |
| -i dream.mp3\ | |
| # frame number to end with | |
| -vframes 500 \ | |
| # select h264 codec | |
| -vcodec libx264 \ | |
| # quality level | |
| -crf 25 \ | |
| # pixel format | |
| -pix_fmt yuv420p \ | |
| # time for clipping the end of stream | |
| -t 00:00:15.0 gauss.mp4 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://hamelot.io/visualization/using-ffmpeg-to-convert-a-set-of-images-into-a-video/