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

Nicolas George george at nsup.org
Thu Apr 9 20:57:14 EEST 2020


Limin Wang (12020-04-09):
> My patch set try to make the loudnorm filter easy to use for end user if they
> want to process the volume in two pass.

Yes: you are seeing a problem, and you want to fix it, that's fine.

But the problem you are seeing is part of a wider problem, and fixing
the part you see will make fixing the whole problem harder.

We did things like that many time, and it always caused problems. Let us
not do it again. Since your goal is "make things easier" and not "fix an
exploitable crash", we can take time to do things properly.

>					  I have no clue how to make it common
> yet.

Well, let us start discussing it right now.

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.

What do you think?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200409/1a835981/attachment.sig>


More information about the ffmpeg-devel mailing list