remove vbr, bump cq to 26

This commit is contained in:
matty 2024-04-14 01:29:53 -04:00
parent fcc8ecb3ee
commit 3339d58a93

8
dist/main.js vendored
View File

@ -167,8 +167,8 @@ async function vodBuilder(params) {
//`-b:v${streamSuffix} 0`,
`-bufsize ${targetBitrate * 2}`,
`-profile:v${streamSuffix} high`,
`-cq 25`,
`-rc vbr_hq`,
`-cq 26`,
//`-rc vbr`,
//`-c:v${streamSuffix} h264_nvenc`,
`-bf 4`
]
@ -199,12 +199,12 @@ async function liveBuilder(params) {
`-r:v${streamSuffix} ${fps}`,
`-profile:v${streamSuffix} high`,
//`-c:v${streamSuffix} h264_nvenc`,
`-cq 25`,
`-cq 26`,
`-g:v${streamSuffix} ${fps * 2}`,
`-b:v${streamSuffix} ${targetBitrate}`,
//`-b:v${streamSuffix} 0`,
`-bufsize ${targetBitrate * 2}`,
`-rc vbr_hq`,
//`-rc vbr`,
`-bf 4`
]
};