You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HLS.js does not support VTT in CMAF2. Only WebVTT (text) and IMSC1 are listed as supported subtitle segment formats in the HLS Spec. The sample asset https://hls-js-issue.s3.amazonaws.com/live.m3u8 errors in Safari and Apple HLS clients for this reason.
This is not a bug. Let us know why you are interested in this format, and if you are willing to contribute support for it. If it is something you would like to see adopted in HLS, lobby for it on the IETF mailing list https://www.ietf.org/mailman/listinfo/Hls-interest.
Thanks for the information, we saw the streaming not working on Apple devices either, but couldn't get confirmation on why. Now we know, and we can work on creating that track as plain text instead of a CMAF container.
we saw the streaming not working on Apple devices either, but couldn't get confirmation on why.
The HLS asset opens and plays* in QuickTime Player (tested Version 10.5 on macOS 12.5.1 using "File > Open Location..."). Selecting "Unknown" subtitles does not display subs. *Audio plays but video is not rendered.
Safari (15.6) gets as fas as creating a TextTrack for the subs with no VTT cues. It's unclear if the playback error is related to the video or subs (MEDIA_ERR_DECODE doesn't provide detailed information).
What version of Hls.js are you using?
1.5.7
What browser (including version) are you using?
Chrome Version 121.0.6167.139 (Official Build) (64-bit)
What OS (including version) are you using?
Ubuntu 20.04.6 LTS
Test stream
https://hlsjs.video-dev.org/demo/?src=https%3A%2F%2Fhls-js-issue.s3.amazonaws.com%2Flive.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjpmYWxzZSwiZHVtcGZNUDQiOmZhbHNlLCJsZXZlbENhcHBpbmciOi0xLCJsaW1pdE1ldHJpY3MiOi0xfQ==
Configuration
Additional player setup steps
None
Checklist
Steps to reproduce
Expected behaviour
Subtitles are shown
What actually happened?
Subtitles are not shown. Console error:
timeline-controller.ts:600 [log] > Failed to parse VTT cue: Error: Malformed WebVTT signature.
Working fine on VLC.
Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: