[FFmpeg-devel] [PATCH 2/2] lavfi/volume: support volume normalization through metadata.

Jan Ehrhardt phpdev at ehrhardt.nl
Wed Feb 27 16:58:06 CET 2013


Clément Bœsch in gmane.comp.video.ffmpeg.devel (Wed, 27 Feb 2013
14:12:32 +0100):
>On Mon, Feb 25, 2013 at 02:14:04AM +0100, Jan Ehrhardt wrote:
>> There was some noise in the background, so maybe the volume change was a
>> bit overdone (and should be capped). But it looks promising.
>
>Yeah well the idea of that arbitrary check was to prevent raising the
>volume too high (and avoid the noise effect you have). Though, -30 was
>likely a very bad value.

A solution would be to cap the volume increase to, say, 7 or something
like that. The check you used did increase the loudness with about 7
LUFS when 'I' was 29.9, but did nothing at all when 'I' is 30.1. There
is a way in between.

Jan



More information about the ffmpeg-devel mailing list