Skip to content

drakmor/livewire-streamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 dvbstream
  • libav-tools for avconv utility, make sure it's installed with MP3 support
  • ezstream for streaming to icecast
  • dvbstream for the dumptrp utility
  1. 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
  1. Edit stream.conf with your specific conversion/ip details
  2. Edit ezstream.xml with your icecast details
  3. Copy stream.conf to /etc/init/
  4. > start stream
  5. ???
  6. 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 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

Troubleshooting

  • If the stream upstart job doesn't stay running check /var/log/upstart/stream for errors

About

Stream a Livewire multicast stream to Icecast

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors