Skip to content

Instantly share code, notes, and snippets.

@ogavrisevs
Created April 13, 2017 10:34
Show Gist options
  • Save ogavrisevs/45ac32fc39c2b553ffbe9cec60aed596 to your computer and use it in GitHub Desktop.
Save ogavrisevs/45ac32fc39c2b553ffbe9cec60aed596 to your computer and use it in GitHub Desktop.
Create timelaps from images
x=1; for i in *jpg; do counter=$(printf %04d $x); ln -s "~/timelapse/$i" /tmp/timelaps/img"$counter".jpg; x=$(($x+1)); done
/tmp/timelaps$ ffmpeg -f image2 -i img%04d.jpg a2.mpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment