Chapters positions off by 1 second when jumping using "Previous chapter" and "Next chapter"
In an example video file of 10 seconds as attached to this bug report, there are two chapters: From second 3 to 4 and from second 8 to 9.
This can be verified using ffprobe
or mkvtoolnix
:
Input #0, matroska,webm, from 'test-chaptersB.mkv':
Metadata:
title : Test
ENCODER : Lavf59.16.100
Duration: 00:00:10.00, start: 0.000000, bitrate: 55 kb/s
Chapters:
Chapter #0:0: start 3.000000, end 4.000000
Metadata:
title : Chapter 1
Chapter #0:1: start 8.000000, end 9.000000
Metadata:
title : Chapter 2
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 positions second 2 and second 7, i.e. in both cases 1 second before the configured chapter start times.
The problem can be reproduced on ArchLinux using VLC 3.0.17.4, Gentoo Linux using VLC 3.0.16, and, as reported in the Forum, on Windows as well.