[FFmpeg-devel] [PATCH] avfilter/af_loudnorm: Don't mix dB and linear values when calculating linear offset with inputs <3s

Paul B Mahol onemda at gmail.com
Tue Apr 28 10:58:58 EEST 2020


On 4/26/20, Sebastian Dröge <slomo at coaxion.net> wrote:
> From: Sebastian Dröge <sebastian at centricular.com>
>
> s->target_i and global are in dB but s->target_tp and true_peak are
> linear. Instead of mixing these in the calculations, convert the former
> first to have all following calculations in the same unit.
> ---
>  libavfilter/af_loudnorm.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>

LGTM, but better ask and CC maintainer directly.


More information about the ffmpeg-devel mailing list