Timed Text Markup Language
Filename extension |
.ttml, .dfxp, .xml |
---|---|
Internet media type |
application/ttml+xml |
Developed by | W3C |
Initial release | 1 November 2004[1] |
Type of format | Timed text |
Extended from | XML |
Standard | W3C TTML1 |
Open format? | Yes |
Timed Text Markup Language (TTML), previously referred to as Distribution Format Exchange Profile (DFXP), is one of W3C's standards regulating timed text on the internet.
“TTML is used in the television industry for the purpose of authoring, transcoding and exchanging timed text information and for delivering captions, subtitles, and other metadata for television material repurposed for the Web or, more generally, the Internet.There is partial and full support of TTML in components used by several Web browsers plugins, and in a number of caption authoring tools.”
In 2010, after discussions about its adoption in HTML5, WHATWG opted for a new but more lightweight standard based on the popular SRT format, now named WebVTT.[2] Nonetheless, in February 2012 the FCC declared the SMPTE closed-captioning standard for online video content, a superset of TTML, as a "safe harbor interchange, delivery format".[3]
It is not clear whether the HTML5 specification will document the usage of any other timed text format with the <track>
tag. However, as of February 2015, W3C only documents the usage of WebVTT with HTML5 and its specification had 434 entries in its commit history, ranging from March 2013 to January 2015, while the latest TTML specification hadn't been modified since September 2013. Recent versions of Internet Explorer introduced support for TTML files in the <track>
element,[4] while other browsers still require Javascript, such as in the W3C Timed Text Working Group's 2009 demo of DFXP features. TTML is still the format of choice for some applications that don't rely on HTML5, such as the popular set-top box Roku.[5]
Profiles
The DFXP standard specified a wide range of features, many of which are not necessary for specific applications. For this reason, the standard developed the concept of profiles, which are subsets of required features from the full specification. This way, a player that only implements a partial set of features, for example, can define its own profile and claim support to it. The specification was thus renamed to TTML, accounting only to the markup language, and defined three standard profiles: DFXP Transformation, DFXP Presentation and DFXP Full. Not satisfied with the list of features defined by TTML, the Society of Motion Picture and Television Engineers (SMPTE) created its own profile, which extended the full DFXP profile and defined new features, not included in the TTML specification.
DFXP Transformation
This profile defines the minimum feature requirements that a transformation processor (e.g. caption converter) needs to support in order to be considered TTML compliant.
DFXP Presentation
This profile defines the minimum feature requirements that a presentation processor (e.g. video player) needs to support in order to be considered TTML compliant.
DFXP Full
This profile requires the support of all the feature defined by TTML specification.
SMPTE-TT
This profile extends the full DFXP and with three SMPTE-specific elements aimed at legacy formats. Interoperability with pre-existing and regionally-specific formats (such as CEA-708, CEA-608, DVB Subtitles, and WST (World System Teletext)) is provided by means of tunneling data or bit map images and adding necessary metadata.[6]
-
#data
– Base64 encoded binary data stream -
#image
– Base64 encoded transparent PNG images -
#information
– Metadata
References
- ↑ "Timed Text (TT) Authoring Format 1.0 – Distribution Format Exchange Profile (DFXP)". Retrieved 2015-02-16.
- ↑ "WebVTT versus TTML: XML considered harmful for web captions?". Retrieved 16 February 2015.
- ↑ "FCC Declares SMPTE Closed-Captioning Standard For Online Video Content As Safe Harbor Interchange, Delivery Format". Retrieved 20 February 2015.
- ↑ "Simple Delivery Profile for TTML Captions". Retrieved 20 February 2015.
- ↑ "Roku Closed Caption Support". Retrieved 16 February 2015.
- ↑ "SMPTE Timed Text Format (SMPTE ST 2052-1:2010)" (PDF). 3 December 2010.