Skip to content

TTML captions not showing  #640

@jmacfl

Description

@jmacfl

Hi Dash Team,

I am having trouble with getting the TTML closed captions to show for a live stream. I could use some help in understanding how best to get them to show up.

First off, the content provider for the stream is using mime type/content-type of video/mp4 not application/ttml+xml as the Dash JS player seems to expect. When i requested that to be changed from the stream content provider the response i received indicated that application/ttml+xml is not the correct mime-type for TTML any longer but was used in an outdated spec version (response below):

The url which has xml+ttml is 1.7.4, the older version (and has encryption on the textstream which was also removed).
In 1.7.7 and on this was changed to be mp4 (so ttml wrapped as isobmff, codec type ‘stpp’) which the UVU/DVB/DASH spec now mandate.
In short, the 1.7.7 (and on) output is the output to look at.

So it seems they are not willing to use the older 1.7.4 content-type (plus that has encryption applied which it doesnt look like dash js player supports). I tried just running the content through charles and changing the content-type header and i do see that the dash player is parsing the text fragments and they are valid per the TTMLParser.js but they are never rendered to the screen. I am currently assuming it is a timeline issue of some kind but i am really just guessing. The stream is:

http://s91.acdn.quickplay.com/live/ss/4579/s/livech91028/livech91028.isml/livech91028.mpd

I tested on both Chrome (windows 7) and IE11 (windows 8.1) with the same results.

Note: not all content on this stream provides closed caption (though there are text fragments throughout they may not contain any speaker information if no CC is provided for that show).

Note2: you will need to disable time sync per issue #601 to allow playback of the stream for anything more than a few seconds.

Note3: I tried to find any details on what specific spec version is supported by the Dash JS player but couldnt find anything other than a reference to the SDP US profile which i believe we are in compliance with.

thanks
jeff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions