add support for VTT
#7
Hi,
I contacted the developer of MKVToolNix (it's the software I used to create this samplefile) and he can help us to to understand the things. He answered already in English for me (Moritz Bunkus and I are from Germany). He sent me the following text to post here:

"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[1]. We (as in
the Matroska project) have decided not to use their proposal in Matroska
for several reasons:

1. 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.

2. 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.

3. The WebM proposal is still a work in progress and WebM still
officially doesn't support subtitles at all[2].

The Matroska project has now formalized the storage of WebVTT in
Matroska[3]. The specs have been added to the Matroska web site[4]. The
way mkvmerge stores WebVTT is therefore correct; the file isn't broken.

The next step should be to add support in ffmpeg for the current storage
method."

He added some links where you can lookup up the specification:

[1] http://wiki.webmproject.org/webm-metadat...tt-in-webm
[2] http://www.webmproject.org/docs/container/
[3] http://thread.gmane.org/gmane.comp.multi...devel/5210
[4] https://www.matroska.org/technical/specs...ebvtt.html

(2016-04-13, 03:46)DJ_Izumi Wrote: Played back fine for me using MPC-HC and whatever was installed with the CCCP. o.O
Thank you for your feedback


(2016-04-12, 23:36)ironic_monkey Wrote: your file is broken. S_TEXT/WEBVTT is not a valid codec id. i didn't dig the details but ffmpeg expects D_WEBVTT/SUBTITLES, D_WEBVTT/CAPTIONS, D_WEBVTT/DESCRIPTIONS, D_WEBVTT/METADATA.

i tried changing the codec id but then i got no text. i tried to demux the tracks using ffmpeg and i get blank files.

(2016-04-13, 08:37)ironic_monkey Wrote: So. Windows trash not following standards again. Sigh.

If you go to [4] https://www.matroska.org/technical/specs...ebvtt.html
you can clearly see that the file is not broken, it is the right way.

"Storage of WebVTT in Matroska
CodecID: codec identification

The CodecID to use is S_TEXT/WEBVTT."


(2016-04-12, 23:36)ironic_monkey Wrote: no player i can find supports these files.
So MPC-HC which is updated recently can play it according to DJ_Izumi and latest MPC-BE can also play it:
You can get the latest version of MPC-BE here:
https://yadi.sk/d/hlf1lfC8mKU58/!_last
If you're not on Windows, you must wait till a player is updated to the new subtitle format.

From my personal side - @ironic_monkey
(2016-04-12, 23:36)ironic_monkey Wrote: did you just waste 30 mins of my precious time?
Don't be so arrogant and PLEASE don't write so aggressive, I really don't like your aggressive behaviour.


Cheers,
Klaus

If anybody has any questions, let me know Wink
Reply


Messages In This Thread
add support for VTT - by Klaus1189 - 2016-02-25, 11:13
RE: add support for VTT - by yocoldrain - 2016-02-25, 19:52
RE: add support for VTT - by Klaus1189 - 2016-04-12, 12:26
RE: add support for VTT - by ironic_monkey - 2016-04-12, 23:36
RE: add support for VTT - by DJ_Izumi - 2016-04-13, 03:46
RE: add support for VTT - by ironic_monkey - 2016-04-13, 08:37
RE: add support for VTT - by Klaus1189 - 2016-04-13, 13:12
RE: add support for VTT - by ironic_monkey - 2016-04-13, 13:48
RE: add support for VTT - by Klaus1189 - 2016-04-13, 14:32
RE: add support for VTT - by natethomas - 2016-04-14, 11:07
RE: add support for VTT - by Klaus1189 - 2016-04-14, 11:36
RE: add support for VTT - by da-anda - 2016-04-14, 12:02
RE: add support for VTT - by ironic_monkey - 2016-04-14, 14:13
RE: add support for VTT - by bry - 2016-04-14, 14:19
RE: add support for VTT - by Klaus1189 - 2016-04-14, 14:43
RE: add support for VTT - by Klaus1189 - 2016-05-16, 07:20
RE: add support for VTT - by dobbelina - 2019-01-19, 10:49
RE: add support for VTT - by scott967 - 2020-05-13, 05:13
RE: add support for VTT - by Klaus1189 - 2020-06-01, 11:13
RE: add support for VTT - by wolpertinger - 2020-08-24, 17:33
RE: add support for VTT - by ale5000 - 2021-04-01, 15:17
RE: add support for VTT - by akovia - 2021-06-14, 01:55
RE: add support for VTT - by bornagainpenguin - 2021-08-29, 03:25
RE: add support for VTT - by CastagnaIT - 2021-10-16, 14:15
Logout Mark Read Team Forum Stats Members Help
add support for VTT0