[Icecast] Education - 1, 000s, 100, 000's, Millions of listeners. (What kind of infrastructure)
gARetH baBB
hick.icecast at gink.org
Thu Mar 21 13:02:49 UTC 2024
On Thu, 21 Mar 2024, Wayne Barron wrote:
> Looking through HLS, I found this.
> https://github.com/mbugeia/srt2hls
Or you could just use ffmpeg:
ffmpeg -hide_banner -i "${icecaststream}" -c:a copy -vn -strftime 1
-f hls -hls_time 6 -hls_list_size 10 -hls_segment_filename "${hlspath}radio-%Y%m%d-%s.ts"
-hls_flags delete_segments -segment_format mpegts "${hlspath}radio.m3u8"
then you just have a set of files for a normal webserver.
Note the c:a copy means there is no transcoding in this instance.
If theory the HLS spec only allows for mp3 or aac, but I've abused it by
even using opus and not had a problem with the limited number of clients
I've tried.
ffmpeg also does DASH.
More information about the Icecast
mailing list