[FFmpeg-devel] [PATCH 1/2] lavfi/ebur128: add metadata injection.

Jan Ehrhardt phpdev at ehrhardt.nl
Sun Mar 3 23:26:38 CET 2013


Clément Bœsch in gmane.comp.video.ffmpeg.devel (Sun, 3 Mar 2013 23:12:46
+0100):
>> ebur128=volnorm=I,volume=metadata=lavfi.r128.volume,ebur128=quiet
>
>Should be easy to do; I'll consider this when the normalization is
>upstream. I've also added an experimental true peaks feature recently,
>which means I may need to play with the debug again, so it will be changed
>at the same time.
>
>As a temporary workaround, you can just locate the av_log() in
>filter_frame and change the loglevel.

I know. I had adjusted your first set of patches and changed the av_log
into

av_log(NULL,AV_LOG_DEBUG,"loudness=%f => %f => volume=%f\n", loudness,
	new_volume, pow(10, new_volume / 20));

But I lost that adjustment when I applied your second set of patches.

Jan

BTW: real life testing in Kansas went smoothly. The users did not even
notice the difference.



More information about the ffmpeg-devel mailing list