diff options
author | Dorian Rudolph <dorianrudo97@googlemail.com> | 2020-07-25 18:02:58 +0200 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2020-07-27 00:57:22 +0200 |
commit | 785a2b126152d50ca43f6ce390b3a2114a469dad (patch) | |
tree | 15726491c518cf8222f6cac2cef40b04f6734190 /DOCS | |
parent | b5368980a83a4308c710c2258a66623a7f63aabd (diff) | |
download | mpv-785a2b126152d50ca43f6ce390b3a2114a469dad.tar.bz2 mpv-785a2b126152d50ca43f6ce390b3a2114a469dad.tar.xz |
audio: add scaletempo2 filter based on chromium
scaletempo2 is a new audio filter for playing back
audio at modified speed and is based on chromium
commit 51ed77e3f37a9a9b80d6d0a8259e84a8ca635259.
It sounds subjectively better than the existing
implementions scaletempo and rubberband.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/af.rst | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/DOCS/man/af.rst b/DOCS/man/af.rst index 5c2b066a6b..55bf3d0f85 100644 --- a/DOCS/man/af.rst +++ b/DOCS/man/af.rst @@ -161,6 +161,28 @@ Available filters are: Would play media at 1.2x normal speed, with audio at normal pitch. Changing playback speed would change pitch, leaving audio tempo at 1.2x. + +``scaletempo2[=option1:option2:...]`` + Scales audio tempo without altering pitch. + The algorithm is ported from chromium and uses the + Waveform Similarity Overlap-and-add (WSOLA) method. + It seems to achieve a higher audio quality than scaletempo and rubberband. + + By default, the ``search-interval`` and ``window-size`` parameters + have the same values as in chromium. + + ``min-speed=<speed>`` + Mute audio if the playback speed is below ``<speed>``. (default: 0.25) + + ``max-speed=<speed>`` + Mute audio if the playback speed is above ``<speed>`` + and ``<speed> != 0``. (default: 4.0) + + ``search-interval=<amount>`` + Length in milliseconds to search for best overlap position. (default: 30) + + ``window-size=<amount>`` + Length in milliseconds of the overlap-and-add window. (default: 20) ``rubberband`` High quality pitch correction with librubberband. This can be used in place |