home/bin/timelapse.sh
2021-01-24 15:16:13 +01:00

7 lines
228 B
Bash
Executable file

#! /bin/bash
ls -1tr | grep -v files.txt > files.txt
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