Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question already has an answer here:

I’d like to use FFmpeg to transform all images from the current directory to a video. The image file name is not like, image1.jpg and image2.jpg.

share|improve this question

migrated from stackoverflow.com Sep 15 '11 at 6:04

This question came from our site for professional and enthusiast programmers.

marked as duplicate by fixer1234, random Feb 27 at 3:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
What do the filenames look like, if they don't look like image1.jpg, image2.jpg, etc..? –  sarnold Sep 14 '11 at 22:08
    
Depending on what system you're on (Windows / Linux), here are answers: For Linux: superuser.com/a/624573/167207 For Windows: superuser.com/a/467551/153054 –  Assad Ebrahim Aug 28 '12 at 20:28

1 Answer 1

You can use the following to add all images with a jpg extension to an mp4 video

ffmpeg -framerate 1 -pattern_type glob -i '*.jpg' video.mp4
share|improve this answer