Created
February 11, 2017 13:58
-
-
Save rhaamo/45ce5a4e70f8b68ae5ec2fc067ff7b27 to your computer and use it in GitHub Desktop.
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
ffmpeg -r 30 -start_number 0000 -i %04d.jpg -s hd1080 -vcodec libx264 timelapse5.mp4 |
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
a=1 | |
for i in *.JPG; do | |
new=$(printf "%04d.jpg" "$a") #04 pad to length of 4 | |
cp -v -- "$i" "new/$new" | |
let a=a+1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment