Create timelaps video

From wiki.network-crawler.de
Jump to: navigation, search
for i in *.JPG; do convert $i -resize x720 $(basename $i .JPG).jpg; done
x=1; for i in *jpg; do counter=$(printf %04d $x); mv "$i" "$counter".jpg; x=$(($x+1)); done
#avconv -i '%04d.jpg' -r 10  -b 4000k -minrate 4000k -maxrate 4000k -bufsize 100M out.mkv
avconv -i '%04d.bmp' -r 25 -b:v 99M out.mkv