fix syntax error
This commit is contained in:
parent
35ffb74383
commit
ee56666c33
4
dist/main.js
vendored
4
dist/main.js
vendored
@ -197,10 +197,10 @@ async function liveBuilder(params) {
|
|||||||
`-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 22`
|
`-cq 22`,
|
||||||
`-g:v${streamSuffix} ${fps * 2}`,
|
`-g:v${streamSuffix} ${fps * 2}`,
|
||||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
`-bufsize ${targetBitrate * 2}`,
|
`-bufsize ${targetBitrate * 2}`
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user