-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rewrite branch] Playback speed get stuck at some point and cannot be changed until closing mpv #9
Comments
Options: Attempt to reproduce: 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 Here, playback speed get stuck at x1.00 when doing a regular seek with 2.mp4
/home/xfzv/.config/mpv
├── input.conf
├── script-opts
│ └── evafast.conf
└── scripts
└── evafast.lua
- add speed -0.05
+ add speed 0.05
bs set speed 1
# 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. |
math.floor() can result in one value being off by 1 because one was just barely below the whole integer while the other one was not. (floating point numbers \o/) Adding 0.5 for actual rounding avoids that problem. Closes po5#9
math.floor() can result in one value being off by 1 because one was just barely below the whole integer while the other one was not. (floating point numbers \o/) Adding 0.5 for actual rounding avoids that problem. Closes #9
🎉 Seems to be fixed for good on my end. Thank you! |
I'm using the rewrite branch with latest commit (e0e50d7).
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:2.mp4
The text was updated successfully, but these errors were encountered: