[icecast] liveice Question

William Goldsmith wildbill at kpig.com
Mon Mar 12 16:41:22 UTC 2001



Works just fine - though it might not be documented (seems like this info
was dropped from the sample liveice.cfg file in the later distributions).
Basically, at the end of  liveice.cfg add the line:

ENCODER_STREAM_SET 1

then define the values that would be different on the 2nd stream, ie:

NAME  Scott's 24kb/s stream
SERVER xxxx.yyy.com
PORT  80xx
PASSWORD  (if different than 128k)
BITRATE  24000
SAMPLE_RATE  16000
MONO

For some reason, I've found that it's better to do the higher-bitrate stream
in the main config, & add the lower-bitrate stream.  I've gotten 3 streams
to work, but not often or for very long.  If I want to do 3 or 4 streams I
use 2 cards.

You'll probably also want to come up with some kind of keepalive. A problem
with that is that liveice can lose connection with the server, and in fact
stop encoding, but still show up as a running process (as will lame).  I
have a keepalive that polls the Icecast (or Shoutcast) server as to whether
*it* thinks the stream is connected and then (important) kills all icecast
*and* lame processes and restarts.  Seems to work better than anything else
I've come up with, though I'm sure there are more elegant solutions.

Good Luck!
bg

---
Bill Goldsmith
www.kpig.com
www.radioparadise.com

----- Original Message -----
From: Scott Weingartner <scott at john.ikansas.com>
To: <icecast at xiph.org>
Sent: Monday, March 12, 2001 8:26 AM
Subject: [icecast] liveice Question

> Ok, is this possible:  I want to have a 128k and a 24k stream of a
> particualr audio program, plugged into the line in of my Ensoniq AudioPCI
> 128 (es1370 chipset)  Is there any way to do this with just one soundcard,
> or do I need two?
>
> Thanks
>
> Scott W
>
>
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> icecast project homepage: http://www.icecast.org/
> To unsubscribe from this list, send a message to
'icecast-request at xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
>

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Icecast mailing list