ffmpeg timelapse
This commit is contained in:
@@ -173,4 +173,16 @@ function testo2() {
|
||||
sadsa
|
||||
|
||||
ls
|
||||
}
|
||||
|
||||
|
||||
function ffmpeg_timelapse() {
|
||||
local DATE=$1
|
||||
|
||||
ls /mnt/a/snaps/$DATE | wc -l || return
|
||||
|
||||
ffmpeg \
|
||||
-pattern_type glob -i "/mnt/a/snaps/$DATE/*.jpg" \
|
||||
-vf 'fps=60' -tune film -preset fast -vsync 0 \
|
||||
"/mnt/a/$DATE.mp4"
|
||||
}
|
Reference in New Issue
Block a user