[FFmpeg-user] sound volume normalisation

Bouke (VideoToolShed) bouke at videotoolshed.com
Wed Jun 26 01:58:43 CEST 2013

----- Original Message ----- 
From: "Moritz Barsnick" <barsnick at gmx.net>
To: "FFmpeg user discussions" <ffmpeg-user at ffmpeg.org>
Sent: Wednesday, June 26, 2013 12:18 AM
Subject: Re: [FFmpeg-user] sound volume normalisation

> On Tue, Jun 25, 2013 at 19:56:23 +0200, jacky wrote:
>>  1.   demux video , demux audio
>>  2.   run lame to find out the sound level
> Have you seen ffmpeg's volumedetect filter?
> http://www.ffmpeg.org/ffmpeg-filters.html#volumedetect
> The example says it all.

Not to sound more arrogant than i actually am, I can't praise the Lords of 
R128 Loudness enough.
This  volumedetect is a nice function eg to plot waveforms, (and i did not 
know about it, so thanks!) but the mean_volume seems very much VU to me.
(I could be mistaken though.)
In my daily job i do (amongst other things) broadcast output.
An old fashioned (non EBU R128 compliant) commercial is 6 dB louder than the 
same one levelled conform new specs.
I'm pretty sure (again, i reserve the right to be wrong) this function will 
not see the heavilly compressed / excited / otherwise raped sound as louder 
than a regular show.

And now to set a standard loudness value for ALL sound found on the 
(And while i'm ranting, teach player developers to build in a logarithmic 
volume slider instead of a lineair.)


> Like Bouke writes though, you need to do two-pass, but all within
> ffmpeg.
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user 

More information about the ffmpeg-user mailing list