Skip to content

Instantly share code, notes, and snippets.

@hugows
Created September 26, 2019 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugows/39cf477ac7bb38e42478a14321397062 to your computer and use it in GitHub Desktop.
Save hugows/39cf477ac7bb38e42478a14321397062 to your computer and use it in GitHub Desktop.
Copy stills from Raspberry Pi and turn into timelapse movie
#!/bin/bash
mkdir -p input/
rsync --remove-source-files -a pi@rpi:~/camera/ input/
ffmpeg -r 25 -pattern_type glob -i 'input/*.jpg' -c:v copy timelapse.avi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment