Bug #3359

Fix WEBVTT subtitles support

Added by Leonid Protasov about 3 years ago. Updated about 3 years ago.

Status:FixedStart date:01/25/2018
Priority:HighDue date:
Assignee:Andreas Smas% Done:

100%

Category:Subtitles
Target version:5.2
Found in version:5.0.494 Platform:Linux

Description

In fmovies plugin this format works ok but in baskino plugin it fails.

10:50:57.056: Subtitles       [ERROR]: Unable to load https://edge11.cloudstorm.online/static/srt/uploads/srt_slave_file/344392/a815eebc19480bce.vtt -- Unknown format (73998 bytes), dump of first 64 bytes follows
10:50:57.146: Subtitles       [DEBUG]: 0x000000: ef bb bf 57 45 42 56 54  54 0d 0a 0d 0a 30 30 3a    ...WEBVTT....00:
10:50:57.148: Subtitles       [DEBUG]: 0x000010: 30 30 3a 30 36 2e 36 36  37 20 2d 2d 3e 20 30 30    00:06.667 --> 00
10:50:57.148: Subtitles       [DEBUG]: 0x000020: 3a 30 30 3a 30 38 2e 32  35 30 0d 0a 49 27 6d 20    :00:08.250..I'm 
10:50:57.148: Subtitles       [DEBUG]: 0x000030: 64 65 61 6c 69 6e 67 20  77 69 74 68 0d 0a 74 68    dealing with..th

Associated revisions

Revision 8557a675
Added by Leonid Protasov about 3 years ago

fixes #3359: src/subtitles/ext_subtitles.c

Change included in version 5.0.495

Revision d9e6b809
Added by Andreas Smas about 3 years ago

Merge pull request #234 from lprot/master

fixes #3359:   src/subtitles/ext_subtitles.c
Change included in version 5.0.498

History

#1 Updated by Leonid Protasov about 3 years ago

SRT is WEBVTT. But in HTML5 srt has no sequence numbers https://www.w3.org/TR/webvtt1/

#2 Updated by Leonid Protasov about 3 years ago

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

Also available in: Atom PDF