Page 1 of 1

WebVTT Subtitles are displayed multiple times

Posted: 16 Jul 2018 15:18
by Sumafu
Hi, I have an MKV file with WebVTT subtitles. Now I have the effect that these subtitles are sometimes displayed multiple times during playback. However, not always and not all of them. I also noticed that a subtitle appears once more when I rewind and replay the scene with the subtitle. So when looking at the first one for example twice, after a short rewind then three times and after a second rewind four times.
The WebVTT subtitles are correct because I created the vtt file myself (with a program, but a look into the file reveals that it is correct). I added the vtt file to the MKV file with MKVToolNix.
I was able to reproduce the error under macOS as well as under Windows.

Note: I cannot upload the video file or the subtitle file because it is copyrighted material as it is a copy of a DVD. Before one asks: In Germany it is permitted for purely private purposes to copy copyrighted material.
However, I have attached a screenshot in which you can see the error clearly. The subtitle (two lines) is displayed three times.

Edit: I use the latests VLC version 3.0.3

Image

Re: WebVTT Subtitles are displayed multiple times

Posted: 16 Jul 2018 15:54
by Jean-Baptiste Kempf
Note: I cannot upload the video file or the subtitle file because it is copyrighted material as it is a copy of a DVD. Before one asks: In Germany it is permitted for purely private purposes to copy copyrighted material.
However, I have attached a screenshot in which you can see the error clearly. The subtitle (two lines) is displayed three times.
Please send it privately. There is an exception for research and development (Code Propriété Intellectuelle L122-5.3°)

Re: WebVTT Subtitles are displayed multiple times

Posted: 16 Jul 2018 16:18
by Sumafu
I sent you a two-minute excerpt from the file.

Re: WebVTT Subtitles are displayed multiple times

Posted: 17 Jul 2018 08:26
by InTheWings
Sounds like multiple langage cues

Re: WebVTT Subtitles are displayed multiple times

Posted: 17 Jul 2018 12:48
by Sumafu
I made a short video, where you can see how i reproduce the error. https://cloud.sumafu.de/s/ri2yj6jLiM7LCMz. And I think I can paste the 2 minute example file here without problems (after the problem is fixed I will delete the example files anyway). https://cloud.sumafu.de/s/ALNF6NAASBGF7Dw

Re: WebVTT Subtitles are displayed multiple times

Posted: 17 Jul 2018 12:54
by InTheWings
spu channel does not seem to be cleared on seek

Re: WebVTT Subtitles are displayed multiple times

Posted: 17 Jul 2018 21:20
by Jean-Baptiste Kempf
That's weird.

Re: WebVTT Subtitles are displayed multiple times

Posted: 18 Jul 2018 12:04
by Jean-Baptiste Kempf

Re: WebVTT Subtitles are displayed multiple times

Posted: 18 Jul 2018 12:06
by InTheWings
should be fixed by the next nightlies Nightly Build of VLC

Re: WebVTT Subtitles are displayed multiple times

Posted: 19 Jul 2018 17:41
by Sumafu
I tested it with the latest nightly build and can't reproduce the error anymore. It seems fixed.

Re: WebVTT Subtitles are displayed multiple times

Posted: 23 Jul 2018 10:57
by Jean-Baptiste Kempf
I tested it with the latest nightly build and can't reproduce the error anymore. It seems fixed.
Cool.