home/Bin/timelapse.sh

9 lines
220 B
Bash
Raw Normal View History

2017-07-22 13:46:47 +02:00
#! /bin/bash
ls -1tr | grep -v files.txt > files.txt
mencoder -nosound -noskip -oac copy -ovc copy -o output.avi -mf fps=15 'mf://@files.txt'
ffmpeg -i output.avi -y -s hd1080 -sameq final.avi
rm files.txt output.avi