Not sure if this will help, but here's how I'm managing it.

I'm running Ubuntu Server 11.10 with darkice from the Ubuntu repositories and a (LAN) local icecast server.

We use a process monitor, god (http://godrb.com/), which keeps an eye on things - jack, rotter and darkice make up each encoder node we run. We run a couple with redundancy configured in icecast to guard against catastrophic software problems or hardware failures. Nagios monitors for process state to ensure god's doing its thing.

https://gist.github.com/1915661 is the darkice.cfg and our audio.god file (which tells god how to run jackd, rotter and darkice).

If darkice crashes it's picked up automatically by god, but this hasn't happened with us - darkice's failure mode on one box (gentoo) was to encode, but with large quantities of static, after a few weeks. We don't get this on Ubuntu, though.

Our icecast2 config is standard, with the exception of the source and relay passwords, and the mount points (but that's just to configure fallback sources), plus some aliases.

Cheers,
James Harrison


On 25/02/2012 23:21, Wayne Merricks wrote:
Hi Tim,

I'm pretty sure this wasn't directed at me but hopefully I can hijack some 
hints.  I'm running Ubuntu 10.04 stock setup auto booting into Gnome 2.  I 
killed off Pulseaudio and setup JACK which feeds Jamin and that in turn feeds 
darkice and rotter.

I've tried JACK with the onboard Intel sound card as well as a usb Emu 0202.  
Both eventually kill darkice so I don't think its necessarily sound card 
related.  The only thing I know for sure is that JACK xruns when darkice 
crashes, its hard to say whether the xrun causes the crash or the crash causes 
the xrun (I suspect the latter).

When I used darkice 0.2 which is in the repos it would crash within about 12 
hours.  I installed the latest stable version from source (v1.1) and under 
pulseaudio it lasted for an average of nearly 4 weeks before crashing.  I 
haven't got much long term data under JACK but it crashes about once a week so 
far.  When it starts crashing, darkice repeatedly disconnects and reconnects to 
icecast over the course of several minutes until it disappears altogether.

I have darkice feeding a local icecast2 server.  I was just wondering if there 
is something I've config'ed stupidly (which is a high possibility) as I keep 
seeing a lot of people say darkice is rock solid for them too.

Here is the darkice config I'm using:

http://pastebin.com/ddk7rSjx

I have to send a mono 64kbit mp3 out as this is what my streaming provider 
expects.  Any hints would be appreciated even if its the revelation that Ubuntu 
has known faults and I'm better off using x/y/z distro.  I'm also trying to 
keep the latency down so the internal buffer is only 1 second.

Regards,

Wayne

-----Original Message-----
From: [email protected] on behalf of Tim Camp
Sent: Sat 25/02/2012 16:03
To: User discussion about the Rivendell Radio Automation System
Subject: Re: [RDD] Streaming to Shoutcast Server

Greetings,
Many folks complain about darkice with no report on how they set it up or
details.
I have four on line stations streaming from RdAirPlay using darkice that
have been up and running for over two years with no issues. I use two pcs
one to run rivendell and darkice one to run scserv.. The rivendell pc uses
jack to plug in jamin on each stream then darkice. There is no sound card
in this machine, jack running dummy. Works great, sounds great.
Some particulars on what and how you are doing it might make it possible to
help.
Cheers
  On Feb 24, 2012 12:53 PM, "Nathan Steele"<[email protected]>
wrote:

I have used it 24/7 for the last 8 months or so. it just works for me,
will keep trying to reconnect forever if the connection is lost. all
connection problems we had were not relaterd to butt, usually the
wireless link or occasionally our shoutcast server decides to be
unreachabe.....

BUTT can aslo record an archive of the audio, though it has no provision
for automatically splitting the file.

Nathaniel C. Steele
Assistant Chief Engineer/Technical Director
WTRM-FM / TheCrossFM


On 2/24/2012 1:35 PM, Wayne Merricks wrote:
Hi,

I don't have direct experience with butt however I do know of some home
DJs who do syndicated shows from home who use this without issue on
Windows (I know).  I'm not sure how it works 24/7 though.

I've used a combination of JACK, Jamin, Darkice and Icecast to take care
of compression and Internet streaming (I use Icecast2 as a relay to
Live365) however I'm not happy with Darkice.  It works great for 1 - 3
weeks and then crashes which borks up everything.  Somehow this causes
Jamin to also crash and JACK to sit there with nothing to do.

So far I've got a script that restarts Darkice every evening which means
I
lose the Internet stream for a few seconds but at least I don't have a
completely dead system when I least expect it.  Its a simple cron job
with
killall darkice, sleep 5 and then the usual darkice -c /path/to/config.

Please note that I don't use this with Rivendell its just a PC grabbing
audio from a sound card line in.  This means I haven't solved the now and
next problem yet.  In theory you could install this along with Rivendell
so long as you're using JACK but I wouldn't recommend it.

I have a guide that was meant for internal use only thats available over
at:

http://www.thevoiceasia.com/rivendell/HOW TO - Multipurpose Broadcast
PC.pdf

This was setup as an emergency cover machine when my broadcast rack died
so its not ideal.  It runs on a very early Core 2 dual core PC from
around
2007 without skipping a beat though.

The compressor settings I used sound OK for the things we're broadcasting
but I'm far from an audio expert so please take these settings with a
massive grain of salt.  The guide doesn't really list some of the reasons
why things are the way they are.

The guide also details using Rotter for audio archiving.  I hope to
polish
this up for the wiki "soon(tm)" but my time is severely limited at the
moment.

Hope this helps a little,

Wayne

On Fri, 24 Feb 2012 18:08:14 -0000, Jorge Soto<[email protected]>
  wrote:
   I have tried using darkice with darksnow, and still have not been able
to make it work. Will keep trying.  Has anybody used this
http://butt.sourceforge.net/ with Rivendell?



________________________________
   From: Alban Peignier<[email protected]>
To: User discussion about the Rivendell Radio Automation System
<[email protected]>
Cc: Jason Davenport<[email protected]>
Sent: Friday, February 24, 2012 10:02 AM
Subject: Re: [RDD] Streaming to Shoutcast Server
On 02/24/2012 12:51 PM, Jason Davenport wrote:
Ok, so i have re-installed rivendell via RRabuntu, this time leaving it
as is, no upgrades from the repository..now i need some help streaming
Rivendell to a shoutcast server.
Hi Jason,

You can use darkice (and its darksnow GUI) to create a stream.

Regards,
#######################
Scanned by MailMarshal
#######################


####################################################################################################################################################################################################################
Attention:

The information contained in this message is confidential and intended
for the addressee(s) only. If you have received this message in error or
there are any problems, please notify the originator immediately.
The unauthorised use, disclosure, copying or alteration of this message
is strictly forbidden. Christian Vision or any of its subsidiaries will not
be liable for direct, special, indirect or consequential damages
arising from alteration of the contents of this message by a third party
or as a result of any virus being passed on. Please note that we reserve
the right to monitor and read any e-mails sent or received by the
company under the Telecommunications (Lawful Business Practice)
(Interception of Communications) Regulation 2000. Christian Vision is
registered in England as a limited company 2842414 and as a charity 1031031

####################################################################################################################################################################################################################
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev



_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


#######################
Scanned by MailMarshal
#######################

####################################################################################################################################################################################################################

Attention:

The information contained in this message is confidential and intended for the 
addressee(s) only. If you have received this message in error or there are any 
problems, please notify the originator immediately.
The unauthorised use, disclosure, copying or alteration of this message is 
strictly forbidden. Christian Vision or any of its subsidiaries will not be 
liable for direct, special, indirect or consequential damages
arising from alteration of the contents of this message by a third party or as 
a result of any virus being passed on. Please note that we reserve the right to 
monitor and read any e-mails sent or received by the
company under the Telecommunications (Lawful Business Practice) (Interception 
of Communications) Regulation 2000. Christian Vision is registered in England 
as a limited company 2842414 and as a charity 1031031

####################################################################################################################################################################################################################


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to