-
Notifications
You must be signed in to change notification settings - Fork 68
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
Improve thumbnail "feel" #7
Comments
Maybe that's because mpv defaults to |
Hmh, no, it seems that drags are keyframed, clicks are exact. |
|
The real solution is likely to go and try the half-advance I spoke about in the OP (so that if you move mouse from the left, the instant the thumbnail changes means seeking to that position should bring you at most |
Currently thumbnails will be chosen by taking a timestamp and turning that into a thumbnail index by
math.floor
ing it with the thumbnail interval/delta.This means the thumbnail being displayed is before the position the user would click on, and slightly misleading; the jump will rarely happen on the actual thumbnail timestamp (and overriding the seek would be a pain/detrimental for accurate seeking) but instead after the moment has passed.
This feels "wrong".
How do other players do it? Do they choose their thumbnail timestamps with some clever logic?
What logic do they use to choose which thumbnail to show? Is it a "closest" timestamp, the next thumbnail, or what?
The downside with displaying simply the next thumbnail would be short videos having their thumbnails be almost useless. Maybe move generate timestamps up by half an interval and choose the closest thumbnail?
This is here to allow others to chime in. What are your thoughts?
The text was updated successfully, but these errors were encountered: