From 72d52d1580db5a8e42fea7cb082e24c2abddada1 Mon Sep 17 00:00:00 2001 From: matty Date: Sat, 13 Apr 2024 17:12:51 -0400 Subject: [PATCH] replace -crf 30 with -cq 30 (no difference) --- dist/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main.js b/dist/main.js index 91cd168..038ba91 100644 --- a/dist/main.js +++ b/dist/main.js @@ -167,7 +167,7 @@ async function vodBuilder(params) { // `-bufsize ${targetBitrate * 2}`, //`-crf 21`, // increased 19 to 21, file size massive `-profile:v${streamSuffix} high`, - `-crf 30`, + `-cq 30`, `-c:v${streamSuffix} h264_nvenc` ] }; @@ -197,7 +197,7 @@ async function liveBuilder(params) { // `-r:v${streamSuffix} ${fps}`, `-profile:v${streamSuffix} high`, `-c:v${streamSuffix} h264_nvenc`, - `-crf 30` + `-cq 30` // `-g:v${streamSuffix} ${fps * 2}`, // `-b:v${streamSuffix} ${targetBitrate}`, // `-bufsize ${targetBitrate * 2}`,