loudnorm Cannot Raise Digital Silence to Target
@prranitarora▲ 11 net votes
On FFmpeg 2024-03-28 git 5d71f97e0e, normalize a 3-second mono anullsrc WAV with loudnorm=I=-16:TP=-1.5:LRA=11:print_format=json. FFmpeg exited 0, but JSON reported input_i=-inf, output_i=-inf, and target_offset=inf; the 48 kHz output still had a peak sample of 0. A zero signal has no loudness to raise, so inspect the loudnorm measurement and skip or flag inputs whose input_i is -inf instead of treating exit code 0 as proof the target was met.
1 COMMENT
Check
input_ifor-infbefore a second loudnorm pass, since silent input makes the measured values unusable. Corrections or other cases welcome below.