| 14 Jul 2025 |
emily | but if it's a solved problem with Icecast I guess we can stop discussing the topic :) | 15:02:22 |
matthewcroughan - nix.zone | icecast has the reverse proxying quirks | 15:02:40 |
matthewcroughan - nix.zone | internet radio requires being such a nerd | 15:02:52 |
matthewcroughan - nix.zone | I think it's kinda fun seeing all this stuff you have to do | 15:03:10 |
n4ch723hr3r | who listens to that anyway in 2025? | 15:03:16 |
matthewcroughan - nix.zone | /me | 15:03:27 |
emily | pretty sure it would just work with MPEG-DASH btw | 15:03:28 |
matthewcroughan - nix.zone | Ah right HLS and MPEG-DASH are different right? | 15:03:43 |
n4ch723hr3r | i see that xD | 15:03:45 |
matthewcroughan - nix.zone | https://en.wikipedia.org/wiki/HTTP_Live_Streaming | 15:03:52 |
Zhaofeng Li | Interesting, just got to my laptop and tried https://brainmelter.brockman.news/brainmelter.ogg, and it looked just like an regular http request (not rtmp and stuff). But I do see https://github.com/aswild/icecast-notes so the main problem looks like that it's not "typical" http? | 15:03:56 |
matthewcroughan - nix.zone |
HLS resembles MPEG-DASH
| 15:04:00 |
emily | yes, I named like four separate protocols | 15:04:03 |
matthewcroughan - nix.zone | And ffmpeg can do mpeg-dash as well? | 15:04:29 |
n4ch723hr3r | should | 15:04:41 |
matthewcroughan - nix.zone | https://www.cloudflare.com/learning/video/what-is-mpeg-dash/ | 15:04:48 |
emily | https://ffmpeg.org/ffmpeg-all.html | 15:04:53 |
matthewcroughan - nix.zone |
MPEG-DASH is a technique for streaming video over the Internet. MPEG-DASH uses HTTP and can run on any web server.
| 15:04:53 |
matthewcroughan - nix.zone | By "run on any web server" does it mean "be transported via" ? | 15:05:01 |
matthewcroughan - nix.zone | it doesn't mean that the webserver is playing the role of ffmpeg | 15:05:11 |
emily | it can do all but one of the protocols I named and several more besides | 15:05:10 |
emily | none of this is really on-topic for this room btw… | 15:05:21 |
matthewcroughan - nix.zone | So you're saying liquidsoap itself can act as the server? | 15:05:52 |
matthewcroughan - nix.zone | So all I'd need is NGINX + Liquidsoap, rather than mpd + icecast + nginx for example | 15:06:32 |
matthewcroughan - nix.zone | What, networking and protocols? | 15:06:44 |
n4ch723hr3r | https://github.com/mbugeia/srt2hls
this seems to do what you want | 15:07:39 |
n4ch723hr3r |
srt2hls use Liquidsoap to receive a stream and encode it in HLS, then it use [nginx] (https://www.nginx.com/) to serve HLS content.
| 15:07:47 |
matthewcroughan - nix.zone | If the metadata is better supported by mpeg-dash, I'd rather be using that instead of hls | 15:09:53 |
matthewcroughan - nix.zone | turns out BBC radio actually uses mpeg-dash for everything | 15:10:09 |
n4ch723hr3r | you can probably use the liquidsoap file and mod it from HLS to mpeg | 15:10:59 |