tsur / vtt-to-srt

Convert WebVTT files to SubRip SRT
50 stars 20 forks source link

MKVTOOLNIX doesn't recognisze .srt files as good .srt files and fails #4

Open felisucoibi opened 7 years ago

felisucoibi commented 7 years ago

Seems there's something not perfect because of the mkvtoolnix doesn't accept generated .srt files...

outhud commented 7 years ago

It seems this tool doesn't produce compliant srt files, it's missing the numbers before each subtitle, as required by mkvtoolnix as in this example: https://matroska.org/technical/specs/subtitles/srt.html

anthonygore commented 6 years ago

I think this tool assumes the line numbers will be in the VTT file. I'm creating a PR to fix it.