W3C home > Mailing lists > Public > public-tt@w3.org > February 2003

Re: TT and subtitling

From: Charles Wiltgen <lists@wiltgen.net>
Date: Fri, 07 Feb 2003 21:18:47 -0800
To: List € W3C Timed Text <public-tt@w3.org>
Message-ID: <BA69D337.5E1FF%lists@wiltgen.net>

John Glauert wrote...

> * Some semantics should be built in.
>  - Language

Again stealing from a mature specification, here's Proposal 0.0 in two
languages:

<switch>
    <seq systemLanguage="en">
        <tt:p begin="0s" dur="5s">One</tt:p>
        <tt:p dur="10s">Two</tt:p>
        <tt:p begin="1s" dur="5s" class="important">Three</tt:p>
    </seq>
    <seq systemLanguage="fr">
        <tt:p begin="0s" dur="5s">Un</tt:p>
        <tt:p dur="10s">Deux</tt:p>
        <tt:p begin="1s" dur="5s">Trois</tt:p>
    </seq>
</switch>

This could also be done like this, I believe:

<seq>
    <switch>
        <tt:p begin="0s" dur="5s" systemLanguage="en">One</tt:p>
        <tt:p begin="0s" dur="5s" systemLanguage="fr">Un</tt:p>
    </switch>
    <switch>
        <tt:p dur="10s" systemLanguage="en">Two</tt:p>
        <tt:p dur="10s" systemLanguage="fr">Deux</tt:p>
    </switch>
    <switch>
        <tt:p begin="1s" dur="5s" systemLanguage="en">Three</tt:p>
        <tt:p begin="1s" dur="5s" systemLanguage="fr">Trois</tt:p>
    </switch>
</seq>

> I would like to add a plea to consider non-text!

If TT is an extension of SMIL, then we get audio/video integration for free.

-- Charles Wiltgen
   <http://playbacktime.com/>
Received on Saturday, 8 February 2003 00:18:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 2 November 2009 22:41:26 GMT