On 2016/04/17 1:43, Steve Corrao wrote:
1. run astats or volumedetect to calculate RMS level.

2. If RMS level = X dB, then add Y dB level to match the user specified dB 
level.
     Example:   If RMS level = -30dB, and user specified RMS level = -20dB, 
then add 10dB.

If LUFS can be used instead of RMS, this could be achieved by a two step process. I could not find a tool off the shelf that measures RMS, However, to my understanding, LUFS/LKFS is now the standard method of normalizing audio for broadcast.

1. Measure LUFS using BS1770GAIN.
   http://bs1770gain.sourceforge.net/

2. Transcode the source with FFmpeg with "--vol" option using values parsed earlier.

--
David Shimamoto
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to