-
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
Shaka Player stuck (inaccurate manifest) #330
Comments
I was able to reproduce with your test page. It seems that the playhead is outside the buffered range:
I found that spot by luck while manually seeking, but if I seek to exactly that spot, it happens every time: video.currentTime = 583; In the manifest, the wget https://eu-storage-bitcodin.storage.googleapis.com/bitStorage/7875_9ef90fef446ac887e6b9a16185086713/191640_7cc1d8535960fed4acf0a1f9edd51dc4/video_0_4800000/dash/init.mp4
wget https://eu-storage-bitcodin.storage.googleapis.com/bitStorage/7875_9ef90fef446ac887e6b9a16185086713/191640_7cc1d8535960fed4acf0a1f9edd51dc4/video_0_4800000/dash/segment_146.m4s
cat init.mp4 segment_146.m4s > segment_146.mp4
mp4info --verbose --show-samples segment_146.mp4 | grep cts | head This shows:
So the first frame of that segment indeed starts at 584 seconds, which is what the browser reports as well. Therefore the manifest is not an accurate description of the underlying stream. I would recommend you report this to whoever wrote the DASH packager you used to create this stream. I will leave this issue open while we discuss internally what, if anything, we could do to support this kind of broken content without adding complexity to the system. |
Thank you a lot for your detailed analysis. I will forward this information to the instance responsible for the mpd creation. This helped me a lot. |
No problem. Glad I could help! |
The DASH spec permits manifests to be "approximate", and it appears that the definition of approximate is that the accumulated inaccuracy must be less than 50% of the ideal segment duration. So we will try to be a little more flexible and tolerate being off by at most one segment. |
As per issue shaka-project#330, manifests are only required to be approx. correct with respect to their description of the media segments. In order to avoid stalling when seeking through content like this, fetch the chunk prior to the one that supposedly contains the current time. This is an attempt to apply a similar fix to Ia7bb74d0120.
As per issue shaka-project#330, manifests are only required to be approx. correct with respect to their description of the media segments. In order to avoid stalling when seeking through content like this, fetch the chunk prior to the one that supposedly contains the current time. This is an attempt to apply a similar fix to Ia7bb74d0120.
Shaka Player seems to have problems with a video of mine. I noticed that sometimes
when seeking in the stream, the playback does not start. The manifest is available at [2].
How to reproduce:
My setup:
uname -a
-> Linux akopper-ThinkPad-T540p 3.19.0-58-generic mpd parser: Handle minimumUpdatePeriod being set to 0. #64~14.04.1-Ubuntu SMP Fri Mar 18 19:05:43 UTC 2016 x86_64 x86_64 x86_64 GNU/LinuxBest Regards,
Alexander
[1] https://storage.googleapis.com/eu-storage-bitcodin/bitStorage/7875_9ef90fef446ac887e6b9a16185086713/191640_7cc1d8535960fed4acf0a1f9edd51dc4/shaka.html
[2] https://eu-storage-bitcodin.storage.googleapis.com/bitStorage/7875_9ef90fef446ac887e6b9a16185086713/191640_7cc1d8535960fed4acf0a1f9edd51dc4/191640.mpd
The text was updated successfully, but these errors were encountered: