add stream suffix to -c:v for testing
This commit is contained in:
parent
92b9e78076
commit
21b28b35f2
4
dist/main.js
vendored
4
dist/main.js
vendored
@ -167,7 +167,7 @@ async function vodBuilder(params) {
|
|||||||
// `-bufsize ${targetBitrate * 2}`,
|
// `-bufsize ${targetBitrate * 2}`,
|
||||||
//`-crf 21`, // increased 19 to 21, file size massive
|
//`-crf 21`, // increased 19 to 21, file size massive
|
||||||
`-profile:v${streamSuffix} high`,
|
`-profile:v${streamSuffix} high`,
|
||||||
`-c:v h264_nvenc`
|
`-c:v${streamSuffix} h264_nvenc`
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
||||||
@ -195,7 +195,7 @@ 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 h264_nvenc`
|
`-c:v${streamSuffix} h264_nvenc`
|
||||||
// `-g:v${streamSuffix} ${fps * 2}`,
|
// `-g:v${streamSuffix} ${fps * 2}`,
|
||||||
// `-b:v${streamSuffix} ${targetBitrate}`,
|
// `-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
// `-bufsize ${targetBitrate * 2}`,
|
// `-bufsize ${targetBitrate * 2}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user