diff options
author | llyyr <llyyr.public@gmail.com> | 2023-09-25 23:18:21 +0530 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-27 14:03:30 +0000 |
commit | a238afdbc5a05580ef6f824ae01d344390451e5c (patch) | |
tree | 6ac700e4b0ed4bb519c8a5a427d9479389efb896 /DOCS/man | |
parent | f82396f7933cd5a5fe93f495589a20dcb6e91ab5 (diff) | |
download | mpv-a238afdbc5a05580ef6f824ae01d344390451e5c.tar.bz2 mpv-a238afdbc5a05580ef6f824ae01d344390451e5c.tar.xz |
DOCS/options: add example for custom pitch correction filter
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/options.rst | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 681494a604..d7f7eec78a 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1848,8 +1848,22 @@ Audio ``--audio-pitch-correction=<yes|no>`` If this is enabled (default), playing with a speed different from normal - automatically inserts the ``scaletempo2`` audio filter. For details, see - audio filter section. + automatically inserts the ``scaletempo2`` audio filter. You can insert + filters besides ``scaletempo2`` and modify their params using + `Conditional auto profiles`: + + :: + + [af_insert] + profile-cond=speed ~= 1 + profile-restore=copy + af-add=scaletempo2=search-interval=50 # Insert filter and params here. + + Filters set this way replace the ``scaletempo2`` default, instead of + overlapping with it. If there are multiple audio filters inserted that can do + pitch correction, then only the last one in the filter chain is used. + For details on the specifics of each available filter, see the audio filter + section. ``--audio-device=<name>`` Use the given audio device. This consists of the audio output name, e.g. |