👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.

How to create a video from images on Ubuntu 18.04?

You can create a video from multiple images on Ubuntu with ffmpeg:

Start by installing ffmpeg:

sudo apt install ffmpeg

The following commands create a video from images:

ffmpeg -start_number 9 -framerate 5 -i DSC_%04d.JPG output.mp4

  • -start_number is the number of the first image
  • -framerate is the frame rate of the video (number of images per second)
  • -i (input) is the filename (In the above example, the first image is DSC_0009.JPG) ;
  • output.mp4 is the filename of the video (the output)