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

Audio normalization with ffmpeg // part II

with dynaudnorm: ffmpeg -y -i “$A_FILE” -af “dynaudnorm=p=${NORMALIZE_TO_DB}dB:f=500:r=0.9:g=7” -f $FORMAT -sample_fmt $SAMPLEBITS -ab $BITRATE -ar $SAMPLERATE -ac $CHANNELS -vn “$A_FILE_NORMALIZED” > /dev/null 2>&1 with loudnorm: ffmpeg -y -i “$A_FILE” -af “loudnorm=TP=${NORMALIZE_TO_DB}” -f $FORMAT -sample_fmt $SAMPLEBITS -ab $BITRATE -ar $SAMPLERATE -ac $CHANNELS -vn “$A_FILE_NORMALIZED” > /dev/null 2>&1

Gentoo + Squid + Radius Auth + sslBump + remote SquidClamav + SquidGuard // intransparent official proxy in corporate environment

What to know: Squid caches and breaks clients encryption in MITM style. After clients request he establishes conections to both server and client. To the server he impersonates a client and checks servers certificates. Dismissed Server certs will be reported to the real client. To the client he acts like a server. After a succeful […]