[FFmpeg-devel] [PATCH 2/3] lavfi/ebur128: add metadata injection. - volnorm.patch (0/1)

Clément Bœsch ubitux at gmail.com
Fri May 3 14:13:05 CEST 2013

On Fri, May 03, 2013 at 12:09:23PM +0200, Nicolas George wrote:
> [ Volume normalization based on ebur128 measurements. ]
> Concerning the reactivity problem, I believe the best course of action is to
> use the momentary loudness (lavfi.r128.M) and add a new filter to smooth the
> value over time, by computing a sliding average, or in fact any kind of
> low-pass filter. The best would be something that reacts very quickly to
> long-term tendencies but smooths completely short-term variations.
> I believe the short term loudness (lavfi.r128.S) is not suitable because it
> only takes the past into account. To use it, we would need to use the value
> at t+1.5 to adjust the frame at t.

Random thought: use M, and smooth it with S. M is short enough to be
accurate, and S has some smooth properties.

Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130503/0d50c7b3/attachment.asc>

More information about the ffmpeg-devel mailing list