Scott Weingartner wrote:> > 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?yep it's relatively easy - just set up one stream in the config file, then use the ENCODER_STREAM_SET 1 directive to configure a second stream and followign that add the extra parameters you want. (i.e. follow the stream definition with commands to set the bitrate, sample rate, stream name etc). -- Scott Manley (AKA Szyzyg) Streaming Media Hacker www.myplay.com Listening to..... Floorgasm II - The Hard House Years http://www.myplay.com/mp/playlist/now_playing.jsp?plid=381576&start=1 --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Thanks William and Scott, I appreciate the help.. Liveice and Icecast Rock! Ive had one stream running, non stop @ 128k for over 60 hours without a reset, restart, or a reload of anything.. Is this par for the course? And about that keepalive script.. Would you (or someone) be willing to send me a sample so as I change whats needed and implement it? Thanks a bunch! Scott W. On Mon, 12 Mar 2001, William Goldsmith wrote:> 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--- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
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@john.ikansas.com> To: <icecast@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@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> You'll probably also want to come up with some kind of keepalive. Aproblem> 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 towhether> *it* thinks the stream is connected and then (important) kills all icecast > *and* lame processes and restarts. Seems to work better than anythingelse> I've come up with, though I'm sure there are more elegant solutions.I cooked up this little script about a week ago due to sudden network problems (before then, liveice was transmitting to a non-local icecast server without any problem for months at a time). It runs once a minute from cron. Hopefully this will be a helpful example. Once I find the time, probably in a couple weeks, I think I'm going to work on the lightweight liveice2.c posted a while back and make it more fault tolerant and have it support streaming to multiple icecast servers (one for the intranet, one for the internet). David ------- david@neongoat.com www.neongoat.com PGP Key ID/Fingerprint: 0xF90FFFE5 / F362 51F7 6D51 85EB AF68 75B9 D29B 1AFC F90F FFE5 ------- <HR NOSHADE> <UL> <LI>application/octet-stream attachment: liveice_watchdog.pl </UL> -------------- next part -------------- A non-text attachment was scrubbed... Name: liveice_watchdog.pl Type: application/octet-stream Size: 2330 bytes Desc: not available Url : http://lists.xiph.org/pipermail/icecast/attachments/20010312/e86f1f92/liveice_watchdog.obj