-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support IMSC1 in HLS #986
Comments
We already support TTML in MP4 (independent of any particular manifest format such as HLS or DASH). The parser for TTML in MP4 is registered by MIME type and codec string, so we can simply add "stpp.TTML.im1t" to that registration: |
Small nit: hls parser currently assumes all text streams it encounters are vtt, so will need to update it as well. |
This turns out to be much more complicated than I realized. Still working on the solution. Thanks! |
Previously, our HLS implementation only supported WebVTT, because that seemed to be the only supported format in HLS. Now, we add support for other formats by extending the MIME and codec guessing system to text streams. We also add a parser registration for HLS's new "stpp.TTML.im1t" codec string. Closes #986 Change-Id: I0a58ca4650675ff0546e36edf4114290f7931239
Cherry-picked to v2.2.1 |
IMSC1 in HLS
Carried as XML text inside fMP4 Segments
HLS defines support for the IMSC1 Text profile
Mark your Media Playlists as IMSC1 with the CODECS attribute
• CODECS="stpp.TTML.im1t, …"
Documentation:
https://devstreaming-cdn.apple.com/videos/wwdc/2017/504op4c3001w2f222/504/504_advances_in_http_live_streaming.pdf
https://developer.apple.com/videos/play/wwdc2017/504/
https://developer.apple.com/streaming/HLS-WWDC-2017-Preliminary-Spec.pdf
The text was updated successfully, but these errors were encountered: