-safe 0 -i playlist.txt -vn -c:a flac -ar 96000 -f hls -hls_time 6 -strict -2 -hls_segment_type fmp4 -hls_flags delete_segments -segment_wrap 10 -hls_segment_filename "idk%d.m4s" playlist.m3u8
when using nginx to stream that then it plays back fine through vlc and mpv but in the browser stuff like hls.js cant play it back
Uncaught (in promise) DOMException: The element has no supported sources.
I think its the audio it fails to play
so hls.js is the problem?
No the flac codec
so i should use alac then?
videojs works so hls.js has to be the problem
are you using the example code with the tests of the browser support? (In the readme under "Embedding HLS.js")?
Hls.js is just an wrapper for the browsersupport.
i dont need to. they just havent added support for it. created an issue for it as well and found that someone had already mentioned it not working like 3 years ago and they just havent done anything about it xd
Обсуждают сегодня