Create a gist now

Instantly share code, notes, and snippets.

Embed
timelapse_converter
#!/bin/sh
# Collect the jpg's
ls *.jpg stills.txt
# Create the video (mencoder)
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:aspect=16/9:vibrate=8000000 -vf scale=1920:1080 -o timelapse.avi -mf type=jpeg:fps=24 mf://@stills.txt
# TODO: Upload to YouTube?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment