[FFmpeg-devel] [PATCH 8/9] avcodec/nvenc: use encoder level options for qmin/qmax

Timo Rothenpieler timo at rothenpieler.org
Fri Jan 31 15:20:33 EET 2025


On 31/01/2025 07:16, Zhao Zhili wrote:
> 
> 
>> On Jan 31, 2025, at 03:40, Timo Rothenpieler <timo at rothenpieler.org> wrote:
>>
>> AV1 uses a vastly different range than what the global options permit,
>> and also for the other codecs the range of the global options is at
>> least misaligned.
> 
> It ’s simpler to update qmin upper threshold than add qmin/qmax for each encoder.
> And there is no mismatch issue between global options and local options.

The three nvenc encoders already have different ranges on those values.
And making the range of the global parameters biggers might have 
implications on other things using them, which now might get values that 
are out of range. So that'd need to be checked individually in every 
encoder now.
So I'm not sure if it's really less or even more work to go that route.


More information about the ffmpeg-devel mailing list