ffmpeg-album-normalise/README.md

24 lines
716 B
Markdown
Raw Permalink Normal View History

2019-09-04 11:40:57 +10:00
# ffmpeg-album-normalise
Normalise music on an album-by-album basis using FFmpeg loudnorm, à la album ReplayGain
## Usage
FFmpeg loudnorm is a two-pass process. Firstly, run:
```
python scan.py *.mp3
```
This will scan all the specified files for loudness and generate a *levels.json* file in the current directory with the results.
Then run:
```
python normalise.py *.mp3 --outfmt wav
```
This will normalise the (logarithmic) average loudness of the album to -24 LUFS, while preserving the relative differences in loudness between the individual tracks.
You can change the output filetype, output directory, target loudness and other options. Pass the `--help` flag for a list of command line arguments.