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

Kyle Swanson k at ylo.ph
Sat May 2 07:50:03 EEST 2020


Hi,

On Tue, Apr 28, 2020 at 12:58 AM Paul B Mahol <onemda at gmail.com> wrote:
>
> 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.

Tested and pushed. Thank you.

Thanks,
Kyle


More information about the ffmpeg-devel mailing list