Page 1 of 1

Chapters off by 1 second

Posted: 20 May 2022 21:41
by tfischer
Hello,

I created a simple video using FFmpeg: https://upload.disroot.org/r/xNzJxje2#q ... 6NJjJ+cRY=

The video is 10 seconds long and I instructed ffmpeg to add two chapters to it: From second 3 to 4 and from second 8 to 9.
This can be verified by running either ffprobe or mkvtoolnix. Please check yourself.

When opening the video in VLC, VLC recognizes that there are two chapters, but when telling to jump between chapters via "Previous chapter" and "Next chapter", VLC jumps to time stamps 2 and 7, i.e. in both cases 1 second before the configured chapter start times.

I am using VLC 3.0.17.4 on ArchLinux. The video was created using ffmpeg 5.0.

Now, did I miss anything or is there a ±1 bug in VLC?

Thank you in advance!

Bye,
Thomas

Re: Chapters off by 1 second

Posted: 21 May 2022 12:34
by Lotesdelere
Yes, I can reproduce the issue with VLC for Windows while it's playing fine with other players.

You should create a new ticket on the VLC Trac with your above report, the link to your sample file and the link to this thread:
https://code.videolan.org/videolan/vlc/-/issues

Re: Chapters off by 1 second

Posted: 29 May 2022 22:13
by tfischer
Ok, created issue in GitLab issue tracker: https://code.videolan.org/videolan/vlc/-/issues/27016