This commit is contained in:
matty 2024-04-13 23:54:50 -04:00
parent 6a150618b9
commit 2ef8b2deec

4
dist/main.js vendored
View File

@ -167,7 +167,7 @@ async function vodBuilder(params) {
//`-b:v${streamSuffix} 0`, //`-b:v${streamSuffix} 0`,
`-bufsize ${targetBitrate * 2}`, `-bufsize ${targetBitrate * 2}`,
`-profile:v${streamSuffix} high`, `-profile:v${streamSuffix} high`,
`-cq 20`, `-cq 21`,
`-rc:v vbr`, `-rc:v vbr`,
`-c:v${streamSuffix} h264_nvenc`, `-c:v${streamSuffix} h264_nvenc`,
`-bf 4` `-bf 4`
@ -199,7 +199,7 @@ async function liveBuilder(params) {
`-r:v${streamSuffix} ${fps}`, `-r:v${streamSuffix} ${fps}`,
`-profile:v${streamSuffix} high`, `-profile:v${streamSuffix} high`,
`-c:v${streamSuffix} h264_nvenc`, `-c:v${streamSuffix} h264_nvenc`,
`-cq 20`, `-cq 21`,
`-g:v${streamSuffix} ${fps * 2}`, `-g:v${streamSuffix} ${fps * 2}`,
`-b:v${streamSuffix} ${targetBitrate}`, `-b:v${streamSuffix} ${targetBitrate}`,
//`-b:v${streamSuffix} 0`, //`-b:v${streamSuffix} 0`,