From 58a16c0d64ca9ba3bc8861fbaeb19d2630de04aa Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Fri, 2 Dec 2022 08:59:15 +0100 Subject: Drop upwards limiter and only use fps setter --- roles/prerec/templates/reencode.sh | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/roles/prerec/templates/reencode.sh b/roles/prerec/templates/reencode.sh index c9c87e1..63be1d0 100755 --- a/roles/prerec/templates/reencode.sh +++ b/roles/prerec/templates/reencode.sh @@ -8,12 +8,7 @@ cpu=4 time_limit="" print_only=false limit_resolution=1080 -limit_fps=29.99 - -with_suffix() { - suffix="$1" - echo "$input" | sed "s/--original\.\([a-z0-9]*\$\)/--$suffix\.\\1/" -} +limit_fps=30 while getopts :q:c:t:s OPT; do case $OPT in @@ -38,26 +33,18 @@ shift `expr $OPTIND - 1` OPTIND=1 input="$1" -input_limited="$(with_suffix "original-limited")" output="$2" command="$(cat<