From 1e448d2e99ff47b17d03aa5979d893b425ee7ab1 Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Fri, 2 Dec 2022 08:25:48 +0100 Subject: Add prototype for limiting fps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: doesn’t update the fps metadata info; needs another pass. --- roles/prerec/templates/reencode.sh | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'roles/prerec') diff --git a/roles/prerec/templates/reencode.sh b/roles/prerec/templates/reencode.sh index 7ae3234..66c2f57 100755 --- a/roles/prerec/templates/reencode.sh +++ b/roles/prerec/templates/reencode.sh @@ -7,7 +7,8 @@ q=32 cpu=4 time_limit="" print_only=false -resolution=1080 +limit_resolution=1080 +limit_fps=30.01 while getopts :q:c:t:s OPT; do case $OPT in @@ -32,8 +33,18 @@ shift `expr $OPTIND - 1` OPTIND=1 command="$(cat<