add vbr_hq and cq 25
This commit is contained in:
parent
2ef8b2deec
commit
5a20d190b1
12
dist/main.js
vendored
12
dist/main.js
vendored
@ -167,9 +167,9 @@ async function vodBuilder(params) {
|
|||||||
//`-b:v${streamSuffix} 0`,
|
//`-b:v${streamSuffix} 0`,
|
||||||
`-bufsize ${targetBitrate * 2}`,
|
`-bufsize ${targetBitrate * 2}`,
|
||||||
`-profile:v${streamSuffix} high`,
|
`-profile:v${streamSuffix} high`,
|
||||||
`-cq 21`,
|
`-cq 25`,
|
||||||
`-rc:v vbr`,
|
`-rc:v vbr_hq`,
|
||||||
`-c:v${streamSuffix} h264_nvenc`,
|
//`-c:v${streamSuffix} h264_nvenc`,
|
||||||
`-bf 4`
|
`-bf 4`
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
@ -198,13 +198,13 @@ async function liveBuilder(params) {
|
|||||||
`-tune ${pluginSettings.liveQuality}`,
|
`-tune ${pluginSettings.liveQuality}`,
|
||||||
`-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 21`,
|
`-cq 25`,
|
||||||
`-g:v${streamSuffix} ${fps * 2}`,
|
`-g:v${streamSuffix} ${fps * 2}`,
|
||||||
`-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`,
|
`-rc:v vbr_hq`,
|
||||||
`-bf 4`
|
`-bf 4`
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user