From 21b28b35f25bfc2fc3f2c2cecb9b53bca3a725d4 Mon Sep 17 00:00:00 2001 From: matty Date: Sat, 13 Apr 2024 16:59:21 -0400 Subject: [PATCH] add stream suffix to -c:v for testing --- dist/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main.js b/dist/main.js index 4ffd4e5..44e1660 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`, - `-c:v h264_nvenc` + `-c:v${streamSuffix} h264_nvenc` ] }; logger.info(`EncoderOptions: ${JSON.stringify(options)}`); @@ -195,7 +195,7 @@ async function liveBuilder(params) { `-tune ${pluginSettings.liveQuality}`, // `-r:v${streamSuffix} ${fps}`, `-profile:v${streamSuffix} high`, - `-c:v h264_nvenc` + `-c:v${streamSuffix} h264_nvenc` // `-g:v${streamSuffix} ${fps * 2}`, // `-b:v${streamSuffix} ${targetBitrate}`, // `-bufsize ${targetBitrate * 2}`,