Skip to content

Instantly share code, notes, and snippets.

@mcginty
Created June 14, 2016 05:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mcginty/ed7e9aae6f48fa440774fd406b1e0ddf to your computer and use it in GitHub Desktop.
#!/bin/bash
find . -name '*.jpg' \
| awk 'BEGIN{ a=0 }{ printf "mv \"%s\" %04d.jpg\n", $0, a++ }' \
| bash
ffmpeg -y -i "%04d.jpg" -framerate 30 -r 30 -c:v prores_ks -b:v 15M -s:v 1920x1080 lapse.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment