[FFmpeg-devel] [PATCH v1 1/4] avfilter/af_loudnorm: Add file option for the measured stats

Kyle Swanson k at ylo.ph
Fri Apr 10 01:07:50 EEST 2020


Hi,

On Thu, Apr 9, 2020 at 10:57 AM Nicolas George <george at nsup.org> wrote:
> There is JSON-specific code in af_loudnorm.c, there should not be, I
> think we should start here.
>
> My opinion is we should rework ffprobe's writers and move them to lavu.
> That would be the first step.

Is there already a helper API for filters (or codecs) that output a
statistics file? If not, that's probably a pretty big undertaking. In
the codec case, there are probably stats files which we have no
control over, since they are written directly by some linked library.
As an aside, I've often thought about improving the 2-pass version of
this filter and not reuse the AGC on pass 2. A stats file would be a
requirement for this.

Thanks,
Kyle


More information about the ffmpeg-devel mailing list