[FFmpeg-user] HOW TO APPLY LOUDNESS R128 PROFILE

Marco Mircoli nuvolablux at gmail.com
Wed Sep 23 15:16:31 EEST 2020


Hello',
    I'm a newbie.
Just bought a php script that use ffmpeg.
it converts to mp3/96 all media uploaded in a unique format.
this is the line
$shell     = shell_exec("$ffmpeg_b -i $audio_file_full_path -map 0:a:0 -b:a
96k $audio_output_mp3 2>&1");

I'm wondering if it is possible to include in the conversion the audio
level normalization to R128 loudness profile.
I think it is possible, but I don't know how to do it :-(
Consider is a web script with server call, so it would be nice to have just
one call (or command)
as here below:
$shell     = shell_exec("$ffmpeg_b -i $audio_file_full_path -map 0:a:0 -b:a
96k $audio_output_mp3 2>&1");
Thanks in advance.
S.


More information about the ffmpeg-user mailing list