ffmpeg はオーディオの音量正規化に使用できますか?

ffmpeg はオーディオの音量正規化に使用できますか?

CD マスタリングされたオーディオを Spotify に送信できるように変換する必要があります。

Spotify は CD マスタリングを好みませんが、音量に関する提案がいくつかあります。

https://artists.spotify.com/en/help/article/loudness-normalization

    Target the loudness level of your master at -14dB integrated LUFS 
and keep it below -1dB TP (True Peak) max. This is best for lossy 
formats (Ogg/Vorbis and AAC) and makes sure no extra distortion’s 
introduced in the transcoding process.

    If your master’s louder than -14dB integrated LUFS, make sure 
it stays below -2dB TP (True Peak) to avoid extra distortion. This 
is because louder tracks are more susceptible to extra distortion 
in the transcoding process.

これは ffmpeg で実行できますか? 他のプログラムでも実行できますか?

答え1

確かにできますよ!

これは、loudnorm フィルターを使用して実行できます。

ffmpeg -i input.mp3 -af loudnorm=I=-14:LRA=11:TP=-1 output.mp3

I = 統合された音量

LRA = 音量範囲

TP = 真のピーク

2回目のパスを実行すると、より良い結果が得られるようです。前述のように手動で実行できます。ここ またはffmpeg正規化、一度で完了できます。

同じパラメータを使用した例:

ffmpeg-normalize input.flac -t -14 -lrt 11 -tp -1 output.flac

関連情報