Created
May 4, 2013 17:06
-
-
Save makevoid/5518095 to your computer and use it in GitHub Desktop.
Time lapse tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # run ruby lapse_rename.rb | |
| # then: | |
| # avconv -f image2 -i lapse_%04d.jpg -s hd1080 -threads 8 out.mp4 | |
| files = Dir.glob("*.JPG") | |
| files.sort.each_with_index do |file, idx| | |
| idx += 1 | |
| idx = idx.to_s.rjust 4, "0" | |
| `mv #{file} lapse_#{idx}.jpg` | |
| end |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
avconv is part of libav