Closed xfzv closed 1 year ago
Options:
speed_increase=0.1
speed_decrease=0.1
speed_interval=0.05
speed_cap=3.5
Attempt to reproduce:
file with no subtitles
set speed 1.6
hold hybrid key until we reach 3.5
wait until we reach 1.6
add speed 0.05
Works fine here.
Hmm, that's strange. I've just tried again with a minimal mpv config and could reproduce, although I can't seem to find a consistent pattern to do so. It eventually occurs after adjusting speed and pressing RIGHT
a couple of times.
Here, playback speed get stuck at x1.00 when doing a regular seek with RIGHT
:
tree ~/.config/mpv
:
/home/xfzv/.config/mpv
├── input.conf
├── script-opts
│ └── evafast.conf
└── scripts
└── evafast.lua
input.conf
:
- add speed -0.05
+ add speed 0.05
bs set speed 1
evafast.conf
:# How far to jump on press
seek_distance=5
# Playback speed modifier, applied once every speed_interval until cap is reached
speed_increase=0.1
speed_decrease=0.1
# At what interval to apply speed modifiers
speed_interval=0.05
# Playback speed cap
speed_cap=3.5
# Playback speed cap when subtitles are displayed, 'no' for same as speed_cap
subs_speed_cap=1.6
# Multiply current speed by modifier before adjustment (exponential speedup)
# Use much lower values than default e.g. speed_increase=0.05, speed_decrease=0.025
multiply_modifier=no
# Show current speed on the osd (or flash speed if using uosc)
show_speed=yes
# Show current speed on the osd when toggled (or flash speed if using uosc)
show_speed_toggled=yes
# Show seek actions on the osd (or flash timeline if using uosc)
show_seek=no
# Look ahead for smoother transition when subs_speed_cap is set
lookahead=yes
Just to confirm that the issue is gone after switching to the master branch.
:tada:
Seems to be fixed for good on my end. Thank you!
I'm using the rewrite branch with latest commit (https://github.com/po5/evafast/commit/e0e50d7eb05d741983d31f5defdc0ffa6d1f3755).
To reproduce (it can take a few tries, at least for me):
RIGHT
to trigger the script and releaseRIGHT
add speed
) : the playback speed is stuck foreverHere's a video showing the issue. I set playback speed to x1.6, then trigger evafast so that playback speed reaches x3.5 (my
speed_cap
value), and releaseRIGHT
. The speed gradually goes back to x1.6 and when I try to adjust it with my keybindings (add speed
), the playback speed is stuck to x1.6 until I close mpv:https://user-images.githubusercontent.com/78810647/212137942-29955cda-6959-412c-ae00-5028bcbd1dda.mp4