remove cq setting, rely on bitrate and codec

This commit is contained in:
matty 2024-04-17 13:31:01 -04:00
parent c81c019ebb
commit ea1c106719

8
dist/main.js vendored
View File

@ -235,7 +235,7 @@ async function vodBuilder(params) {
`-b:v${streamSuffix} ${targetBitrate}`,
`-bufsize ${targetBitrate * 2}`,
`-profile:v${streamSuffix} ${pluginSettings.h264Profile}`,
`-cq ${pluginSettings.cqH264}`,
//`-cq ${pluginSettings.cqH264}`,
`-bf 4`
]
};
@ -269,7 +269,7 @@ async function liveBuilder(params) {
`-tune ${pluginSettings.liveQuality}`,
`-r:v${streamSuffix} ${fps}`,
`-profile:v${streamSuffix} ${pluginSettings.h264Profile}`,
`-cq ${pluginSettings.cqH264}`,
//`-cq ${pluginSettings.cqH264}`,
`-g:v${streamSuffix} ${fps * 2}`,
`-b:v${streamSuffix} ${targetBitrate}`,
`-bufsize ${targetBitrate * 2}`,
@ -305,7 +305,7 @@ async function hevcVODBuilder(params) {
`-b:v${streamSuffix} ${targetBitrate}`,
`-bufsize ${targetBitrate * 2}`,
`-profile:v${streamSuffix} ${pluginSettings.hevcProfile}`,
`-cq ${pluginSettings.cqHEVC}`
//`-cq ${pluginSettings.cqHEVC}`
]
};
@ -341,7 +341,7 @@ async function hevcLiveBuilder(params) {
`-profile:v${streamSuffix} ${pluginSettings.hevcProfile}`,
`-g:v${streamSuffix} ${fps * 2}`,
`-b:v${streamSuffix} ${targetBitrate}`,
`-cq ${pluginSettings.cqHEVC}`,
//`-cq ${pluginSettings.cqHEVC}`,
`-bufsize ${targetBitrate * 2}`
]
};