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.

608 Captions Data is not captured in HLS, Live

See original GitHub issue

Have you read the FAQ and checked for duplicate open issues? Yes

What version of Shaka Player are you using? v2.5.2

Can you reproduce the issue with our latest release version? Yes (v2.5.9)

Can you reproduce the issue with the latest code from master? Yes

Are you using the demo app or your own custom app? Demo app

If custom app, can you reproduce the issue using our demo app? N/A

What browser and OS are you using? Google Chrome v80.0.3987.149 (Official Build) (64-bit), macOS Mojave 10.14.6

For embedded devices (smart TVs, etc.), what model and firmware version are you using? N/A

What are the manifest and license server URIs? The URL doesn’t have long TTL, if necessary, I could provide it separately.

What did you do? Copied the manifest URL, did setup the custom content in the Demo application, click play if it does not autoplay.

What did you expect to happen? I see the captions menu with the ability to select from or turn them off.

What actually happened? Embedded Captions doesn’t work, there is no option to select the captions in Demo application.

Looks like Media Source Engine pumps data to the Text Engine. I was able to identify that mux.js parses caption data from the stream. But in the text engine there is a compromised comparison for identifiers. Also, it impacts the Streaming Engine update routine where the MIME type for embedded captions is not explicitly supported.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
michellezhuoggcommented, May 5, 2020

@arturparkhisenko , thank you for providing the manifest!

For captions embedded in the video, f the playlist doesn’t contain CLOSED-CAPTIONS metadata, we can’t know if there’s captions or not until the video starts playing and the data gets transmuxed. Thus, we might not be able to show the captions on/off options in the menu. If you have a manifest with CLOSED-CAPTIONS attributes in the playlist, it’s expected to see the captions options displayed in the menu.

If you want us to detect and display embedded closed captions data on-the-fly, that might be the same issue as https://github.com/google/shaka-player/issues/1826 .

1reaction
michellezhuoggcommented, Apr 20, 2020

Hello @arturparkhisenko ,

  1. I looked into the url you shared with us in the email, and was able to see the captions. Could you please specify what captions were you expecting but not displaying?
  2. Could you please share a url for a manifest that is not behind a paywall? It would be much easier for us to reproduce and test directly on our demo app. Thank you!
Read more comments on GitHub >

github_iconTop Results From Across the Web

608 Captions Data is not captured in HLS, Live #2466 - GitHub
What actually happened? Embedded Captions doesn't work, there is no option to select the captions in Demo application. Looks like Media Source ...
Read more >
Closed captioning for Wowza Streaming Engine live stre
This caption type contains Base64-encoded CEA-608 or CEA-708 caption data. Wowza Streaming Engine ingests only the CEA-608 caption data (in ...
Read more >
Rendering Closed Captions for HLS streams on Android
I'm trying to get CEA-608 closed caption data to display, but I'm running into a problem. Methodology: I'm running on a Jelly bean...
Read more >
CEA-608 vs. CEA-708: How to Add Closed Captions to a Live ...
Learn how to add captions to a live Stream, and explore the differences between CEA-608 vs CEA-708 closed captions for online video.
Read more >
Information for embedded - AWS Elemental MediaLive
Convert 608 to 708: The embedded source captions can be EIA-608 captions, ... The new CEA-708 data will not include any CEA-708 formatting...
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