4

I have a video in webm format, and two files in webVTT format, chapters and subtitles.

Is it possible to embed this two webVTT file in the webm in order to get only one file ? webm is a derivative of Matroska, so it's certainly possible. The real question is they will be handled by a program like VLC ?

Thanks in advance !

2

Edit: It seems that WebM now supports VTT subtitles. See the link below for detailed information. If you want to add subtitles to a video on a web page, have a look at the HTML5 'track' element. It allows adding subtitles without muxing them into the video container. More details here: https://developer.mozilla.org/en-US/docs/Web/Apps/Fundamentals/Audio_and_video_delivery/Adding_captions_and_subtitles_to_HTML5_video

WebM doesn't support subtitles nor chapters right now so you won't be able to embed them without creating a WebM file that is out of specs. You will probably want to remux your video into mkv and then convert your VTT subtitles to SRT and mux these into your mkv aswell.

From http://www.webmproject.org/docs/container/

Initial WebM release does not support subtitles.

WHATWG / W3C RFC will release guidance on subtitles and other overlays in HTML5 in the near future. WebM intends to follow that guidance. Ref: WebVTT.

| improve this answer | |
  • 1
    I am confused - on that same page they also have a whole chapter about embedding the WebVTT format. Shouldn't this indicate support? – V02460 Jun 18 '15 at 16:02
  • "WebM intends to follow that guidance", which hinted that they will add this feature at some point which they apparently did now. – PTS Jun 18 '15 at 18:45
  • Is this still relevant? – Freedo Nov 10 '18 at 3:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.