[FFmpeg-devel] [PATCH]Sanitize VBR setting for libfdk-aac

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed Sep 12 17:22:33 CEST 2012

On 11/09/2012 4:46 PM, Carl Eugen Hoyos wrote:
>>> -        int mode = avctx->global_quality;
>>> +        int mode = avctx->global_quality / FF_QP2LAMBDA;
>> I'm not really sure how this can be right.
> Please elaborate how this is supposed to be done.

This doesn't make it better in any way. Nothing that uses global_quality uses
the same scale anyway, and libfdk-aac uses a discrete set of values from it. 
Using FF_QP2LAMBDA will only complicate and/or break this functionality.

- Derek

More information about the ffmpeg-devel mailing list