# this is a side script i made, # to see if it would be possible to download the whole file # based on the stream segments # but, if you can use yt-dlp, you don't need this :--) # because yt-dlp will download the file for you in one go # so yes, this is the command i ran to do the same at some point: # --- ffmpeg -protocol_whitelist https,file,tls,tcp -i alnik.m3u8 -t 3581 alnik.wav # 3581 = 59m41s, which is the duration of Alnik's show # and the protocol_whitelist is needed to allow https downloads, # which are not allowed by default