fuck it, cq 24

This commit is contained in:
matty 2024-04-13 19:45:24 -04:00
parent 940ca6d751
commit 8483a37bae

4
dist/main.js vendored
View File

@ -166,7 +166,7 @@ async function vodBuilder(params) {
`-b:v${streamSuffix} ${targetBitrate}`, `-b:v${streamSuffix} ${targetBitrate}`,
`-bufsize ${targetBitrate * 2}`, `-bufsize ${targetBitrate * 2}`,
`-profile:v${streamSuffix} high`, `-profile:v${streamSuffix} high`,
`-cq 22`, `-cq 24`,
`-rc:v vbr`, `-rc:v vbr`,
`-c:v${streamSuffix} h264_nvenc`, `-c:v${streamSuffix} h264_nvenc`,
`-bf 4` `-bf 4`
@ -198,7 +198,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 22`, `-cq 24`,
`-g:v${streamSuffix} ${fps * 2}`, `-g:v${streamSuffix} ${fps * 2}`,
`-b:v${streamSuffix} ${targetBitrate}`, `-b:v${streamSuffix} ${targetBitrate}`,
`-bufsize ${targetBitrate * 2}`, `-bufsize ${targetBitrate * 2}`,