-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
What version of Hls.js are you using?
v1.6.15
What browser (including version) are you using?
Zen 1.18.6b (Firefox 147.0.3) (64-bit), Chrome Version 144.0.7559.132 (Official Build) Built from source for Fedora release 43 (Forty Three) (64-bit)
What OS (including version) are you using?
Linux
Test stream
https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround.avi
Configuration
{
"debug": true,
"enableWorker": true,
"lowLatencyMode": true,
"backBufferLength": 90
}Additional player setup steps
No response
Checklist
- The issue observed is not already reported by searching on Github under https://github.com/video-dev/hls.js/issues
- The issue occurs in the stable client (latest release) on https://hlsjs.video-dev.org/demo and not just on my page
- The issue occurs in the latest client (main branch) on https://hlsjs-dev.video-dev.org/demo and not just on my page
- The stream has correct Access-Control-Allow-Origin headers (CORS)
- There are no network errors such as 404s in the browser console when trying to play the stream
Steps to reproduce
curl https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_surround.avi --output bigbuck.avi
ffmpeg -i bigbuck.avi -map 0:v:0 -map 0:a:0 -c:v libx264 -c:a aac -hls_time 5 -hls_playlist_type vod -hls_segment_filename 'segment_%03d.ts' master.m3u8
npx serve --cors -l 3123 .
open https://hlsjs.video-dev.org/demo/?src=http%3A%2F%2Flocalhost%3A3123%2Fmaster.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjp0cnVlLCJkdW1wZk1QNCI6ZmFsc2UsImxldmVsQ2FwcGluZyI6LTEsImxpbWl0TWV0cmljcyI6LTF9
With -ac 2 for ffmpeg encoding command error is gone.
Expected behaviour
No buffer errors, correct playback or at least error with "surround audio is not supported".
What actually happened?
appendBuffer error.
Console output
{
"type": "mediaError",
"parent": "main",
"details": "bufferAppendError",
"sourceBufferName": "audio",
"frag": {
"_byteRange": null,
"_url": "http://localhost:3123/segment_000.ts",
"_stats": {
"aborted": false,
"loaded": 2971528,
"retry": 0,
"total": 2971528,
"chunkCount": 1,
"bwEstimate": 5943056000,
"loading": {
"start": 5800,
"first": 5806,
"end": 5810
},
"parsing": {
"start": 5810,
"end": 0
},
"buffering": {
"start": 5819,
"first": 0,
"end": 0
}
},
"_streams": {
"audio": {
"startPTS": 0,
"endPTS": 10.368,
"startDTS": 0,
"endDTS": 10.368,
"partial": false
},
"video": {
"startPTS": 0.021333333333333333,
"endPTS": 10.438,
"startDTS": -0.062,
"endDTS": 10.354666666666667,
"partial": false
},
"audiovideo": null
},
"base": {
"url": "http://localhost:3123/master.m3u8"
},
"relurl": "segment_000.ts",
"stats": {
"aborted": false,
"loaded": 2971528,
"retry": 0,
"total": 2971528,
"chunkCount": 1,
"bwEstimate": 5943056000,
"loading": {
"start": 5800,
"first": 5806,
"end": 5810
},
"parsing": {
"start": 5810,
"end": 0
},
"buffering": {
"start": 5819,
"first": 0,
"end": 0
}
},
"_decryptdata": null,
"_programDateTime": null,
"_ref": null,
"rawProgramDateTime": null,
"tagList": [
[
"INF",
"10.416667"
]
],
"duration": 10.416667,
"sn": 0,
"type": "main",
"loader": null,
"keyLoader": null,
"level": 0,
"cc": 0,
"start": 0,
"playlistOffset": 0,
"bitrateTest": false,
"title": null,
"initSegment": null,
"urlId": 0
},
"part": null,
"chunkMeta": {
"level": 0,
"sn": 0,
"part": -1,
"id": 1,
"size": 2971528,
"partial": false,
"transmuxing": {
"start": 5810,
"executeStart": 327,
"executeEnd": 335,
"end": 5818
},
"buffering": {
"audio": {
"start": 5831,
"executeStart": 5819,
"executeEnd": 0,
"end": 0
},
"video": {
"start": 5828,
"executeStart": 5824,
"executeEnd": 0,
"end": 0
},
"audiovideo": {
"start": 0,
"executeStart": 0,
"executeEnd": 0,
"end": 0
}
}
},
"error": {},
"err": {},
"fatal": true
}Reactions are currently unavailable