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”, […]