-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
There is a segment in the hls video that loads many times (QuotaExceededError) #6711
Comments
In the future please file a bug report making sure to include the console logs with error details. I was able to reproduce the issue with the sample found in issuebox/video-problem. This was not a case of loop loading, but rather the last two video segments failing to append because the browser throws With six second segments each at 18-19MB each, after a short while without media ejecting from the back buffer, the quota is full and the default buffer config options are not strict enough to prevent this error. There's a problem between the middle of sn 2 and the start of sn 10 at 14.833s-1:00.833 where the browser will not eject media. Are these all non-independent segments missing IDR frames? Even if you set a lower forward buffer you can run into issues if the back buffer cannot be ejected safely. This can be seen when attempting to set The default behavior for handling You can workaround this issue by adding a maximum buffer length of two target durations to your config: |
Thanks @robwalch Yes, in addition to the large file size, some clips of this video may have some errors. We directly convert the mp4/mkv video uploaded by the user into an m3u8 file through The problem now is: our users say that their videos can be played normally on desktop players such as vlc, but after we convert them, they are easily stuck at the 48th second position when playing on the browser. If necessary, I can send you the video source file. |
What do you want to do with Hls.js?
Maybe there is an error segment in my video, and I hope not to load this error segment repeatedly
What have you tried so far?
I created a github repository to reproduce the issue: https://github.com/issuebox/video-problem
Run the local environment and open http://localhost:5173/hls
When playing around 48 seconds into the video, an error occurs, and then the 14.m4s segment of the video is loaded many times
The text was updated successfully, but these errors were encountered: