Accessibility/Video Text Format Comparison: Difference between revisions

Jump to navigation Jump to search
giving formatted subtitles a go - WebSRT not finished yet
(started comparison page)
 
(giving formatted subtitles a go - WebSRT not finished yet)
Line 26: Line 26:
   At the left we can see...
   At the left we can see...


  2
2
  00:00:18.16 --> 00:00:20.08
  At the left we can see...
 
3
   00:00:18.16 --> 00:00:20.08
   00:00:18.16 --> 00:00:20.08
   At the right we can see the...
   At the right we can see the...


   4
   3
   00:00:20.11 --> 00:00:21.96
   00:00:20.11 --> 00:00:21.96
   ...the head-snarlers
   ...the head-snarlers


   5
   4
   00:00:21.99 --> 00:00:24.36
   00:00:21.99 --> 00:00:24.36
   Everything is safe.
   Everything is safe.
Line 59: Line 55:




=== Formatted subtitles with hyperlink ===
TTML:
<pre>
<tt xml:lang="de_DE" xmlns="http://www.w3.org/ns/ttml">
  <head>
    <styling xmlns:tts="http://www.w3.org/ns/ttml#styling">
      <style xml:id="s1"
        tts:backgroundColor=rgba(0,0,0,0.5)
      />
    </styling>
    <layout xmlns:tts="http://www.w3.org/ns/ttml#styling">
      <region xml:id="c1"
        style="s1"
        tts:textAlign="left"
      />
      <region xml:id="c2"
        style="s1"
        tts:textAlign="right"
      />
    </layout>
  </head>
  <body>
    <div>
      <p begin="00:00:15.00" end="00:00:17.95">
        Auf der <span tts:fontStyle="italic">linken</span> Seite sehen wir...
      </p>
      <p begin="00:00:18.16" end="00:00:20.08">
        Auf der <span tts:fontWeight="bold">rechten</span> Seite sehen wir die....
      </p>
      <p begin="00:00:20.11" end="00:00:21.96">
        <!-- Can't provide a URL hyperlink in TTML :( -->
        ..die Enthaupter.
      </p>
      <p begin="00:00:21.99" end="00:00:24.36">
        <!-- Can't just mark a section as emphasised - gotta chose how -->
        Alles ist <span tts:textDecoration="underline">sicher</span>.<br/>Vollkommen sicher.</p>
  </body>
</tt>
</pre>
WebSRT:
<pre>
  1
  00:00:15.00" --> 00:00:17.95
  Auf der <i>linken</i> Seite sehen wir...
  2
  00:00:18.16 --> 00:00:20.08
  Auf der <b>rechten</b> Seite sehen wir die....
  3
  00:00:20.11 --> 00:00:21.96
  ...die <a href="http://orange.blender.org/blog/creative-commons-license-2/">Enthaupter</a>.


  4
  00:00:21.99 --> 00:00:24.36
  Alles ist <mark>sicher</mark>.
  Vollkommen sicher.
</pre>


=== Formatted subtitles with hyperlink ===
WMML:


<pre>
<pre>
Line 80: Line 137:
   </head>
   </head>
   <cuelist>
   <cuelist>
     <cue id="c1" start="00:00:15.00" end="00:00:17.95">Auf der <i>linken</i> Seite sehen wir...</cue>
     <cue id="c1" start="00:00:15.00" end="00:00:17.95">
     <cue id="c2" start="00:00:18.16" end="00:00:20.08">Auf der <b>rechten</b> Seite sehen wir die....</cue>
      Auf der <i>linken</i> Seite sehen wir...
     <cue id="c3" start="00:00:20.11" end="00:00:21.96" style="color: red;">...die <a href="http://orange.blender.org/blog/creative-commons-license-2/">Enthaupter</a>.</cue>
    </cue>
     <cue id="c4" start="00:00:21.99" end="00:00:24.36">Alles ist <mark>sicher</mark>.&lt;br/>Vollkommen sicher.</cue>
     <cue id="c2" start="00:00:18.16" end="00:00:20.08">
      Auf der <b>rechten</b> Seite sehen wir die....
    </cue>
     <cue id="c3" start="00:00:20.11" end="00:00:21.96" style="color: red;">
      ...die <a href="http://orange.blender.org/blog/creative-commons-license-2/">Enthaupter</a>.
    </cue>
     <cue id="c4" start="00:00:21.99" end="00:00:24.36">
      Alles ist <mark>sicher</mark>.&lt;br/>Vollkommen sicher.
    </cue>
   </cuelist>
   </cuelist>
</wmml>
</wmml>

Navigation menu