From 3f0139e5db88b447a408547e0a59e071214e0cec Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Wed, 12 Mar 2014 11:14:10 +0100 Subject: af_volume: add replaygain support This adds the options replaygain-track and replaygain-album. If either is set, the replaygain track or album gain will be automatically read from the track metadata and the volume adjusted accordingly. This only supports reading REPLAYGAIN_(TRACK|ALBUM)_GAIN tags. Other formats like LAME's info header would probably require support from libav. --- DOCS/man/en/af.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'DOCS/man/en') diff --git a/DOCS/man/en/af.rst b/DOCS/man/en/af.rst index 65fa578dbe..902b9803fb 100644 --- a/DOCS/man/en/af.rst +++ b/DOCS/man/en/af.rst @@ -279,6 +279,12 @@ Available filters are: Sets the desired gain in dB for all channels in the stream from -200dB to +60dB, where -200dB mutes the sound completely and +60dB equals a gain of 1000 (default: 0). + ``replaygain-track`` + Adjust volume gain according to the track-gain replaygain value stored + in the file metadata. Note that this only supports reading REPLAYGAIN_* + tags, as written by mp3gain, metaflac, etc... + ``replaygain-album`` + Like replaygain-track, but using the album-gain value instead. ```` Turns soft clipping on. Soft-clipping can make the sound more smooth if very high volume levels are used. Enable this -- cgit v1.2.3