question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TTML subtitles embedded in MPEG does not work or show

See original GitHub issue

Have 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?

  1. Started the stream
  2. 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:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ivenmscommented, Feb 3, 2020

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.

0reactions
joeyparrishcommented, Feb 3, 2020

@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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

TTML subtitles embedded in MPEG does not work or show
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...
Read more >
TTML and derivated captions formats - W3C
Timed Text Markup Language (TTML) helps to bridge the TV and web worlds. ... In ATSC and online video, 708 captions are carried...
Read more >
All captions except sidecar or SMPTE-TT in MS Smooth
The problem is that DASH cannot contain embedded captions. Therefore, when you save the event, you will get the validation message.
Read more >
the jungle: caption and subtitle formats in video streaming
Unified Packager does not support embedded subtitles (i.e., it cannot convert the embedded CEA-608 and CEA-708 text tracks into another format).
Read more >
Hardcoding Subtitles Issue - The VideoLAN Forums
VLC works fine on Windows 10, I mean subtitles can be embedded onto a video itself, but not on Mac OS version VLC....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found