kaltura / nginx-vod-module

NGINX-based MP4 Repackager
GNU Affero General Public License v3.0
1.98k stars 439 forks source link

EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS #825

Open ssarkarVRV opened 6 years ago

ssarkarVRV commented 6 years ago

currently we can create EXT-X-MEDIA:TYPE=SUBTITLES. How can I add: EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS in the m3u8 ? what is the format of the multi-uri that would support closed captions distinctly from subtitles ?

erankor commented 6 years ago

This is not supported, but can you explain what is the use case? why does it matter if it's SUBTITLES or CLOSED-CAPTIONS?

ssarkarVRV commented 6 years ago

the use case is: CLOSED-CAPTIONS and SUBTITLES needs to be dealt with differently. CLOSED-CAPTIONS is particularly meant for hearing impaired while subtitles can be just translations. HLS supports both in the m3u8.

erankor commented 6 years ago

Yeah, I believe I already read that somewhere, but I still don't understand what is the difference in terms of user experience between a manifest with SUBTITLES vs one with CLOSED-CAPTIONS. Is the player actually rendering them differently?

ssarkarVRV commented 6 years ago

Player(s) are expected to render closed-captions only when CC is turned on. And subtitles will be rendered when specific language subtitles are enabled. is it possible to add EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS to the m3u8 and add an option to the multi-uri format to support Captions ?

erankor commented 6 years ago

This will most likely require the addition of a new media type to the module, in order to group the streams correctly. I don't think we'll get to this any time soon, but will keep this issue open

daimoniac commented 5 years ago

This is also needed to remove the unnecessary subtitle button in the iOS Player in the case there are no subtitles present.

https://developer.apple.com/library/archive/qa/qa1801/_index.html

sdahdaah commented 4 years ago

exactly it is important to get rid of the CC on iOS.