问题
I have created a HLS stream from a FLAC file with an output of FLAC using the following command:
ffmpeg
-i 10-brass-in-pocket.flac
-map 0:a -c:a:0 flac
-f hls
-hls_playlist_type vod
-master_pl_name master.m3u8
-hls_time 30
-hls_segment_type fmp4
-strict -2
-hls_segment_filename music.m4s
-hls_flags single_file
-var_stream_map "a:0" stream_%v.m3u8`
I have published it here:
https://di5wym8npn4cm.cloudfront.net/stackoverflow_fmp4_singlefile/master.m3u8. (this works in VLC)
Page with audio controls here:
https://di5wym8npn4cm.cloudfront.net/stackoverflow_fmp4_singlefile/index.html
I can see from the network tab in Safari that the second segment fails with a http code 206.
Why does this stream not play?
来源:https://stackoverflow.com/questions/65629475/hls-flac-stream-using-ffmpeg