Skip to content

Instantly share code, notes, and snippets.

@kevinjbayer
Last active May 10, 2022 06:57
Show Gist options
  • Save kevinjbayer/06830df571249438799e9f07ca928958 to your computer and use it in GitHub Desktop.
Save kevinjbayer/06830df571249438799e9f07ca928958 to your computer and use it in GitHub Desktop.
Convert Image Sequence to H264 using ffmpeg
ffmpeg -framerate 30 -i DSC_%04d.JPG -c:v libx264 -crf 23 -pix_fmt yuv420p output.mp4
*glob pattern
ffmpeg -framerate 30 -pattern_type glob -i '*.JPG' -c:v libx264 -crf 23 -pix_fmt yuv420p output.mp4
http://trac.ffmpeg.org/wiki/Slideshow
http://stackoverflow.com/questions/13163106/ffmpeg-converting-image-sequence-to-video-results-in-blank-video
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment