published on
tags: imagemagick ffmpg timelapse

create timelapse move from pictures

A fast and simple way to create timelapse movies out of a bunch of pictures,…

You will need ffmpeg and imagemagick First you will nead a little bash script to rename your images

for i in *jpg; do
    counter=$(printf %03d $x)
    #echo "$i" img_"$counter".jpg
    mv -v "$i" img_"$counter".jpg

Then you need 2 more lines which resize your images and build the movie

mogrify -resize 1280x720 *.jpg
cat *.jpg | ffmpeg -f image2pipe -r 25 -vcodec mjpeg -i - -vcodec libx264 timelapse.mp4