Re: Education - 1, 000s, 100, 000's, Millions of listeners. (What kind of infrastructure)
gARetH baBB <[email protected]> Thu, 21 Mar 2024 13:02:49 +0000 (GMT)
| Newsgroups | gmane.comp.audio.icecast.general |
|---|---|
| Message-ID | <[email protected]> |
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.