Dubbing and Audio description Profiles of TTML2
OTHER License
The Dubbing and Audio description Profiles of TTML2, by the Timed Text Working Group is a profile of TTML2 suitable for the scripting, voicing and audio mixing of dubbing tracks and audio description for video. This work was originally a combination of The Audio Description Profile of TTML2 , which was originally made by the Audio Description Community Group, and Timed Text Authoring Lineage (TTAL).
It is intended to meet the requirements set out in the Requirements for Dubbing and Audio description.
The Editor's Draft can be viewed at https://w3c.github.io/dapt/
The specification is built using Respec and needs no additional build steps for the main body. The figures are written in PlantUML and need to be exported in SVG format after any changes.
The PlantUML figures' source files are in /figures/sources
.
The PlantUML figures can be exported as SVG via the command line, but IDE support in e.g. VSCode can make the editing experience simpler.
If using VSCode with the PlantUML Extension, the following workspace settings may be helpful:
{
"plantuml.diagramsRoot": "figures/sources",
"plantuml.exportFormat": "svg",
"plantuml.exportOutDir": "figures",
"plantuml.exportSubFolder": false,
}
Then while editing the source, running "PlantUML: Export Current Diagram"
from the command palette will regenerate the SVG and write the output to
the correct location, /figures
.
Unfortunately the SVG that PlantUML generates from our source files has some structural issues that cause it to fail the W3C's HTML validator. The following steps can be taken to fix them. It'd be neat to automate this somehow, one day...
contentStyleType="text/css"
title="[#a-zA-Z\-]+"
codeline="[#a-zA-Z0-9\-]+"
id="link_Text_Style"
to id="link_Text_Style_other"
/svg/a/g/text
move the <a>
wrappers to being around the <text>
that includes the text that's relevant./svg/g/a/text
(where the a
has is the second child of the g
, the first being a rect
)<rect>
at /svg/a/g/rect
out of the <g>
so there is /svg/rect
followed by /svg/g/a/text
but why? Seems okay without doing that.