SRGSSR / nginx-vod-module

NGINX-based MP4 Repackager
GNU Affero General Public License v3.0
2 stars 1 forks source link

Support for text roles #11

Open SebastienChauvin opened 4 months ago

SebastienChauvin commented 4 months ago

Suggestion from Kaltura: https://github.com/kaltura/nginx-vod-module/issues/1049#issuecomment-534418869

Add a new “role” enum to support:

DASH

https://dashif.org/docs/IOP-Guidelines/DASH-IF-IOP-Part9-v5.0.0.pdf

https://github.com/Dash-Industry-Forum/DASH-IF-IOP/issues/165

In ISO/IEC 23009-1:2022(E) ( https://standards.iso.org/ittf/PubliclyAvailableStandards/c083314_ISO_IEC 23009-1_2022(en).zip )

We have : 5.8.5.5 ****DASH role scheme saying that role can be description / forced-subtitle

SebastienChauvin commented 4 months ago

https://srgssr-ch.atlassian.net/wiki/spaces/AWS/pages/960594199/Providing+accessibility+with+Stream+Packaging

SebastienChauvin commented 4 months ago

Text track

role=subtitle (default) -> HLS subtitle without flag DASH no role, no accessibility

role=caption -> HLS closed-caption without flag DASH <Accessibility schemeIdUri="urn:mpeg:dash:role:2011" value="caption"/>

role=description -> HLS #EXT-X-MEDIA:TYPE=SUBTITLES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog,public.accessibility.describes-music-and-sound" DASH <Accessibility schemeIdUri="urn:mpeg:dash:role:2011" value="caption"/>

role=forced-subtitle -> HLS FORCED DASH <Role schemeIdUri="urn:mpeg:dash:role:2011" value="forced-subtitle"/>

Audio track

role=description -> HLS #EXT-X-MEDIA:TYPE=AUDIO,CHARACTERISTICS="public.accessibility.describes-video" DASH