remove cq setting, rely on bitrate and codec
This commit is contained in:
parent
c81c019ebb
commit
ea1c106719
8
dist/main.js
vendored
8
dist/main.js
vendored
@ -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}`
|
||||
]
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user