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

Transcoding icecast streams with vlc from stereo mp3 to stereo ogg or mono mp3

cvlc -d “http://ADDRESS/radio.mp3″ ‘:sout=#transcode{acodec=vorbis,ab=128,channels=2,samplerate=41000}:duplicate{dst=std{access=shout,mux=ogg,dst=source:PASSWORD@ADDRESS:PORT/radio.ogg}}’ –no-sout-shout-mp3 –sout-shout-quality=100 –sout-shout-channels=2 –sout-shout-name=”restream” –sout-shout-description=”restreaming” –sout-shout-url=”http://YOURSITE” –sout-shout-genre=”GENRE” –loop cvlc -d “http://ADDRESS/radio.mp3″ ‘:sout=#transcode{acodec=mp3,ab=64,channels=1}:duplicate{dst=std{access=shout,mux=raw,dst=source:PASSWORD@ADDRESS:PORT/radio-mono.mp3}}’ –sout-shout-mp3 –sout-shout-name=”restream” –sout-shout-description=”restreaming” –sout-shout-url=”http://YOURSITE” –sout-shout-genre=”GENRE” –loop