From 5a20d190b1e9ec89b4ae61500c41f35be6bc69c4 Mon Sep 17 00:00:00 2001 From: matty Date: Sun, 14 Apr 2024 01:20:34 -0400 Subject: [PATCH] add vbr_hq and cq 25 --- dist/main.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/main.js b/dist/main.js index a21b3af..6ed7b49 100644 --- a/dist/main.js +++ b/dist/main.js @@ -167,9 +167,9 @@ async function vodBuilder(params) { //`-b:v${streamSuffix} 0`, `-bufsize ${targetBitrate * 2}`, `-profile:v${streamSuffix} high`, - `-cq 21`, - `-rc:v vbr`, - `-c:v${streamSuffix} h264_nvenc`, + `-cq 25`, + `-rc:v vbr_hq`, + //`-c:v${streamSuffix} h264_nvenc`, `-bf 4` ] }; @@ -198,13 +198,13 @@ async function liveBuilder(params) { `-tune ${pluginSettings.liveQuality}`, `-r:v${streamSuffix} ${fps}`, `-profile:v${streamSuffix} high`, - `-c:v${streamSuffix} h264_nvenc`, - `-cq 21`, + //`-c:v${streamSuffix} h264_nvenc`, + `-cq 25`, `-g:v${streamSuffix} ${fps * 2}`, `-b:v${streamSuffix} ${targetBitrate}`, //`-b:v${streamSuffix} 0`, `-bufsize ${targetBitrate * 2}`, - `-rc:v vbr`, + `-rc:v vbr_hq`, `-bf 4` ] };