1
I have a video file which most of its sound is too quiet. I analysed it with FFmpeg (ffmpeg -af volumedetect
) and it gave me the following stats:
n_samples: 1240911872
mean_volume: -31.9 dB
max_volume: -0.0 dB
histogram_0db: 76
histogram_1db: 319
histogram_2db: 681
histogram_3db: 2580
histogram_4db: 8232
histogram_5db: 18019
histogram_6db: 33747
histogram_7db: 60315
histogram_8db: 100737
histogram_9db: 158403
histogram_10db: 242167
histogram_11db: 361734
histogram_12db: 527198
The max volume is already at 0dB so I can't just increase the volume, otherwise it will distort the loudest parts.
How can I increase the mean volume without clipping the peaks?
It's called audio normalization. It's been asked countless number of times. Here's one: http://superuser.com/questions/323119/how-can-i-normalize-audio-using-ffmpeg?s=2%7C1.3353
– Larssend – 2015-07-18T12:07:56.8771@Larsend Sorry, not quite. If the peaks are already at 0 dBFS then normalization can't do anything. – Jamie Hanrahan – 2015-07-18T12:29:48.857
@Larssend, I clearly stated that the max volume is at 0dB, which means it's normalized already. – GetFree – 2015-07-18T14:09:51.900