Streaming Radio Howto

by Asbesto & Fruity -,,, Poetry Hacklab

TCPC9, Palazzolo Acreide, Oct 4, 2009

Software to use

Server side:

Client side:


Server side

Icecast 2

This is only the mountpoint configuration.

<!-- asbesto, radiocybernet -->


# NOTE: the INTRO path is relative to the icecast2 web interface!!!

# FALLBACK STREAM: old recordings or ambient sounds: sea, trees, forests...

Client side


(to be added)


Command line streaming tool "Strimma" by Asbesto

echo "strimma v0.1 (c) 2002 Gabriele Zaverio ("
muse -e mp3 -o -C -b 16 -q 4 -i \
     -f rcyb-`date +%d%b%Y-%H%M%S`.mp3 \
        -s -m rcyb.mp3 -U source -p revolution \
        -n radiocybernet_LIVE_NOW

#        -s -m rcyb -p xxxxxx \
#        -n radiocybernet_HACKIT2005_NAPOLI \
# questo per strimmare su 2 server contemporaneamente analmente hackit03

(work in progress)

Darkice config file

This is the config file for darkice under Linux, to stream on

# sample DarkIce configuration file, edit for your needs before using
# see the darkice.cfg man page for details

# this section describes general aspects of the live streaming session
duration        = 0        # duration of encoding, in seconds. 0 means forever
bufferSecs      = 5         # size of internal slip buffer, in seconds
reconnect       = yes       # reconnect to the server(s) if disconnected

# this section describes the audio input that will be streamed
device          = /dev/dsp  # OSS DSP soundcard device for the audio input
sampleRate      = 22050     # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample   = 16        # bits per sample. try 16
channel         = 1         # channels. 1 = mono, 2 = stereo

# this section describes a streaming connection to an IceCast2 server
# there may be up to 8 of these sections, named [icecast2-0] ... [icecast2-7]
# these can be mixed with [icecast-x] and [shoutcast-x] sections
bitrateMode     = cbr       # avr=average bit rate
format          = mp3 #vorbis    # format of the stream: ogg vorbis
bitrate         = 32        # bitrate of the stream sent to the server
server          =
                            # host name of the server
port            = 8000      # port of the IceCast2 server, usually 8000
password        = revolution    # source password to the IceCast2 server
mountPoint      = rcyb.mp3  # mount point of this stream on the IceCast2 server
name            = Radio Cybernet
                            # name of the stream
description     = Test from tcpc9
                            # description of the stream
url             =
                            # URL related to the stream
genre           = live    # genre of the stream
public          = yes       # advertise this stream?
localDumpFile   = rcyb.mp3
fileAddDate     = yes



Other stuff

Tip'n tricks