Skip to content

Instantly share code, notes, and snippets.

@mcginty
Created June 14, 2016 05:19
Show Gist options
  • Save mcginty/ab72a8f906a37fee7e6fce07f4220d30 to your computer and use it in GitHub Desktop.
Save mcginty/ab72a8f906a37fee7e6fce07f4220d30 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 -s:v 1920x1080 lapse.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment