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
Playback stopping with Buffer stalled error #2893
Comments
Give this fix a try if you can disable CORs on your test stream #2894 |
The stream appears to get stuck in Safari as well setting hls.js reports only finding one second of audio in the first segment which should have a duration of 5 seconds:
sn 2 and 3 on the 720p level have no audio. This appears to be a problem with your stream. There's an audio track with no codec and 0 channels specified (and hls.js finds no audio samples in the file).
|
Looks like the 0-channel layout is a bug in FFmpeg (4.2.2 and lower). But if I reencode the video using version 4.3.1 the audio looks good:
Now the new test stream stops near the end:
|
Still encountering segments without audio with the new test stream. While hls.js has some code to fill missing audio, it's not working with this stream. Since this new stream also stalls in Safari, I wouldn't expect it to. |
I tried both streams in Safari on iPhone (iOS 13.6) and both play well. It
just takes a few seconds before Safari starts playing them.
čt 16. 7. 2020 v 17:10 odesílatel Rob Walch <notifications@github.com>
napsal:
… Still encountering segments without audio with the new test stream. While
hls.js has some code to fill missing audio, it's not working with this
stream. Since this new stream also stalls in Safari, I wouldn't expect it
to.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2893 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUUCRFKW732SKR6IWHI5QDR34J7BANCNFSM4O2SKMEQ>
.
|
@robwalch what tool u are using to anaylsis any stream |
The HLS.js demo page: https://hls-js.netlify.app/demo/ |
I have similar problem with bufferStalledError. I just clarified that my RAM disk is getting full which I use for transcoding. Next stream (ts file) is created empty due to lack of space, and the HLS player is stalling when it loads to play it. There is a new feature that enables transcode throttling and deleting of old fragments that were passed to the client which I hope will fix my problem: jellyfin/jellyfin#8744 |
What version of Hls.js are you using?
0.12.4 and 0.14.2
What browser and OS are you using?
Chrome on Linux/Mac/Windows
Test stream:
Test stream
Checklist
Expected behavior
Play the whole video
Actual behavior
Playback stops after a while. Usually after 10/20/30/40 seconds.
Browser caching is hiding this issue for me so it is better to test with caching disabled (Developer tools > Network > Disable cache checked).
Seems like this is related to #2320
The text was updated successfully, but these errors were encountered: