-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
hls.js seems not support 708 closed captions but 608 only #6754
Comments
HLS.js only supports 608 captions tracks with some support for 708 characters. |
It's not on the HLS.js roadmap but we'd gladly accept a contribution that adds support. |
I was going to report on this. Wowza has just turned on 708 caption injection but there isn't a consolidated way to get players to support it. I reported to Shaka to enable P16 control codes for two byte character parsing. I don't see how it's parsing G0 and G1 captions and the control codes. It needs its own parser on top of 608 ? shaka-project/shaka-player#7837 my original ticket shaka-project/shaka-player#7829 The java code showing how 708 caption parsing works and supports 2 byte charsets. |
Please file feature requests and/or bug reports with sample assets you need support for, including expected and actual outcomes. |
What do you want to do with Hls.js?
I'd like to ask if 708 captions are actually supported by hls.js.
The main reason I'm asking here is comparing to 708, 608 is not able to display non-Latin based languages. And I did find hls.js is not the only one having this issue, Bitmovin player seems not able to show the same 708 captions as well. But since it's displaying fine for VHS (VideoJS), I am more wondering if there is a reason for 708 getting ignored, or any specific configs controls the behavior here.
Plus 708 captions can support more than 4, but there is no such configuration within hls.js similar to captionsTextTrack1Label , which is up to 4 only and seems only applied to 608 captions, even though the Doc is showing for CEA-708 caption tracks.
I can share the source link separately if that is helpful. But below are things I have tried:
With HLS sources (both Vod & Live) where both 608 and 708 caption tracks are embedded, it appears only 608 captions will be able to select and display on the player, while 708 ones will be ignored.
For the same sources, if I load into VHS (VideoJS) page: https://videojs-http-streaming.netlify.app/, I am able to see the captions for both 608s and 708s.
Attached a couple screenshots for the closed caption selector to show the difference:
VHS:
Hls.js
Here is an output from the MediaInfo to outlining the Text Tracks:
And I have also tried to use ccextractor to confirm those captions are able to be extracted and exported into srt files separately.
What have you tried so far?
No response
The text was updated successfully, but these errors were encountered: