[VTT subtitle] Bug report: Single out-of-range timestamp failed entire subtitle file
Recolic K <[email protected]> Mon, 14 Oct 2024 16:49:00 -0700
| Newsgroups | gmane.comp.video.videolan.vlc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Team, While VLC is parsing a very large VTT file, I realized a single bad timestamp could disable the entire subtitle file, which is not expected. Consider this minimal example: 1 00:00:01.409 --> 00:00:04.370 TEST MSG 1 GOOD 2 00:00:05.091 --> 00:00:09.093 TEST MSG 2 GOOD 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 5 00:00:20.821 --> 00:00:24.785 TEST MSG 5 GOOD ## Expected behavior: Good message 1,2,4,5 should be shown correctly, bad message 3 should be ignored. ## 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. For a minimal example, refer to: https://recolic.net/tmp/example.mp4 https://recolic.net/tmp/example.vtt I was not able to open a bug on videolan gitlab, because it doesn't allow me creating new account. Could you help confirm & create a bug? Thanks, Recolic _______________________________________________ vlc-devel mailing list To unsubscribe or modify your subscription options: https://mailman.videolan.org/listinfo/vlc-devel