This is an old revision of the document!
Audio Normalization
It may happen that you have downloaded different episodes of the same serie from different sources for various reasons and that the audio levels are not consistent.
This method will ensure you normalize as much as possible the audio levels between your files.
The tool is ffmpeg normalize a python script capable of leveraging ffmpeg filters capability.
enable PIP in gentoo for your user (here) then install the tool:
pip install ffmpeg-normalize
there! ready to go:
ffmpeg-normalize *.mkv -c:a aac
check here and here for more information and examples.
this will write all the normalized videos to a subfolder called normalized now check them carefully before replacing originals!