Last active
December 28, 2015 10:49
-
-
Save sybrex/7489459 to your computer and use it in GitHub Desktop.
timelapse
This file contains 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
mkdir ordered | |
x=1 | |
for i in photo2/*JPG; | |
do counter=$(printf %04d $x) | |
ln "$i" ordered1/img"$counter".jpg | |
x=$(($x+1)) | |
done | |
#avconv -r 10 -i ordered1/img%04d.jpg -r 10 -vcodec libx264 -crf 20 -g 15 -vf crop=3840:2134,scale=1920:1080 r1.mp4 | |
#avconv -i r1.mp4 -i audio.mp3 -c:v copy -c:a copy r2.mp4 | |
#avconv -i r2.mp4 -ss 00:00:00 -t 00:00:26 -c:v copy -c:a copy result.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment