add -cq option
This commit is contained in:
parent
2d0694dc8c
commit
5c954b4c0d
@ -214,7 +214,8 @@ async function vodBuilder(params: EncoderOptionsBuilderParams) : Promise<Encoder
|
||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||
`-c:v${streamSuffix} h264_nvenc`,
|
||||
`-bufsize ${targetBitrate * 2}`,
|
||||
`-bf 4`
|
||||
`-bf 4`,
|
||||
`-cq 18`
|
||||
]
|
||||
}
|
||||
logger.info(`EncoderOptions: ${JSON.stringify(options)}`)
|
||||
@ -253,6 +254,7 @@ async function liveBuilder(params: EncoderOptionsBuilderParams) : Promise<Encode
|
||||
`-c:v${streamSuffix} h264_nvenc`,
|
||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||
`-bufsize ${targetBitrate * 2}`,
|
||||
`-cq 18`,
|
||||
`-bf 4`
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user