Dash-Industry-Forum / dash.js

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html
Other
5.17k stars 1.68k forks source link

Forced Subtitles - Support for IMSC model #4547

Open dsilhavy opened 3 months ago

dsilhavy commented 3 months ago

Description

Description provided by @nigelmegitt in https://github.com/Dash-Industry-Forum/dash.js/issues/4105#issuecomment-1401775940:

The Netflix model described is one where there is some subtitle track playing and everything in it is displayed; the player chooses either the "forced-subtitle" track or the "everything" track.

An alternative model to this is supported in IMSC:

Ideally, both modes would be supported.

Either way, the presence of a subtitle file that contains forced subtitles in the same language as the user's chosen audio track needs to be identified so that the subtitle file can be loaded and played.

dsilhavy commented 3 months ago

@nigelmegitt Are you aware of any DASH testcontent for this?

nigelmegitt commented 3 months ago

@dsilhavy I am not aware of DASH test content, but https://github.com/w3c/imsc-tests/blob/main/imsc1/ttml/forcedDisplay/forcedDisplay1.ttml is the IMSC test for it.

nigelmegitt commented 3 months ago

@palemieux do you know of any DASH test content for IMSC forced display mode?