Audio normalization is the process of adjusting volume to a target level. loudnorm is FFmpeg's two-pass loudness normalizer, which targets the broadcast standard of -23 LUFS for streaming and -16 LUFS for podcasts. It is the right tool when you need consistent volume across multiple sources or a deliverable to a spec.

The command

ffmpeg -i input.mp4 -filter:a loudnorm output.mp4

What it does

FFmpeg analyzes the audio's loudness across the whole timeline and applies gain to reach the target. The default target is -23 LUFS (broadcast standard), with a true peak ceiling of -2 dBTP. The filter is a single-pass implementation; for precise two-pass normalization, add the parameters :I=-23:TP=-2:LRA=11 and run twice with the measured values from the first pass.

When to use it

For consistent volume across a series of episodes, for delivery to a loudness spec, and for matching the volume of a home recording to a professional source. loudnorm is also useful as a final pass on a mix to ensure the output hits the target without clipping.

Audio requirements

Any decodable audio. loudnorm works on the audio stream, not the video, so the video is unaffected. For best results, use the two-pass mode: run once, capture the measured values, run again with those values as input. Single-pass is faster but less precise on highly dynamic content.

Things to avoid

  • Using single-pass loudnorm on highly dynamic content like music. The filter makes a single analysis pass and may not converge on the target. Two-pass is more accurate.
  • Forgetting that loudnorm does not compress. It applies gain to reach the target; if the source is too dynamic, the result will pump. Combine with acompressor for a more controlled result.
  • Normalizing audio that is already at the target. loudnorm will still apply a small adjustment, which can introduce pumping. Probe the loudness with ffmpeg -i input.mp4 -af volumedetect -f null - first.
  • Forgetting that loudnorm is not a limiter. The output can clip if the source has peaks above 0 dBFS and the target requires more gain. Combine with alimiter for a safe ceiling.