mpv: clear-speed: Use firefox’s scaletempo config

This commit is contained in:
Simon Bruder 2021-03-12 15:09:48 +01:00
parent 168e492c12
commit 3b2f41f18a
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -216,8 +216,10 @@ in
tscale-clamp = 0.0;
};
# adapted from https://github.com/mpv-player/mpv/issues/4418#issuecomment-368272929
clear-speed.af-add = "scaletempo=stride=18:overlap=.6:search=10";
# adapted from firefoxs SoundTouch configuration (10ms sequence,
# 15ms seek window, 8ms overlap)
# https://searchfox.org/mozilla-central/rev/9ae77e4ce3378bd683ac9a86b729ea6b6bd22cb8/dom/media/AudioStream.cpp#173
clear-speed.af-add = "scaletempo=stride=10:search=15:overlap=.53333";
};
scripts = [