darkice

Status
Not open for further replies.

wdatkinson

Member
Premium Subscriber
Joined
Apr 28, 2008
Messages
86
Reaction score
0
Location
Noblesville, IN
For those of you running darkice, what distro are you running it on?

I spent the better part of the day today working with CentOS and Debian. There are no binaries available for CentOS which meant I had to compile from source, as well as compile all of the dependencies, etc.

With Debian, there was a binary available in the repository, but it was not compiled with mp3 support, which from what I can tell, I need to stream to RR. So that left me to compile lame, then re-compile darkice.

I've STF'd and read pretty much every thread with the word, "darkice," in it. There isn't a real good guide to getting it going with RR, so I'm pretty much on my own.

I'm hoping to setup a very lean linux box to take to a remote location to stream from there. So I'm guessing I'm going to end up building the binary on a fat box, and then moving it to a skinny box.

I'd really like to find a solution using an embedded distro, that would be sweet.

Any suggestions?
 

kb4ytm

Member
Feed Provider
Joined
Nov 2, 2007
Messages
20
Reaction score
0
Location
Lexington, TN
darkice - ubuntu

I use darkice for 2 feeds. I'm using Ubuntu server edition.

I compiled it with mp3 support as the repo only had the non-mp3 binary.

It took some experimenting to get up and running as there isn't a lot of info out there on using darkice in this situation. A lot of darkice users are streaming commercial radio applications it seems (mostly in countries outside the USA)

I will post my config below so you can see whats necessary to get it up and running with RR. This has worked reliably for nearly a year.

Richard
KB4YTM

Henderson County, Tennessee (TN) Live Police, Fire, and EMS Scanners on RadioReference.com
Madison County, Tennessee (TN) Live Police, Fire, and EMS Scanners on RadioReference.com

[general]
duration = 0 # duration of encoding, in seconds. 0 means forever
bufferSecs = 1 # size of internal slip buffer, in seconds
reconnect = yes # reconnect to the server(s) if disconnected

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

[icecast2-0]
bitrateMode = abr # average bit rate
format = mp3 # format of the stream: ogg vorbis
quality = .5
bitrate = 16 # bitrate of the stream sent to the server
server = sources.scanamerica.us # host name of the server
port = 80 # port of the IceCast2 server, usually 8000
password = password # source password to the IceCast2 server
mountPoint = tn_henderson # mount point of this stream on the IceCast2 server
highpass = 300
name = Lexington, TN scanner feed
description = Bearcat 147XLT - vhf/uhf dualband j-pole @ 20 feet - Ubuntu Linux 8.04.1 - DarkIce 0.19
url = http://lexscan.info
genre = Police Scanner
public = yes # advertise this stream?
 

wdatkinson

Member
Premium Subscriber
Joined
Apr 28, 2008
Messages
86
Reaction score
0
Location
Noblesville, IN
Would you mind shipping me your binary? I have a debian box, which is what ubuntu is based off of. What processor, AMD/Intel, did you compile on?

Between that and your config, I might be able to get something rolling.

I have this pipe dream of getting an embedded version of linux running on a wrap board or a soekris board so make something similar to the barix instreamer.
 

kb4ytm

Member
Feed Provider
Joined
Nov 2, 2007
Messages
20
Reaction score
0
Location
Lexington, TN
darkice bin for ubuntu

Download it from http://lexscan.info/files

Just unzip and place in /usr/local/bin/

The config I posted earlier is /etc/darkice.cfg

Let me know if this works and I can send it direct email.

The max attachment size is 200k on zip files so I can't post it here.

Richard
 

lbpd719

Member
Joined
Nov 28, 2006
Messages
151
Reaction score
0
Location
37.02855 -120.872629
I use shoutcast (as it's pretty light) and streamtranscoderV3 for the push to RR. Distro I use is Debian on a PII - 400 with 3 streams running off of it. I have them locally and like it set up this way too as I have the bitrate a bit higher on the shoutcast server and it makes the audio quality a bit higher for when I listen to my stuff locally.

I went this route so I can still have access to my streams to post on my site. That side of things is no longer matters as they allow for individual site access. I guess I am just too lazy to reconfigure to darkice.
 
Status
Not open for further replies.
Top