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.

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.

What do the filenames look like, if they don't look like image1.jpg, image2.jpg, etc..? –  sarnold Sep 14 '11 at 22:08
possible duplicate of ffmpeg: create a video from images –  Thomas W. 23 mins ago
possible duplicate of superuser.com/a/467551/153054 –  Thomas W. 22 mins ago

2 Answers 2

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

Depending on what system you're on (Windows / Linux), here are answers:

For Linux: http://superuser.com/a/624573/167207

For Windows: http://superuser.com/a/467551/153054

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.