-- Increase playback speed during silence - a revolution in attention-deficit -- induction technology. -- -- Main repository: https://codeberg.org/ferreum/mpv-skipsilence/ -- -- Based on the script https://gist.github.com/bitingsock/e8a56446ad9c1ed92d872aeb38edf124 -- -- This is inspired by the NewPipe app's built-in "Fast-forward during silence" -- feature. -- -- Note: In mpv version 0.36 and below, the `scaletempo2` filter (default since -- mpv version 0.34) caused audio-video de-synchronization when changing speed -- a lot. This has been fixed in mpv 0.37. See [mpv issue -- #12028](https://github.com/mpv-player/mpv/issues/12028). Small, frequent -- speed changes instead of large steps may help to reduce this problem. The -- scaletempo and rubberband filters didn't have this problem, but have -- different audio quality characteristics. -- -- Features: -- - Parameterized speedup ramp, allowing profiles for different kinds of -- media (ramp_*, speed_*, startdelay options). -- - Noise reduction of the detected signal. This allows to speed up -- pauses in speech despite background noise. The output audio is -- unaffected by default (arnndn_* options). -- - Saved time estimation. -- - Integration with osd-msg, auto profiles, etc. (with user-data, mpv 0.36 -- and above only). -- - Experimental: Lookahead for dynamic slowdown and faster reaction time -- (`lookahead`, `slowdown_ramp_*`, `margin_*` options). -- - Workaround for scaletempo2 audio-video desynchronization in mpv 0.36 and -- below (resync_threshold_droppedframes option). -- - Workaround for clicks during speed changes with scaletempo2 in mpv 0.36 -- and below (alt_normal_speed option). -- -- Default bindings: -- -- F2 - toggle -- F3 - threshold-down -- F4 - threshold-up -- -- All supported bindings (bind with 'script-binding skipsilence/'): -- -- enable - enable the script, if it wasn't enabled. -- disable - disable the script, if it was enabled. -- toggle - toggle the script -- threshold-down - decrease threshold_db by 1 (reduce amount skipped) -- threshold-up - increase threshold_db by 1 (increase amount skipped) -- info - show state info in osd -- reset-total - reset total saved time statistic -- cycle-info-style - cycle the infostyle option -- toggle-arnndn - toggle the arnndn_enable option -- toggle-arnndn-output - toggle the arnndn_output option -- -- Script messages (use with 'script-message-to skipsilence ...'): -- -- adjust-threshold-db -- Adjust threshold_db by n. -- enable [no-osd] -- Enable the script. Passing 'no-osd' suppresses the osd message. -- disable [] [no-osd] -- Disable the script. If speed is specified, set the playback speed to -- the given value instead of the normal playback speed. Passing 'no-osd' -- suppresses the osd message. -- toggle [no-osd] -- Toggle the script. Passing 'no-osd' suppresses the osd message. -- info [