summaryrefslogtreecommitdiffstats
path: root/roles/prerec/templates/reencode.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xroles/prerec/templates/reencode.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/prerec/templates/reencode.sh b/roles/prerec/templates/reencode.sh
index 63be1d0..b0bdfc7 100755
--- a/roles/prerec/templates/reencode.sh
+++ b/roles/prerec/templates/reencode.sh
@@ -3,12 +3,12 @@
set -euo pipefail
# Defaults
-q=32
-cpu=4
+q={{ reencode_quality }}
+cpu={{ reencode_cpu }}
time_limit=""
print_only=false
-limit_resolution=1080
-limit_fps=30
+limit_resolution={{ res_y }}
+limit_fps={{ fps }}
while getopts :q:c:t:s OPT; do
case $OPT in