Archive of https://github.com/drakmor/livewire-streamer — Stream a Livewire multicast stream to Icecast
https://github.com/drakmor/livewire-streamer
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| ezstream.xml | ||
| LICENSE | ||
| README.md | ||
| stream.conf | ||
livewire-streamer
This is a simple Ubuntu upstart script that runs some utilities to pipe audio from a Livewire network to an instance of Icecast.
- Livewire is a protocol used in the broadcast industry to stream CD quality audio over a network.
Setup
- Small Ubuntu VM on your Livewire network, I used 14.04, you can prolly get away with 1 core if you run server edition
> apt-get install libav-tools ezstream dvbstreamlibav-toolsfor avconv utility, make sure it's installed with MP3 supportezstreamfor streaming to icecastdvbstreamfor the dumptrp utility
- Use ftp://ftp.zephyr.com/pub/Axia/Tools/sdpgen.htm to get the multicast IP for your channel number
- The line "c=IN IP4 239.192.0.203" has the ip you need
- Edit stream.conf with your specific conversion/ip details
- Edit ezstream.xml with your icecast details
- Copy stream.conf to /etc/init/
> start stream- ???
- Profit!
Configuration
Output formatting
avconv -f s24be -ar 48k -ac 2 -i - -f mp3 -b:a 320K -This portion of the command transcodes the audio-f mp3Change that to the format you want to stream / output, Check avconv -formats for output codecs-b:a 320KChange 320K to the bit rate you want to stream
Troubleshooting
- If the stream upstart job doesn't stay running check /var/log/upstart/stream for errors