This is a simple Ubuntu upstart script that runs some utilities to pipe audio from a Livewire network to an instance of Icecast.
> apt-get install libav-tools ezstream dvbstream
libav-tools
for avconv utility, make sure it's installed with MP3 supportezstream
for streaming to icecastdvbstream
for the dumptrp utility> start stream
For Ubuntu 16.04 the init system was switch from Upstart to Systemd. As such you will need to use the example
livewire-streamer.service
Systemd unit file instead of the upstart conf file.
livewire-stream.service
to /etc/systemd/system/
> systemctl daemon-reload
> systemctl enable livewire-streamer.service
> systemctl start livewire-streamer.service
Your streaming process should be up and running, this can be checked with systemctl status livewire-streamer.service
avconv -f s24be -ar 48k -ac 2 -i - -f mp3 -b:a 320K -
This portion of the command transcodes the audio
-f mp3
Change that to the format you want to stream / output, Check avconv -formats for output codecs-b:a 320K
Change 320K to the bit rate you want to stream