Questions tagged [ttml]

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

36 questions
1
vote
1 answer

Adding a video element with Popcorn TTML subtitles

I have a page where I want to insert a video element with a TTML subtitle using PopcornJS as you can see in this Fiddle. All is working fine except the subtitles. They don't show. When I do something like
1
vote
2 answers

Parsing XML for Converting Time Text Markup to WebVTT

I working on a web application that can take in a subtitle file in either Time Text Markup(TTML) or WebVTT format. If the file is Timed Text, I want to translate it to WebVTT. This is mostly not an issue, the one problem I'm having is that if the…
HJ05
  • 1,358
  • 2
  • 11
  • 23
0
votes
3 answers

Use AS3 to parse XML node attribute that has a colon

I have the following XML document:

John
  • 32,403
  • 80
  • 251
  • 422
0
votes
1 answer

YouTube Data API V3: Download caption

I’m working on a project that will need to read caption(s) from YouTube videos, and then parse the caption to make a dictionary of words. Right now I’m only working on getting caption data first! I made this API call, and it didn’t work as…
Ahmed
  • 13
  • 3
0
votes
1 answer

Setting font size in webvtt without css styling?

In an attempt to convert a ttml file into a webvtt file, I've been trying to set a font size in cues, but without css styling. For instance, instead of: WEBVTT STYLE ::cue { font-size: 80% } I would like to have the font size attribute to appear…
Fishay
  • 1
0
votes
0 answers

Python parsing weird root - TTML (XML) with ElementTree or lxml

Here is a shortened example of the TTML file, which looks to me just like a specially formatted XML file:
AlpacaJones
  • 114
  • 8
0
votes
2 answers

How to browse thru TTML and get all the time\captions into JSON file

I have a ttml file that contains video captions, I want to fetch thru all the pairs time\caption and place them into a JSON file, I have tried https://www.npmjs.com/package/ttml?activeTab=readme but it did not work this one. Any ideas ? Thank you
Lydia halls
  • 652
  • 8
  • 17
0
votes
0 answers

how to setup MPEG-DASH in mac?

I wants to do a MPEG-DASH setup with ttml(Any Audio and Video is fine). But wants to put my own TTML content. Is it available in any link ? I am having mac & ubunthu
0
votes
0 answers

How to convert a document to a .str and a .ttml file

I have a document saved in notepad, but for some reason after saving it, it is appears in properties at .str.txt and .ttml.txt instead of just .str or .ttml, which is what I would like it to be. I think that I tired it all, following tutorials and…
0
votes
0 answers

CAF: subtitles positioning issue even after shaka-player update

We've created a custom CAF v3 receiver. We had the same troubles as those described here (subtitles in the top-left corner of the screen) CAF Receiver: Positioning of subtitles . Looks like Google managed to fix this issue in shaka-player v2.2.10.…
FNC dev
  • 11
  • 4
0
votes
1 answer

CAF Receiver: Positioning of subtitles

I've created a custom CAF receiver for playing back MPEG-DASH content which is encrypted using Widewine. My content also has TTML subtitles embedded in the manifest which can be changed dynamically. Playing my encrypted content works like a charm -…
0
votes
1 answer

Remove xml node from ttml file C#

Since I was not able to find an answer to my previous question: Xmlstarlet ed encoding and powershell inside Process C# I want to try another path. I need to just be able to delete nodes from a ttml file (it's a type of xml used for subtitles). With…
LiefLayer
  • 977
  • 1
  • 12
  • 29
0
votes
1 answer

How to convert TTML (Timed Text Markup Language) tick to seconds

Does anyone know how I can convert a TTML-tick to a second? For example, how do I convert "1281697500" to ~2min7sec?
IanRawz
  • 19
  • 1
  • 5
0
votes
1 answer

What happens if different region attribute values are specified on parent and child?

Suppose we have the following TTML document:
Michał Trybus
  • 11,526
  • 3
  • 30
  • 42
0
votes
2 answers

TTML caption file not working in all browsers

I am integrating closed captions in my video element