Icecast | signal HUP | Parse error in reading

You have had the correct file rights and this message already occurs in error.log? The icecast.xml is accepted without problems during regular start? Your icecast runs stable? Solution: Maybe you have chrooted and the icecast process now can not access to the icecast.xml you have had provided via command line.

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

ICECAST WITH HTTPS

1. Install and configure Icecast listenning on 127.0.0.1 port 8000 without ssl. ;) 2. Install nginx 3. Create directory .well-known in webroot ( here: /var/www/html ) 4. Install certbot 5. Configure nginx: /etc/nginx/nginx.conf: #user www; worker_processes 4; #pid /run/nginx.pid; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile […]

icecast | running on port 80

Icecast should run as user icecast2. But if he should listen on port 80, you run into trouble, cs nonprivileged users can’t use privileged ports (lower 1024). You can do the following trick: Modify the /etc/default/icecast2 file, change the user to root. Then it will start as root, open the port 80, and then switch […]

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