Mallard Video Captions

The documentation team has recently started creating short videos to supplement our text help. The first video we shipped was for Tetravex, showing basic piece movement. The nice thing about this video is that it doesn’t include any UI elements with translatable text, so translators don’t have to go through the truoble of retaking it. It also has no audio, so there’s nothing to retake there.

But parts of the video could be helped by some explanations. For that reason, I started working on a media subtitling system for Mallard. The subtitles are written directly in your Mallard document, where they’ll get translated along with the rest of the document. They’re then inserted into the HTML and dynamically shown and hidden as the video plays.

Sample XML:

<media type="video" mime="application/ogg" src="figures/gnotravex-video.ogv">
  <p>Simple demonstration of a game</p>
  <e:captions xmlns:e="">
    <e:caption start="1" end="7">Drag pieces from the right to the left, making                                              
    sure that adjacent edges have the same number and color.</e:caption>
    <e:caption start="7" end="14">Press <keyseq><key>Ctrl</key>arrow keys</keyseq>                                           
    to move all the placed pieces at once.</e:caption>

End result (very much a work in progress):

5 thoughts on “Mallard Video Captions”

    1. I had glanced at TTML. It’s a very large spec with a lot of stuff I don’t want to implement in this way. But it might be possible to use a small subset. The structure at least fits the way Mallard expects external stuff to appear in block context. I do want to embed inline Mallard markup into the captions though. I certainly agree we should use open XML standards whenever they work for our use cases. The experimental markup I used was more a proof of concept than anything else.

  1. The video degrades gracefully to placeholder text as I view this post in IE6. (Blame work policies, not personal preferences.)

  2. Nice work, just wondering if this could be extended to marking, text with pointer or text annotation on top of the video as overlay?

Comments are closed.

Creative Commons Attribution 3.0 United States
This work by Shaun McCance is licensed under a Creative Commons Attribution 3.0 United States.