Timed Text Markup Language: Difference between revisions

Content deleted Content added
SMTPE-TT: "SMPTE", not "SMTPE"!
m Adding local short description: "XML-based file format", overriding Wikidata description "file format"
 
(24 intermediate revisions by 18 users not shown)
Line 1:
{{Short description|XML-based file format}}
{{Infobox file format
| name = TTML
Line 5 ⟶ 6:
| mime = application/ttml+xml
| developer = [[World Wide Web Consortium|W3C]]
| released = {{start date and age|2004|11|01|df=yes}}<ref>{{cite web |url=httphttps://www.w3.org/TR/2004/WD-ttaf1-dfxp-20041101ttml1/ |title=Timed Text (TT) Authoring Format 1.0 – Distribution Format Exchange Profile (DFXP)|accessdate=2015-02-16}}</ref>
| latest_release_date = {{start date and age|2015|01|31|df=yes}}
| genre = [[Timed text]]
| extended_from = [[XML]]
| standard = [httphttps://www.w3.org/TR/ttaf1-dfxpttml1/ W3C TTML1]
| freeopen = Yes
}}
 
'''Timed Text Markup Language''' ('''TTML'''), previously referred to as '''Distribution Format Exchange Profile''' ('''DFXP'''), is an [[XML]]-based [[W3C]] standard for [[timed text]] in online media and was designed to be used for the purpose of authoring, transcoding or exchanging timed text information presently in use primarily for [[Subtitle (captioning)|subtitling and captioning]] functions. [https://www.w3.org/TR/ttml2/ TTML2], the second major revision of the language, was finalized on November 8, 2018. It has been adopted widely in the television industry, including by [[Society of Motion Picture and Television Engineers|Society of Motion Picture and Television Engineers (SMPTE)]], [[European Broadcasting Union|European Broadcasting Union (EBU)]], [[ATSC]], [[Digital Video Broadcasting|DVB]], [[HbbTV]] and [[MPEG CMAF]] and several profiles and extensions for the language exist nowadays.
'''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 Content may also be used directly as a distribution format and is widely supported in media players, with the exception of major web browsers, where [[WebVTT]], the second [[W3C]] standard for [[timed text]] in online media, has better built-in support in connection with the [[HTML5]] <code>&lt;track&gt;</code> element; many organisations nevertheless use TTML content on web video using their own player code.
{{Quote|text=“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.
 
== History ==
There is partial and full support of TTML in components used by several Web browsers plugins, and in a number of caption authoring tools.”|sign=[http://www.w3.org/TR/ttaf1-dfxp/#media-types-registration Timed Text Markup Language 1 (TTML1) (Second Edition)]}}
 
The idea of adding timing information on the Web by extending HTML <ref>{{cite web |url=https://www.w3.org/TR/NOTE-HTMLplusTIME |title=Timed Interactive Multimedia Extensions for HTML (HTML+TIME)|accessdate=2019-08-09}}</ref> came very early on, out of the work done on the [[Synchronized Multimedia Integration Language]]. Based on [[XML]], the work on TTML started in 2003 <ref>{{cite web |url=https://www.w3.org/blog/news/archives/1571 |title=W3C Launches Timed Text Working Group|accessdate=2019-08-09}}</ref> and an early draft was released in November 2004 as '''Timed Text (TT) Authoring Format 1.0 – Distribution Format Exchange Profile (DFXP)'''.<ref>{{cite web |url=https://www.w3.org/TR/2004/WD-ttaf1-dfxp-20041101/ |title=Timed Text (TT) Authoring Format 1.0 – Distribution Format Exchange Profile (DFXP)|accessdate=2004-11-01}}</ref> The first version of TTML, [https://www.w3.org/TR/ttml1/ TTML1], was finalized in November 2010.
 
In 2010, after discussions about its adoption in HTML5, [[WHATWG]] opted for a new but more lightweight standard based on the popular [[SubRip|SRT]] format, now named [[WebVTT]].<ref>{{cite web
|url=http://www.balisage.net/Proceedings/vol10/html/Tai01/BalisageVol10-Tai01.html
|title=WebVTT versus TTML: XML considered harmful for web captions?
|accessdate=16 February 2015
}}</ref> Nonetheless, in February 2012 the [[Federal Communications Commission|FCC]] declared [[Society of Motion Picture and Television Engineers|SMPTE]] closed-captioning standard for online video content, a superset of TTML, as "safe harbor interchange, delivery format"<ref>{{cite web |url=https://www.smpte.org/news-events/news-releases/fcc-declares-smpte-closed-captioning-standard-online-video-content-safe |title=FCC Declares SMPTE Closed-Captioning Standard For Online Video Content As Safe Harbor Interchange, Delivery Format |accessdate=20 February 2015}}</ref>
 
It is not clear whether the HTML5 specification will document the usage of any other timed text format with the <code>&lt;track&gt;</code> 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 <code>&lt;track&gt;</code> element,<ref>{{cite web|url=http://ie.microsoft.com/Testdrive/HTML5/Captions/Default.html |title=Simple Delivery Profile for TTML Captions |accessdate=20 February 2015}}</ref> while other browsers still require [[Javascript]], such as in the W3C Timed Text Working Group's [http://www.w3.org/2009/02/ThisIsCoffee.html 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]].<ref>{{cite web
|url=http://sdkdocs.roku.com/display/sdkdoc/Closed+Caption+Support
|title=Roku Closed Caption Support
|accessdate=16 February 2015
}}</ref>
 
}}</ref> Nonetheless, inIn February 2012 the [[Federal Communications Commission|FCC]] declared the [[Society of Motion Picture and Television Engineers|SMPTE]] closed-captioning standard for online video content, a superset of TTML, as a "safe harbor interchange, delivery format".<ref>{{cite web |url=https://www.smpte.org/news-events/news-releases/fcc-declares-smpte-closed-captioning-standard-online-video-content-safe |title=FCC Declares SMPTE Closed-Captioning Standard For Online Video Content As Safe Harbor Interchange, Delivery Format |accessdate=20 February 2015}}</ref>
 
In 2015, [[Netflix]], Home Box Office ([[HBO]]), [[Telestream]], [[SMPTE]], and [[W3C]] received a [[Technology & Engineering Emmy Award#2015 Awards|Technology & Engineering Emmy Award]] for the category “Standardization and Pioneering Development of Non-Live Broadband Captioning,” for their work on TTML.
 
[https://www.w3.org/TR/ttml2/ TTML2], the second version of TTML started in February 2015, was finalized in November 2018, along with a new revision of [https://www.w3.org/TR/ttml1/ TTML1].
 
== Profiles ==
The DFXPTTML standard specifiedspecifies a wide range of features, many of which a smaller set are notsometimes necessary, fordepending on the specific applicationsapplication. 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[https://www.w3.org/TR/ttml1/ The specification was thus renamed to TTML, accounting only to the markup language, andTTML1] defineddefines three standard profiles: DFXP Transformation, DFXP Presentation and DFXP Full. NotMany satisfiedprofiles withof theTTML listwere of features defineddeveloped by TTML,[[W3C]] theand Societyother oforganizations Motionover Picturethe andyears Televisionto Engineerssubset (SMPTE)or createdextend itsthe ownfeatures profile,of whichTTML. extendedThe the[https://www.w3.org/AudioVideo/TT/ fullTimed DFXPText profileWorking andGroup] definedmaintains newa features,[https://www.w3.org/TR/ttml-profile-registry/ notregistry] includedused into theidentify TTML specificationprofiles.
 
=== DFXP Transformation ===
Line 44 ⟶ 47:
 
=== SMPTE-TT ===
This profile extends theTTML fullwith DFXPthree andSMPTE-specific alsoelements requiresaimed theat supportlegacy offormats. threeInteroperability SMPTEwith pre-existing and regionally-specific features:formats (such as CEA-708, CEA-608, DVB Subtitles, and
WST (World System Teletext)) is provided by means of [[tunneling protocol|tunneling]] data or bit map images and adding necessary metadata.<ref>{{cite web | url=https://www.smpte.org/sites/default/files/st2052-1-2010.pdf |title=SMPTE Timed Text Format (SMPTE ST 2052-1:2010) |date=3 December 2010}}</ref>
* #data
 
* #image
* <code>#data</code> – [[Base64]] encoded [[binary large object|binary data]] stream
* #information
* <code>#image</code> – [[Base64]] encoded transparent [[Portable Network Graphics|PNG]] images
* <code>#information</code> – Metadata
 
The U.S [[Federal Communications Commission|Federal Communications Commission (FCC)]] has declared SMPTE-TT to be a safe harbor interchange and delivery format in February 2012.
 
=== EBU-TT ===
The [[European Broadcasting Union]] (EBU) defined several related profiles. EBU-TT Part 1 (Tech3350) uses a subset of [https://www.w3.org/TR/ttml1/ TTML1] constraining the features to make it more suitable for archive, exchange and use with broadcast video and web video applications.<ref>{{cite web | url=https://tech.ebu.ch/publications/tech3350 |title=Part 1: EBU-TT Part 1 - Subtitle format definition (EBU Tech 3350) |date=24 May 2017}}</ref> EBU-TT Part 3 (Tech3370) extends and constrains Part 1 further, in particular adding functionality to support live streaming of subtitles from the subtitle author to a distribution encoder.<ref>{{cite web | url=https://tech.ebu.ch/publications/tech3370 |title=Part 1: EBU-TT Part 3 Live Subtitling (EBU Tech 3370) |date=24 May 2017}}</ref> EBU-TT-D (Tech3380) is highly constrained profile of TTML1 intended specifically for distribution to players, and has been adopted by HbbTV, DVB and Freeview Play for example.<ref>{{cite web | url=https://tech.ebu.ch/publications/tech3380 |title=EBU-TT-D Subtitling Distribution Format (Tech3380) |date=22 May 2018}}</ref>
 
=== IMSC ===
[https://www.w3.org/TR/ttml-imsc1/ TTML Profiles for Internet Media Subtitles and Captions] specifies two profiles, a text-only profile and an image-only profile, intended to be used across subtitle and caption delivery applications worldwide, thereby simplifying interoperability, consistent rendering and conversion to other subtitling and captioning formats. It incorporate extensions from SMPTE-TT and EBU-TT.
 
== Adoption ==
 
=== ATSC ===
 
[https://www.atsc.org/wp-content/uploads/2016/12/A343-2018-Captions-and-Subtitles.pdf ATSC A/343] requires subtitle and caption content essence to be either IMSC 1 Text or Image Profile conformant.
 
=== DVB ===
 
[https://www.etsi.org/deliver/etsi_en/303500_303599/303560/01.01.01_60/en_303560v010101p.pdf ETSI EN 303 560 v1.1.1 (May 2018)] is the DVB TTML Subtitling Systems specification. It defines a default conformance point that is the common intersection of conformance between EBU-TT-D and IMSC 1 Text Profile, and allows for subtitle and caption documents conformant to EBU-TT-D, IMSC1 Text Profile or other profiles of TTML to be sent and signalled within DVB MPEG-2 transport streams, and includes the ability to embed fonts for subtitle presentation, also within the transport stream.
 
=== HbbTV 2 ===
 
[https://www.etsi.org/deliver/etsi_ts/102700_102799/102796/01.05.01_60/ts_102796v010501p.pdf ETSI TS 102 796 V1.5.1 (2018-09)] is the HbbTV 2.0.2 specification. It specifies that conformant players must be able to play back EBU-TT-D subtitles delivered online for example in ISO BMFF via MPEG DASH, as well as allowing for other existing broadcast subtitle formats.
 
=== HLS ===
 
At [https://developer.apple.com/videos/play/wwdc2017/504/# WWDC 2017] Apple announced support for IMSC 1 Text Profile in HLS, and shortly after shipped systems that include presentation support, including [[iOS]] and [[tvOS]].
 
=== Freeview Play ===
 
[http://www.digitaluk.co.uk/__data/assets/pdf_file/0004/93118/Freeview_Play_-_Technical_Specification_V3.0.9_2018.pdf Freeview Play — Technical Specification 2018 Profile Version: 3.0.9 (14/07/2017)] defines the application requirements for the [[Freeview (UK)]] hybrid IPTV and Broadcast device for the UK market, conforming to the HbbTV specification, requiring support for "DASH streaming technology with integrated EBU-TT-D subtitles".
 
=== MPEG CMAF ===
 
CMAF is the Common Media Application Format published by MPEG as part 19 of [[MPEG-A]], also published as [https://www.iso.org/standard/71975.html ISO/IEC 23000-19:2018 Information technology -- Multimedia application format (MPEG-A) -- Part 19: Common media application format (CMAF) for segmented media]. The format specifies CMFHD presentation profiles in which subtitle tracks shall include at least one "switching set" for each language and role in the IMSC 1 Text profile, while also allowing for other representations of subtitles in WebVTT.
 
== References ==