Create a Stop-Motion Video With FFmpeg

Here’s how to create a WEBM video based on still images using FFmpeg:

ffmpeg -r 12 -i "frame-%02d.jpg" output.webm

That example:

  1. Sets a FPS (frames per second) rate of 12.
  2. Searches the directory for any file beginning with frame-, containing a two digit serial (%02d), and ending in .jpg. For example: frame-012.jpg would match.
  3. Outputs a file called output.webm.