Questions tagged [ttml]

Timed Text Markup Language(TTML) is a W3C XML dialect for creating captions or subtitles for videos.

36 questions
9
votes
1 answer

XDocument.Save() add unwanted namespace on each XElement

I have the following XML :
nywhere
  • 91
  • 2
4
votes
1 answer

Generate timed-text synchronised with Text-to-Speech word-by-word?

How can I generate timed-text (e.g. for subtitles) synchronised with Text-to-Speech (TTS) word-by-word? I'd like to do this using the high quality SAPI5 voices (e.g. those available from IVONA here) and that I have used on Windows 10. On Windows we…
GavinBrelstaff
  • 3,016
  • 2
  • 21
  • 39
3
votes
3 answers

Explanation of W3C TTML timing attributes

In W3C TTML dfxp standard, a div element can contain begin, end and duration attributes. How to interpret the value of these timing attributes? Example:

Hi,

akshay
  • 207
  • 1
  • 2
  • 7
2
votes
1 answer

Adding some kind of subtitle to an mp4 with ffmpeg

I have a subtitle (it certainly looks like it), but I don't know how to add it into an MP4 I'm creating. First a hexdump of the subtitle: 00000000 00 00 00 18 66 74 79 70 69 73 6f 36 00 00 00 00 |....ftypiso6....| 00000010 69 73 6f 36 64 61 73…
Steven Van Ingelgem
  • 872
  • 2
  • 9
  • 25
1
vote
2 answers

How do I add an arbitrary namespace to an XslCompiledTransform at run-time?

I'm attempting to perform a very simply transform of Timed Text Markup Language (TTML) documents. Here's a minimalist example of a TTML file:
Peter
  • 1,488
  • 2
  • 17
  • 23
1
vote
3 answers

Youtube Timed Text Caption box alignment issue

I want to be able to show 2 lines of captions/subtitles on a youtube video using the youtube timed text (.ytt) format
uwe
  • 3,938
  • 11
  • 37
  • 50
1
vote
1 answer

HTML5: Playing

I tried the following to play an audio file and display TTML subtitles with it, but subtitles are not displayed:
1
vote
3 answers

How to convert .srt file into ttml based xml subtitle file using ffmpeg?

I have an .srt subtitle file. I want to convert it into .ttml format(or xml) using ffmpeg command. I tried using traditional way to convert this. But ffmpeg throwing an error. Is there any way to convert this in Linux platform? Or any other command…
geo-freak
  • 327
  • 3
  • 20
1
vote
2 answers

What does '+' mean in W3C syntax representation for TTML timeExpression?

I want to understand the valid formats of timeExpressions in TTML. This section of the specification describes the syntax. Here is an extract: : clock-time | offset-time clock-time : hours ":" minutes ":" seconds ( fraction…
Pocketsand
  • 1,261
  • 10
  • 15
1
vote
0 answers

Positioning in TTML Subtitles for Youtube

Can someone please explain and provide an example of how positioning works in subtitles that are of TTML format to be uploaded into Youtube as subtitles? This link states that it does, but I cannot seem to figure out how to make it work in…
aucforum
  • 31
  • 2
1
vote
0 answers

Sprite Image reference using TTML

Can I use TTML to create cue that link thumbnail image file coordinates to a range of time the thumbnail represent. I would like to use TTML to create the cue reference of the thumbnail sprite image created for a duration of the video. I am aware…
P Kumar
  • 11
  • 1
1
vote
1 answer

TTML styles missing

I've created static *.html5 file and deployed it on wildfly 8.1.0. Inside I've created tag with TTML subtitles. When I open page in IE Edge, subtitles are rendered but my css settings are not shown. Only setting that is working is region. How can I…
Bojan
  • 163
  • 2
  • 8
1
vote
1 answer

How to compute implicit durations for par and seq timeContainers in TTML?

I have the following excerpt from a TTML test suite at http://www.w3.org/2008/12/dfxp-testsuite/web-framework/START.html (MediaSeqTiming002):
Michał Trybus
  • 11,526
  • 3
  • 30
  • 42
1
vote
2 answers

Chromecast subtitle support

Having played around alot with the Chromecast to find a good solution to closed captioning (in my project we already use TTML and segmented WEBVtt - both which does not work "as is") i was VERY supprised to find that my final bright idea, to…
Tobias
  • 93
  • 10
1
vote
2 answers

Chromecast add TTML URL to Smooth Stream manifest

I want to update the SmoothStreaming chromecast player with a TTML captions URL in my receiver application. My manifest file does not contain this URL from the start, so I need to add it with: cast.player.enableCaptions(true, 'ttml',…
William
  • 741
  • 4
  • 9
1
2 3