add rc:v vbr and -bf 4
This commit is contained in:
parent
c92e017680
commit
de17b72171
8
dist/main.js
vendored
8
dist/main.js
vendored
@ -167,7 +167,9 @@ async function vodBuilder(params) {
|
||||
`-bufsize ${targetBitrate * 2}`,
|
||||
`-profile:v${streamSuffix} high`,
|
||||
`-cq 24`,
|
||||
`-c:v${streamSuffix} h264_nvenc`
|
||||
`-rc:v vbr`,
|
||||
`-c:v${streamSuffix} h264_nvenc`,
|
||||
`-bf 4`
|
||||
]
|
||||
};
|
||||
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
||||
@ -199,7 +201,9 @@ async function liveBuilder(params) {
|
||||
`-cq 24`,
|
||||
`-g:v${streamSuffix} ${fps * 2}`,
|
||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||
`-bufsize ${targetBitrate * 2}`
|
||||
`-bufsize ${targetBitrate * 2}`,
|
||||
`-rc:v vbr`,
|
||||
`-bf 4`
|
||||
]
|
||||
};
|
||||
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
||||
|
Loading…
Reference in New Issue
Block a user