ICECAST // Relaying forward with ffmpeg or liquidsoap// icecast to icecast

# ffmpeg -hide_banner -loglevel panic -re -icy 1 \ -i http://217.160.15.191/bbradio-ch04.aac -vn -map_metadata:s:0 0:g \ -acodec copy -f adts icecast://source:MYPASS@localhost:8000/test # ffmpeg -hide_banner -loglevel panic -re -icy 1 \ -i http://217.160.15.191/bbradio-ch04.mp3 -vn -map_metadata:s:0 0:g \ -acodec copy -f mp3 icecast://source:MYPASS@localhost:8000/test # sudo -u _liquidsoap liquidsoap \ output.icecast(%fdkaac, icy_metadata=”true”, host=”DstHOST”, port=80, password=”MyPASS”, mount=”/bbradio.aac”, mksafe(input.http(“http://SrcHOST:80/bbradio-ch01.aac”))) # sudo […]

liquidsoap | input.http problems

liquidsoap version 1.1.1 Under stressing circumstances (esp. hard network interrupts) input.http crashes. You can check this using the telnet interface: If http_1234.buffer_length returns 0.00 but http_1234.status returns connected. All telnet commands such as http_1234.start|stop|skip return done but liquidsoap does not react. The only way to get a proper state is to kill ans restart liquidsoap […]

Transcoding icecast streams from stereo mp3 to mono mp3, stereo aac+v2, stereo ogg with liquidsoap

url = “http://ADDRESS:80/radio.mp3” input = mksafe(input.http(url)) set(“log.file.path”,”/var/log/liquidsoap/radio.log”) output.icecast( %vorbis(samplerate=44100, channels=2, quality=0.9), mount=”/radio.ogg”, name=”RADIO”, url=”http://YOURSITE”, description=”YOURDESC”, genre=”YOURGENRE”, host=”ADDRESS”, port=PORT, password=”PASSWORD”, input) output.icecast( # %aac(channels=2, samplerate=44100, bitrate=128, adts=true), # %aacplus(channels=2, samplerate=44100, bitrate=64), %fdkaac(channels=2, samplerate=44100, aot=”mpeg2_he_aac_v2″, transmux=”adts”, sbr_mode=false, bitrate=48), mount=”/radio.aac”, name=”RADIO”, url=”http://YOURSITE”, description=”YOURDESC”, genre=”YOURGENRE”, host=”ADDRESS”, port=PORT, password=”PASSWORD”, input) output.icecast( %mp3(samplerate=44100, internal_quality=2, bitrate=64, stereo=false), mount=”/radio-mono.mp3″, name=”RADIO”, url=”http://YOURSITE”, description=”YOURDESC”, genre=”YOURGENRE”, […]