Page 1 of 1

Fast Seek versus A-B Repeat

Posted: 31 Mar 2024 21:55
by Spike1
If, in Settings > Extra Settings > Video, "Always use fast seek" is selected, then an A-B repeat region is defined, most of the time the jump back to the start of the region results in an infinite loop lasting under half a second. My guess is that Fast Seek (sub-legend: "Seek is faster but may be less precise") is indeed so imprecise as to land you before the repeat region, triggering another seek. Disabling Fast Seek always solves it, though seek is then...slow. Tested on 3.6.0 Beta 1 nightly 2024-03-01 on several Samsung tablets.

Re: Fast Seek versus A-B Repeat

Posted: 02 Apr 2024 07:47
by Aza
We should indeed disable fast seek in AB repeat mode. Your issue is now tracked here: https://code.videolan.org/videolan/vlc- ... ssues/3056

Doe it happen with some specific samples? If so, could you please share one?

Re: Fast Seek versus A-B Repeat

Posted: 02 Apr 2024 13:50
by Spike1
I am using local .mp4 files and have not found one on which the bug does not occur.

AB repeat should not use slow seek, because it's so slow on Samsung Android 8 tablets that it wrecks the loop effect. Instead, if my guess in the first post is correct, AB should have a special case to disable seek in the case that it has just performed a seek.

Re: Fast Seek versus A-B Repeat

Posted: 05 Oct 2024 00:55
by Spike1
The bug is still present on the Nightly of 2024-10-01.

If my theory about the bug is correct, VLC has code that jumps to the start of an A-B repeat region anytime it is OUTSIDE the region. But fast seek to A jumps before A and then walks to A, triggering another jump, ad infinitum. It would solve the bug to change the A-B repeat code to only jump if it is BEYOND (AFTER) the region.

Re: Fast Seek versus A-B Repeat

Posted: 07 Oct 2024 07:45
by Aza
Did you try with a recent nightly? Does it solve the issue?

Re: Fast Seek versus A-B Repeat

Posted: 07 Oct 2024 12:55
by Spike1
2024-10-01 is pretty recent. If you're saying work has been done on this in the last 6 days, I'll download again.

Re: Fast Seek versus A-B Repeat

Posted: 09 Oct 2024 07:54
by Aza
My bad, I misread your previous post. I'll reopen the issue and we'll take a look.