Skip to content

Instantly share code, notes, and snippets.

@mcginty
Created June 14, 2016 05:18
Show Gist options
  • Save mcginty/ed7e9aae6f48fa440774fd406b1e0ddf to your computer and use it in GitHub Desktop.
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