[vlc-devel] [VTT subtitle] Bug report: Single out-of-range timestamp failed entire subtitle file

Francois Cartegnie fcvlcdev at free.fr
Tue Oct 15 06:56:28 UTC 2024


Le 15/10/2024 à 06:49, Recolic K a écrit :

> 3
> 01:00:10.214 --> 01:00:14.377
> TEST MSG 3 BAD
> 
> 4
> 00:00:15.938 --> 00:00:19.340
> TEST MSG 4 GOOD

> 
> ## Actual behavior:
> Only message 1,2 were shown. Message 4,5 disappeared.
> 
> Such minimal error could be handled correctly in most players, including 
> MPV, ES-explorer built-in player, mplayer, etc.
> 

Works as expected. Fix your file and other implementations.

https://www.w3.org/TR/webvtt1/#file-structure

"The WebVTT cue timings give the start and end offsets of the WebVTT cue 
block. Different cues can overlap. Cues are always listed ordered by 
their start time."

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list