Skip to content

Instantly share code, notes, and snippets.

@blaylockbk
Last active March 27, 2020 16:33
Show Gist options
  • Save blaylockbk/b2b8c33f81cd7d8d9778d94ecd96f085 to your computer and use it in GitHub Desktop.
Save blaylockbk/b2b8c33f81cd7d8d9778d94ecd96f085 to your computer and use it in GitHub Desktop.
make a video or movie with ffmpeg
ffmpeg -f image2 -pattern_type glob -framerate 6 -i '*.png' foo.avi
# Retain high resolution
ffmpeg -f image2 -pattern_type glob -framerate 6 -i '*.png' -vb 20M foo.avi
# Convert .mov to .avi
ffmpeg -i file.mov file.avi
@blaylockbk
Copy link
Author

blaylockbk commented Feb 7, 2017

Increase the video quality (bitrate), use the -vb 20M option
ffmpeg -f image2 -pattern_type glob -framerate 6 -i '*.png' -vb 20M foo.avi

Online convert .avi to .mp4 (max file size 100 MB)
https://video.online-convert.com/convert-to-mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment