Rafostar / clapper

Level up your video experience with a modern and user-friendly media player.
https://rafostar.github.io/clapper/
GNU General Public License v3.0
711 stars 34 forks source link

Imprecise seek bar when a lot of chapters #462

Open dougg0k opened 2 weeks ago

dougg0k commented 2 weeks ago

Hi,

I noticed a possible bug or bad internal settting on the playback/buffer bar, every time I load a 2160p video it lags when trying to change the time, and doesnt seem to be that precise, it feels laggy and it can only skip chunks of time.

I tested with 1080p, that doesnt seem to happen and I know that my machine are not the problem.

I say that might be bad internal setting, as I have experienced this before in bad configured mpv.

Also, I suppose a bigger bar or at least a way to modify the player to make it bigger, would help to make it more precise. As to help skip content you might not want to watch when starting a video.


I keep opening issues as I think so far clapper seem to have a decent foundation, other players are not that consistent on linux. VLC are clunky, randomly close when clicking in certain parts of the UI and MPV are good in the configuration but lacks in parts of the UI and sometimes refuse to open, even though there are no process open or hanging.

Would be nice to have one that are consistent supports and have the best parts of each, available, or at least modular enough to modify.

Rafostar commented 2 weeks ago

I haven't experienced the "lagging" part. Can you show this problem so I can see what exactly happens to you (with e.g. screen recording)? Also, is this Xorg or Wayland? What video decoder is used (info window shows it's name)?

dougg0k commented 1 week ago

Sure, here you go.

https://www.dropbox.com/scl/fi/wv0i5vn37vkc7mwe7bxbw/2024-06-15_11-25-54.mp4?rlkey=xwwsgsc40g7vdqo9jh77iqw4k&st=y02sls9r&dl=0

I am on PopOS 22.04, so Xorg with Nvidia. Video decoder included in the video.

In case video properties were relevant too 2024-06-15_11-39

It's probably due to the high bitrate, maybe you can improve the responsiveness there.

Rafostar commented 1 week ago

As far as I see, this is expected behaviour. GTK makes slider knob "click" into position of chapter mark. This makes easier for user to seek into exact chapter position. It's just that there are a lot of chapters in this video, so it sticks into one and when moved it already reaches another chapter and thus keeps sticking from one to another.

dougg0k commented 1 week ago

You're right. Still it doesnt feel precise when looking to get to a specific position, maybe a bigger and wider bar would help here, tweaks to the chapter sliding to not behave as it is too much, still have the easy to reach each chapter, while not affecting the rest. If possible.

dougg0k commented 1 week ago

Also if there were a way to get the position changes in realtime, rather than having to release to see that, would be easier to see where you are in that specific time. At least have this as an option.

Resulting in a more responsive player.