[icecast] (was, streaming both ogg and mp3) now, sending out 3 streams

Kerry Cox kerry.cox at ksl.com
Sun Nov 23 03:51:37 UTC 2003



Hmmm, I guess more is incorrect here than I thought. I changed the
resample in-rate to be 44100 like it should have have been.
But still no joy. Here is the error message as shown in the error.log
file. I'm looking things over and am not seeing my error.
It looks like the audio resample for this particular stream is good.

[root at icecast conf]# ices /usr/local/icecast2/conf/ices.stream.3.xml &
[2] 8214
[2003-11-22  18:44:18] INFO ices-core/main ices started...
[2003-11-22  18:44:18] INFO input-oss/oss_open_module Opened audio
device /dev/dsp at 2 channel(s), 41000 Hz
[2003-11-22  18:44:18] INFO encode/encode_initialise Encoder
initialising with bitrate management: 2 channels, 41000 Hz, minimum
bitrate -1, nominal 96000, maximum -1
[root at icecast conf]# [2003-11-22  18:44:18] INFO
audio/downmix_initialise Enabling stereo->mono downmixing
[2003-11-22  18:44:18] INFO audio/downmix_initialise Enabling
stereo->mono downmixing
[2003-11-22  18:44:18] INFO audio/resample_initialise Initialised
resampler for 1 channels, from 44100 Hz to 11000 Hz
[2003-11-22  18:44:18] INFO encode/encode_initialise Encoder
initialising with bitrate management: 1 channels, 11000 Hz, minimum
bitrate -1, nominal 16000, maximum -1
[2003-11-22  18:44:18] INFO signals/signal_usr1_handler Metadata update
requested
[2003-11-22  18:44:18] INFO audio/resample_initialise Initialised
resampler for 1 channels, from 41000 Hz to 22050 Hz
[2003-11-22  18:44:18] INFO encode/encode_initialise Encoder
initialising with bitrate management: 1 channels, 22050 Hz, minimum
bitrate -1, nominal 32000, maximum -1
[2003-11-22  18:44:18] INFO stream/ices_instance_stream Connected to
server: 66.166.6.188:8000/hischannel.smallband.ogg
[2003-11-22  18:44:18] INFO stream/ices_instance_stream Connected to
server: 66.166.6.188:8000/hischannel.highband.ogg
[2003-11-22  18:44:18] EROR stream/ices_instance_stream Failed initial
connect to 66.166.6.188:8000 (Login failed: Success)
[2003-11-22  18:44:18] DBUG encode/encode_clear Clearing encoder engine
[2003-11-22  18:44:19] DBUG input/input_loop An instance died, removing
it
[2003-11-22  18:44:19] DBUG input/input_flush_queue Input queue flush
requested

The "login failed: success" message is especially cryptic.
It loks like the smallband option which is the smallest now works, but
the mid-range or lowband option never initializes. Funky...
Am I taking variables from the first set and is it ignoring the
mid-range set and going directly on to the last?
Just looking for any suggestions or hints.
On a positive note, the dual streaming works great still. Just can't get
the smaller third stream working.
Thanks.
KJ

<p><p>On Sat, 2003-11-22 at 19:12, Karl Heyes wrote:
> On Sun, 2003-11-23 at 00:35, Kerry Cox wrote:
> 
> > Now I tried to add a third stream by adding the following <instance> to
> > the above config:
> > 
> >        <instance>
> >             <hostname>xx.xxx.x.xxx</hostname>
> >             <port>8000</port>
> >             <password>secretpasswd</password>
> >             <mount>/smallband.ogg</mount>
> >             <yp>0</yp>
> >             <reconnectdelay>2</reconnectdelay>
> >             <reconnectattempts>5</reconnectattempts>
> >             <maxqueuelength>80</maxqueuelength>
> > 
> >             <downmix>1</downmix>
> > 
> >             <resample>
> >                 <in-rate>22050</in-rate>
> >                 <out-rate>11000</out-rate>
> >             </resample>
> > 
> >             <encode>
> >                 <nominal-bitrate>16000</nominal-bitrate>
> >                 <samplerate>11000</samplerate>
> >                 <channels>1</channels>
> >                 <quality>-1</quality>
> >             </encode>
> >         </instance>
> > 
> > Any ideas what I am doing wrong? Thanks.
> 
> 
> yeah, your resample in-rate is supposed to be 44100 not 22050
> 
> karl.
> 
> 
> --- >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.

-- 
Kerry Cox <kerry.cox at ksl.com>
KSL / Bonneville International

--- >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