You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -294,6 +294,12 @@ For more information on the options (`[options]`) available, run `ffmpeg-normali
294
294
295
295
- `-p, --print-stats`: Print loudness statistics for both passes formatted as JSON to stdout.
296
296
297
+
- `--replaygain`: Write [ReplayGain](https://en.wikipedia.org/wiki/ReplayGain) tags to the original file without normalizing.
298
+
299
+
This mode will overwrite the input file and ignore other options.
300
+
301
+
Only works with EBU normalization, and only with .mp3, .mp4/.m4a, .ogg, .opus for now.
302
+
297
303
### EBU R128 Normalization
298
304
299
305
- `-lrt LOUDNESS_RANGE_TARGET, --loudness-range-target LOUDNESS_RANGE_TARGET`: EBU Loudness Range Target in LUFS (default: 7.0).
@@ -488,9 +494,9 @@ If you have to use an outdated ffmpeg version, you can only use `rms` or `peak`
488
494
489
495
### Should I use this to normalize my music collection?
490
496
491
-
Generally, no.
497
+
You can use the `--replaygain` option to write ReplayGain tags to the original file without normalizing. This makes most music players understand the loudness difference and adjust the volume accordingly.
492
498
493
-
When you run `ffmpeg-normalize` and re-encode files with MP3 or AAC, you will inevitably introduce [generation loss](https://en.wikipedia.org/wiki/Generation_loss). Therefore, I do not recommend running this on your precious music collection, unless you have a backup of the originals or accept potential quality reduction. If you just want to normalize the subjective volume of the files without changing the actual content, consider using [MP3Gain](http://mp3gain.sourceforge.net/) and [aacgain](http://aacgain.altosdesign.com/).
499
+
If you decide to run `ffmpeg-normalize`with the default options, it will encode the audio with PCM audio (the default), and the resulting files will be very large. You can also choose to re-encode the files with MP3 or AAC, but you will inevitably introduce [generation loss](https://en.wikipedia.org/wiki/Generation_loss). Therefore, I do not recommend running this kind of destructive operation on your precious music collection, unless you have a backup of the originals or accept potential quality reduction.
0 commit comments