ffmpeg tweak

This commit is contained in:
2018-06-30 13:31:57 +04:00
parent 75e4d26f39
commit 40187f7a4a

View File

@@ -199,15 +199,12 @@ ffmpeg_timelapse() {
FUNCTION_PRELUDE
local DATE="$1"
local PRESET="${2:-"ultrafast"}"
local REST=("${@:3}")
ls "/mnt/a/snaps/$DATE" | wc -l
ffmpeg \
-framerate 60 \
-pattern_type glob -i "/mnt/a/snaps/$DATE/*.jpg" \
-preset "$PRESET" \
"${(@)REST}" \
"${@:2}" \
-y "/mnt/a/$DATE.mp4"
}