home/bin/timelapse.sh

8 lines
228 B
Bash
Raw Normal View History

2017-07-22 13:46:47 +02:00
#! /bin/bash
ls -1tr | grep -v files.txt > files.txt
2020-04-25 21:01:04 +02:00
mencoder -nosound -noskip -oac copy -ovc copy -o output.avi -mf fps=20 'mf://@files.txt'
ffmpeg -i output.avi -y -sameq -vf scale=1920:1440,crop=1920:1080 output-final.avi