TTML subtitles embedded in MPEG does not work or show
See original GitHub issueHave you read the FAQ and checked for duplicate open issues? Yes. There might be a duplicate issue (https://github.com/google/shaka-player/issues/2256), but I’m not completely sure, hence creating a new one.
What version of Shaka Player are you using? 2.5.6
Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from master
?
Yes
Are you using the demo app or your own custom app? Own custom
If custom app, can you reproduce the issue using our demo app? Yes
What browser and OS are you using? MacOS, Chrome
For embedded devices (smart TVs, etc.), what model and firmware version are you using? Chromecast
What are the manifest and license server URIs? Link to manifest send to shaka-player-issues@google.com
What did you do?
- Started the stream
- Enabled the subtitles programmatically Works in 2.5.5 but fails in 2.5.6 and up. Attached samples of 2.5.5 and 2.5.6 which demonstrates the issue.
What did you expect to happen? The embedded TTML subtitles would show
What actually happened? Nothing, but a small square was visible Archive.zip
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Our CAF receiver also facing the same issue after the latest Shaka Player update. The issue appears only for Arabic subtitles, english works fine. The closed captions on our system is using mpd textstreams, encoded in ANSI.
@ivenms, not sure what you mean about ANSI encoding. AFAIK, ANSI was not an Arabic encoding. Besides this, all the subtitle formats we use mandate a UTF-8 encoding (both VTT & TTML).
It’s also not clear what is meant by “mpd textstreams”. We support 4 different text formats within an MPD (VTT or TTML, in plain text or embedded in MP4).
If you’re having an issue with CAF, please wait for the next CAF update to see if that fixes it. If not, please file a support request with the Cast team specifically. This team doesn’t directly support CAF, which is written and maintained by a different team who have their own bug tracker.
If you have an issue with Shaka Player directly, or if your CAF issue can be reproduced in the latest release version of the Shaka Player Demo app, then please file a new issue against Shaka Player.
Thanks!