From W3C Wiki
Revision as of 20:52, 29 January 2013 by Gadams (Talk | contribs)

Jump to: navigation, search

Clarifications for Time Expression Semantics

  • The following is a Change Proposal for Issue 199
  • Editor: Glenn Adams.
  • Date: January 28, 2013.


TTML defines three time bases: media, smpte, and clock. The first and last of these are directly related to local real time in accordance to the related media play rate and the related media real start time (i.e., the real time when the related media playback started), parameters not modeled by TTML itself. The relationship between media time (M) and local real time (R) is as follows:

R = playRate * M + realStartTime


M ∈ ℜ | 0 ≤ M < ∞ | M in seconds
playRate ∈ ℜ | −∞ < playRate < ∞ | playRate is unit-less
realStartTime ∈ ℜ | 0 ≤ realStartTime < ∞ | realStartTime in seconds, with 0 being start of epoch

For sake of convenience, and without loss of generality, we assume playRate is 1 and realStartTime is 0 for the remainder of this document.