fix vbr_hq

This commit is contained in:
matty 2024-04-14 01:27:38 -04:00
parent 5a20d190b1
commit fcc8ecb3ee

4
dist/main.js vendored
View File

@ -168,7 +168,7 @@ async function vodBuilder(params) {
`-bufsize ${targetBitrate * 2}`, `-bufsize ${targetBitrate * 2}`,
`-profile:v${streamSuffix} high`, `-profile:v${streamSuffix} high`,
`-cq 25`, `-cq 25`,
`-rc:v vbr_hq`, `-rc vbr_hq`,
//`-c:v${streamSuffix} h264_nvenc`, //`-c:v${streamSuffix} h264_nvenc`,
`-bf 4` `-bf 4`
] ]
@ -204,7 +204,7 @@ async function liveBuilder(params) {
`-b:v${streamSuffix} ${targetBitrate}`, `-b:v${streamSuffix} ${targetBitrate}`,
//`-b:v${streamSuffix} 0`, //`-b:v${streamSuffix} 0`,
`-bufsize ${targetBitrate * 2}`, `-bufsize ${targetBitrate * 2}`,
`-rc:v vbr_hq`, `-rc vbr_hq`,
`-bf 4` `-bf 4`
] ]
}; };