diff options
| author | Anton Bobov <anton@bobov.name> | 2026-04-08 15:34:16 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2026-04-16 16:33:32 +0500 |
| commit | 32708e5df71502da1e7f87fd2e68d3d17656ca8a (patch) | |
| tree | d55f28d058658a474267c853d519a6991ee60465 /files/.config/mpv | |
| parent | 4bcba4c37c7dc42064bdef97dc764153eaba214d (diff) | |
mpv: add scaletempo2
Enable pitch-preserving tempo scaling by integrating scaletempo2 audio filter
alongside loudnorm. This allows adjusting playback speed without altering audio
pitch while maintaining volume normalization.
Diffstat (limited to 'files/.config/mpv')
| -rw-r--r-- | files/.config/mpv/input.conf | 2 | ||||
| -rw-r--r-- | files/.config/mpv/mpv.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/files/.config/mpv/input.conf b/files/.config/mpv/input.conf index 1bb8675..8af7dad 100644 --- a/files/.config/mpv/input.conf +++ b/files/.config/mpv/input.conf @@ -12,7 +12,7 @@ Alt+p run "/bin/sh" "-c" "xdotool search --class mpv | xargs -I{} xdotool key -- # default loudnorm I=-24 # I=-15 -- louder volume # anull -- disable audio filter -a cycle_values af loudnorm loudnorm=I=-15 anull +a cycle_values af loudnorm,scaletempo2 loudnorm=I=-15,scaletempo2 scaletempo2 Shift+Up add chapter 1 Shift+Down add chapter -1 diff --git a/files/.config/mpv/mpv.conf b/files/.config/mpv/mpv.conf index 4e8ae06..d043e93 100644 --- a/files/.config/mpv/mpv.conf +++ b/files/.config/mpv/mpv.conf @@ -38,7 +38,7 @@ osd-bar=no speed=1.33 # Speed up playback by the factor volume-max=100 image-display-duration=inf # If the current file is an image, kept open forever -af=loudnorm +af=loudnorm,scaletempo2 demuxer-max-bytes=500M # Cache size demuxer-max-back-bytes=100M |
