From 222899fbbe523320e66ae1600fabe45b58d48686 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 17 Mar 2017 16:49:28 +0100 Subject: af_drc: remove Remove low quality drc filter. Anyone whishing to have dynamic range compression should use the much more powerful acompressor ffmpeg filter: mpv --af=lavfi=[acompressor] INPUT Or with parameters: mpv --af=lavfi=[acompressor=threshold=-25dB:ratio=3:makeup=8dB] INPUT Refer to https://ffmpeg.org/ffmpeg-filters.html#acompressor for a full list of supported parameters. Signed-off-by: wm4 --- DOCS/interface-changes.rst | 1 + DOCS/man/af.rst | 23 ----------------------- DOCS/mplayer-changes.rst | 2 +- 3 files changed, 2 insertions(+), 24 deletions(-) (limited to 'DOCS') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index c82b0a62d0..911f6f8717 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -25,6 +25,7 @@ Interface changes - remove ppm, pgm, pgmyuv, tga choices from the --screenshot-format and --vo-image-format options - the "jpeg" choice in the option above now leads to a ".jpg" file extension + - --af=drc is gone (you can use e.g. lavfi/acompressor instead) --- mpv 0.24.0 --- - deprecate --hwdec-api and replace it with --opengl-hwdec-interop. The new option accepts both --hwdec values, as well as named backends. diff --git a/DOCS/man/af.rst b/DOCS/man/af.rst index 4c91b5a9b5..040b44cd64 100644 --- a/DOCS/man/af.rst +++ b/DOCS/man/af.rst @@ -319,29 +319,6 @@ Available filters are: the mixing matrix at runtime, without reinitializing the entire filter chain. -``drc[=method:target]`` - Applies dynamic range compression. This maximizes the volume by compressing - the audio signal's dynamic range. (Formerly called ``volnorm``.) - - ```` - Sets the used method. - - 1 - Use a single sample to smooth the variations via the standard - weighted mean over past samples (default). - 2 - Use several samples to smooth the variations via the standard - weighted mean over past samples. - - ```` - Sets the target amplitude as a fraction of the maximum for the sample - type (default: 0.25). - - .. note:: - - This filter can cause distortion with audio signals that have a very - large dynamic range. - ``scaletempo[=option1:option2:...]`` Scales audio tempo without altering pitch, optionally synced to playback speed (default). diff --git a/DOCS/mplayer-changes.rst b/DOCS/mplayer-changes.rst index df33f66e3f..7c8ec50a90 100644 --- a/DOCS/mplayer-changes.rst +++ b/DOCS/mplayer-changes.rst @@ -212,7 +212,7 @@ Command Line Switches ``-no`` ``--no-`` (add a dash) ``-a52drc level`` ``--ad-lavc-ac3drc=level`` ``-ac spdifac3`` ``--ad=spdif:ac3`` (see ``--ad=help``) - ``-af volnorm`` ``--af=drc`` (renamed) + ``-af volnorm`` (removed; use acompressor ffmpeg filter instead) ``-afm hwac3`` ``--ad=spdif:ac3,spdif:dts`` ``-ao alsa:device=hw=0.3`` ``--ao=alsa:device=[hw:0,3]`` ``-aspect`` ``--video-aspect`` -- cgit v1.2.3