We currently have avi-files that contain MP3-streams. We noticed that our provider cannot ensure that the audio streams are normalized, which is why we use ffmpeg and MP3Gain to demux, normalize and mux the audio part. The main reason for this is that the audio doesn't need to be encoded again.
The plan is to move on with the quality and use mp4-files containing AC3-streams. We assume that again we need to normalise the audio ourselves. We haven't yet received any mp4-file from our provider, but we assume that we can use ffmpeg on them again to demux and mux the audio. However, we currently have no idea how to normalize the audio.
We already thought about extracting each channel separately, converting them to MP3, run MP3Gain on them and see which one is the loudest and then apply the same increase/decrease to all channels. However, that requires lots of encoding and the surround channels probably need other treatment than the front channels.
I guess the complexity comes with the support of more audio channels and - e.g. with 5.1 - how they are somewhat related to each other.
Is there any Windows tool (free preferred), project or source out there that can help us with normalizing the audio either directly in the AC3 or as parts without encoding them again?
There was another question but that one mostly covered theoretical stuff.
I'm sorry if the wording sounds amateurish, but the audio-stuff never was supposed to be a concern for us.
EDIT: I learned that the technique behind this seems to be called ReplayGain.