Accessibility/Video Text Format Comparison: Difference between revisions

Jump to navigation Jump to search
chapter markers markups
(karaoke markup examples)
(chapter markers markups)
Line 548: Line 548:
== Chapter markers ==
== Chapter markers ==


Simple:
=== Simple Chapter Markers ===
 
TTML:
 
<pre>
  <tt xml:lang="en-US" xmlns="http://www.w3.org/ns/ttml">
    <head>
      <metadata xmlns:ttm="http://www.w3.org/ns/ttml#metadata">
        <ttm:role>x-chapters</ttm:role>
      </metadata>
    </head>
    <body>
      <div>
        <p begin="00:00:00.00" end="00:00:18.00">Introductory Titles</p>
        <p begin="00:00:18.01" end="00:01:10.00">The Jack Plugs</p>
        <p begin="00:01:10.01" end="00:02:30.00">Robotic Birds</p>
      </div>
    </body>
  </tt>
</pre>
 
 
WebSRT:
 
<pre>
  ; not sure how to specify that this is in en-US
  ; not sure how to specify that these are chapters
 
  1
  00:00:00.00 --> 00:00:18.00
  Introductory Titles
 
  2
  00:00:18.01 --> 00:01:10.00
  The Jack Plugs
 
  3
  00:01:10.01 --> 00:02:30.00
  Robotic Birds
</pre>
 
 
WMML:


<pre>
<pre>
Line 561: Line 603:
</pre>
</pre>


With image:
 
Analysis:
* All three fulfill the needs for chapter markers.
 
 
=== Chapter Markers with Image ===
 
TTML:
 
<pre>
  <tt xml:lang="en-US" xmlns="http://www.w3.org/ns/ttml">
    <head>
      <metadata xmlns:ttm="http://www.w3.org/ns/ttml#metadata">
        <ttm:role>x-chapters</ttm:role>
      </metadata>
    </head>
    <body>
      <div>
        <!-- Have to use xlink to provide URL hyperlink in TTML -->
        <p begin="00:00:00.00" end="00:00:18.00">
          <span xlink:href="intro.png"
                      xlink:actuate="onLoad" xlink:show="embed"
                      xmlns:xlink="http://www.w3.org/1999/xlink"></span>
          Introductory Titles
        </p>
        <p begin="00:00:18.01" end="00:01:10.00">
          <span xlink:href="plugs.png"
                      xlink:actuate="onLoad" xlink:show="embed"
                      xmlns:xlink="http://www.w3.org/1999/xlink"></span>
          The Jack Plugs
        </p>
        <p begin="00:01:10.01" end="00:02:30.00">
          <span xlink:href="birds.png"
                      xlink:actuate="onLoad" xlink:show="embed"
                      xmlns:xlink="http://www.w3.org/1999/xlink"></span>
          Robotic Birds
        </p>
      </div>
    </body>
  </tt>
</pre>
 
 
WebSRT:
 
<pre>
  ; not sure how to specify that this is in en-US
  ; not sure how to specify that these are chapters
  ; not sure how to specify representative images for chapters
 
  1
  00:00:00.00 --> 00:00:18.00
  Introductory Titles
 
  2
  00:00:18.01 --> 00:01:10.00
  The Jack Plugs
 
  3
  00:01:10.01 --> 00:02:30.00
  Robotic Birds
</pre>
 
 
WMML:


<pre>
<pre>
Line 574: Line 680:
</pre>
</pre>


6. Texted audio descriptions
 
Analysis:
* In TTML we have to use xlink to load the images.
* In WebSRT we cannot specify representative images for a cue. (TBD?)
 
 
== Texted audio descriptions ==
 
WMML:


<pre>
<pre>
Line 587: Line 701:
</pre>
</pre>


7. Timed Metadata


Timed slides for a presentations (slide transcripts given, too):
== Timed Metadata ==
 
Timed slides for a presentations with slide transcripts.
 
 
WMML:


<pre>
<pre>

Navigation menu