How to convert images to video using FFMPEG

FFMPEG has forked into the LibAV project and Ubuntu only ships LibAV. However, I found that only FFMPEG worked correctly with filename patterns for me. You can find out how to install FFMPEG on Ubuntu here.

Assume you have 100 image files named foo-005.png to foo-104.png that are to be converted into a movie. Let us assume we want each image to get 3 seconds of time in the video. The FFMPEG invocation to create this movie file:

$ ffmpeg -framerate 1/3 -pattern_type glob -i "foo-*.png" foo.mp4

Tried with: FFMPEG 2.4.3 and Ubuntu 14.04

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s