ffmpeg-effect: convert images to 20 s videos, not 10 s - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 0e05adf87285e068b91e817392c20c9a4eea7563 DIR parent 3686b1fd9c49525c66e42a42764ca670643c0d26 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 4 Nov 2021 20:55:52 +0100 ffmpeg-effect: convert images to 20 s videos, not 10 s Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M ffmpeg-effect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/ffmpeg-effect b/ffmpeg-effect @@ -68,7 +68,7 @@ process_filter() { if test "$dur" = "N/A" || test "${dur%.*}" -lt 1; then tmp=/tmp/ffmpeg-effect.$$.mkv trap 'rm -f "$tmp"' EXIT INT TERM HUP - $ffmpeg_common -loop 1 -to 10 -i "$2" -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" "$tmp" + $ffmpeg_common -loop 1 -to 20 -i "$2" -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" "$tmp" set -- $1 "$tmp" $3 fi