add support of WebVTT subtitles in Matroksa files
|Reported by:||Klaus Luppert||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
I contacted Moritz Bunkus, the developer of MKVToolNix, because according to ironic_monkey from Kodi forum FFMPEG doesn't support the new spec. Here you can see the full thread at Kodi forum:
Moritz Bunkus explained the issue to me.
Up until a couple of days ago the storage of WebVTT in Matroska hadn't been specified yet. What ffmpeg seems to support (D_WEBVTT/…) is an old and outdated work-in-progress paper by the WebM project. We (as in the Matroska project) have decided not to use their proposal in Matroska
for several reasons:
- The proposal is old (from February 2012). The WebVTT specs have changed considerably since then, and therefore the WebM proposal doesn't handle several of those additions and changes.
- It suggests splitting the single WebVTT file into multiple tracks inside WebM. This is possible but it makes handling of multiple tracks more difficult than it has to be for demuxers and remuxers. Additionally there's no way to specify that several tracks belong to the same logical track and must be handled all at once.
- The WebM proposal is still a work in progress and WebM still officially doesn't support subtitles at all.
The Matroska project has now formalized the storage of WebVTT in
Matroska. The specs have been added to the Matroska web site.
The next step should be to add support in ffmpeg for the current storage method.
Here you can get a sample file: