Bug #2752

Some srt subtitle format is not supported

Added by Leonid Protasov over 5 years ago. Updated over 5 years ago.

Status:FixedStart date:07/05/2015
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:Subtitles
Target version:4.10
Found in version:4.10.21 Platform:Linux

Description

Found here: http://ororo.tv/uploads/subtitle/file/5488/track_1353756758.srt
Attached just in case too. Starts like that:

WEBVTT

0
00:01:55.993 --> 00:01:58.245
Easy, boy.

2
00:03:11.235 --> 00:03:13.279
What do you expect?
They're savages.

track_1353756758.srt (36.4 KB) Leonid Protasov, 07/05/2015 05:19 PM

Associated revisions

Revision dde764b5
Added by Andreas Smas over 5 years ago

srt: Skip over WEBVTT string when parsing srt

Fixes #2752

Change included in version 4.10.25

Revision f4b0cb81
Added by Andreas Smas about 5 years ago

srt: Skip over WEBVTT string when parsing srt

Fixes #2752

Change included in version 4.99.174

History

#1 Updated by Leonid Protasov over 5 years ago

Binary dump just in case:

18:21:16.562: Subtitles       [DEBUG]: 0x000000: 57 45 42 56 54 54 0a 0a  30 0a 30 30 3a 30 32 3a    WEBVTT..0.00:02:
18:21:16.562: Subtitles       [DEBUG]: 0x000010: 31 33 2e 33 34 34 20 2d  2d 3e 20 30 30 3a 30 32    13.344 --> 00:02
18:21:16.562: Subtitles       [DEBUG]: 0x000020: 3a 31 34 2e 38 38 37 0a  57 65 6c 63 6f 6d 65 2c    :14.887.Welcome,
18:21:16.562: Subtitles       [DEBUG]: 0x000030: 20 4c 6f 72 64 20 53 74  61 72 6b 2e 0a 0a 32 0a     Lord Stark...2.

#2 Updated by Andreas Smas over 5 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF