-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ttml play issue #1028
Comments
Looking over the caption mp4s, I think see the problem. |
Second mdat is seems to be invalid, i attempted to cut it, but no luck, error 3000 was faced. |
Well, I got the change out now, so you can just pull from master. |
On reflection I'm not entirely sure if this is a bug, or if it's bad content, but I can't find a spec for ttml in mp4 so I'll leave the bug label for now. |
Maybe label is enhancement? |
Beforehand, if we were parsing a ttml subtitles stored in an mp4, we did not account for the possibility that there would be multiple mdat boxes, each with its own ttml data. In such a case, we would only use the payload from the final mdat. I don't know if having multiple mdat like that is really in the spec, but at least one user has had this problem, and it's a straightforward change to make that doesn't really slow down the text parser at all (since we parse every mdat anyway). Closes #1028 Change-Id: Id782695548cb92f7aa7278843695b670d8c15ff0
The fix has been cherry-picked to v2.2.x and will be released in v2.2.2. |
@theodab @joeyparrish |
I tried it out in the demo. Your example asset doesn't work in the v2.3.0 demo for non-caption-related reasons, but in the nightly build demo it works fine for me. Have you tried out the nightly? |
Have you read the FAQ and checked for duplicate issues:yes
What version of Shaka Player are you using: latest
Can you reproduce the issue with our latest release version:demo
Can you reproduce the issue with the latest code from
master
: demoAre you using the demo app or your own custom app:demo
If custom app, can you reproduce the issue using our demo app:
What browser and OS are you using: any
What are the manifest and license server URIs:
*(you can send the URIs to [email protected] instead, but please use GitHub and the template for the rest)*sent to mail
What did you do? Opened stream and waited for subtitles
What did you expect to happen? Subtitles in player
What actually happened? No subs appeared, but in http://dashif.org/reference/players/javascript/v2.5.0/samples/dash-if-reference-player/index.html it works fine. I suppose there is some trouble with ttml itslef, but how to workaround this problem? We need to lauch stream on your player with subtitles.
The text was updated successfully, but these errors were encountered: