[FFmpeg-devel] [PATCH] AC3 volume options

Justin Ruggles justinruggles
Sun Dec 16 23:21:42 CET 2007

Michael Niedermayer wrote:
> On Sun, Dec 16, 2007 at 10:20:12AM -0500, Justin Ruggles wrote:
> [...]
>> I like Andreas' suggestion to make the dialog normalization value more
>> universal.  I think a floating-point decibel value for the dialog level
>> would be appropriate.
> i think a simple float scale factor is a better choice, its more readily
> useable than a value in decibel
> that is 
> sample[x] * factor 
> vs.
> sample[x] * pow(10, decibel/10)

Personally, I think it's more intuitive in decibels because it's not a
scale factor to be applied to output, but rather a comparison between
dialog level and maximum level.  To say that the dialog level is the
maximum level * 0.028 makes less sense to me than to say that the dialog
level is 31 decibels below the maximum level.


More information about the ffmpeg-devel mailing list