Convert WEBM to TTML

Turn WEBM videos into TTML. The first subtitle track as a TTML document with its own timing.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop WEBM files on the dialor turn it to pick what to do

Subtitles from a WebM video as TTML.The first text subtitle track becomes a TTML document with its own timing.

  1. What you get

    One TTML file holds the first subtitle track of the WebM video. TTML is the XML standard of broadcasters and streaming services, so the result suits places that ask for that format.

    The subtitles carry their own timing inside the document. The video and audio are not part of the output.

  2. When it stops

    The video needs a text subtitle track. A WebM video without one stops with unsupported_elements.

    The same code appears when the file holds something TTML cannot carry. A file that cannot be parsed stops with input_corrupted.

  3. Which track is used

    Only the first subtitle track is converted. If the video has more than one, the others are not written to the output.

    The conversion has no options. You get one file per video.

WEBM and TTML.What each format is.

The formats

From · WEBM

WebM Video

The open web video container, VP9 or AV1 video with Opus audio.

Extensions
.webm .weba
MIME type
video/webm
Kind
Video
To · TTML

TTML Subtitles

TTML subtitles, the XML standard of broadcasters and streaming services, iTunes Timed Text included.

Extensions
.ttml .dfxp .itt
MIME type
application/ttml+xml
Kind
Text and data

In your code.The same WEBM to TTML conversion through the API, for your app or your agent.

terminal
$ cv convert clip.webm clip.ttml
$ cv convert clip.webm clip.ttml

Questions.What people ask about WEBM to TTML.

01OF 04

Yes, if the video has a text subtitle track. The first track becomes a TTML document with its own timing.

The video has no text subtitle track, or it holds something TTML cannot carry. In both cases the conversion stops with this code.

The file could not be parsed. The conversion stops and no TTML file is made.

No. Only the first subtitle track is used, and the output is one file.

More conversions.Other ways in and out of WEBM and TTML.