-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error 4012 and then 5005 on Dash manifest #940
Comments
In the MPD you referenced, the video track's bandwidth is 0, and the audio track's bandwidth is 125000. The content is broken because 0 is not a valid value. See detailed analysis in #938 (comment) if you are interested. That said, it plays in v2.0.9, and in #938 I agreed implement a work-around. Since your content only has one audio+video combination, we should still be able to play it. I'm going to mark this as a duplicate of #938, and will close them both with the same work-around. Thanks! |
@joeyparrish thanks for the quick reply. |
@lelikg, no, I'm sorry for the confusion. According to #938, the manifest is broken because the video bandwidth is 0, which is invalid. A bandwidth of 0 produces nonsensical values according to formulas in the spec. I will attempt to make a change in Shaka Player that will allow such content to play in spite of it being out of spec. I will use the manifest link you provided to validate that change. What encoder/packager are you using to produce that stream? I'd like to report the bandwidth="0" issue to them, so that they have an opportunity to fix it on their end, as well. |
@joeyparrish I'm using nginx rtmp module https://github.com/arut/nginx-rtmp-module |
I filed arut/nginx-rtmp-module#1079. Thanks! |
@lelikg, I am now getting a 404 error on your manifest. Can you please make it available to me again for testing purposes? I want to make sure that my workaround is correct for your content. If you don't want to leave it up publicly, you can send a new URI to shaka-player-issues@google.com instead. Thanks! |
I saw that the manifest was back up, and I was able to verify that my work-around works with your content. Thanks! |
@joeyparrish thanks for all your help |
The fix has been pushed to |
@joeyparrish will test and let you know! Thanks! |
Although bandwidth is a required attribute in DASH and a bandwidth value of 0 makes no sense, we can tolerate such content in many cases and play it regardless. This used to work in v2.0.x, but stopped working in v2.1.0 through v2.1.5. Closes #938 Closes #940 Change-Id: I0c9b8eba923971f00946282cd8c138f68827961f
The work-around has been cherry-picked for v2.1.6. |
Have you read the FAQ and checked for duplicate issues:
yes
What version of Shaka Player are you using:
latest master
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:
custom app
If custom app, can you reproduce the issue using our demo app:
haven't tried
What browser and OS are you using:
chrome macos
What are the manifest and license server URIs:
http://vod.panda-os.com/1718/dash/sport1-stream1-1.mpd
(you can send the URIs to shaka-player-issues@google.com instead, but please use GitHub and the template for the rest)
What did you do?
tried to play this url in shaka player
What did you expect to happen?
the video would play
What actually happened?
got error 4012 and then error 5005
The text was updated successfully, but these errors were encountered: