Open zhahouming opened 1 year ago
Not really a necessity, even more so at the moment.
Is there currently a workaround for looping videos?
@rekire
Is there currently a workaround for looping videos?
There's a dedicated solution, not a workaround.
await player.setPlaylistMode(PlaylistMode.loop);
This issue is for seamless loop, not loop.
Second this. Looping with a gap breaks the experience.
Second this. Looping with a gap breaks the experience.
@nialljawad96
The mpv repository needs to merge this pull request first. People with requirements can go there and leave more comments. https://github.com/mpv-player/mpv/pull/10748,
Note for future fix
This is due to mpv_get_property
within render callback to find the current video width/height, which is not allowed per mpv docs. Need to subscribe to those properties in another thread and send them to be cached in render thread
Any news on this? The gap really breaks the good experience.
In the single file loop playback mode, there is a delay between the two loops, which prevents a perfect seamless connection. This is a problem with the original MPV library, and here is the related fix PR link https://github.com/mpv-player/mpv/pull/10748, FYI.