jean-cloud-services/old_services/radiodemo.oma-radio.fr.classic/transcode.liq

12 lines
354 B
Plaintext
Raw Permalink Normal View History

2024-01-02 16:50:14 +00:00
#!/usr/bin/liquidsoap
input = mksafe(input.http("http://icecast:8000/direct.ogg"))
#blank = single("/secours.ogg")
#input = fallback(track_sensitive=false, [input, blank])
output.icecast(
%mp3(bitrate=128, samplerate=22050, stereo=false),
mount="/direct.mp3",
host="icecast", port=8000, password="JsCabjWJUZXrrrKCaaRZma5wD4YKj5LQLXv6f",
input)