Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
selfhost:audionormalize [2024/02/27 14:20] – [Audio Normalization] willy | selfhost:audionormalize [2025/03/19 14:07] (current) – [Audio Normalization] willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | + | ====== | |
- | ====== 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. | 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. | ||
Line 8: | Line 7: | ||
The tool is [[https:// | The tool is [[https:// | ||
- | TBD | + | ===== Installation ===== |
+ | |||
+ | Create a dedicated user, make it part of the **media** group so that it can access your media library: | ||
+ | < | ||
+ | | ||
+ | </ | ||
+ | |||
+ | Now, set **umask 0002** in the //.bashrc// of the user | ||
+ | <file - .bashrc> | ||
+ | umask 0002 | ||
+ | export PATH=/ | ||
+ | </ | ||
+ | so that any created files are accessible by the //media// groups, and also you add the bin path for the installation later on. | ||
+ | |||
+ | enable PIP in gentoo for your user ([[gentoo: | ||
+ | <file - pip.conf> | ||
+ | [global] | ||
+ | break-system-packages = true | ||
+ | user = true | ||
+ | </ | ||
+ | |||
+ | Then you can install the tool: | ||
+ | < | ||
+ | su - ffmpeg-normalize | ||
+ | pip install ffmpeg-normalize | ||
+ | </ | ||
+ | |||
+ | ==== Usage ==== | ||
+ | |||
+ | there! ready to go: | ||
+ | < | ||
+ | cd / | ||
+ | ffmpeg-normalize *.mkv -c:a aac | ||
+ | </ | ||
+ | |||
+ | check [[https:// | ||
+ | |||
+ | this will write all the normalized videos to a subfolder called **normalized** now check them carefully before replacing originals! |