Kerry Cox
2004-Aug-06 14:23 UTC
[icecast] (was, streaming both ogg and mp3) now, sending out 3 streams
Okay, I get the picture. Darkice is the way to go. I downloaded it and installed it and will be testing it using the latest icecast 2.0 beta. Just give me a few days to get it running and become used to it. <new question> Now, for another question. It's just a config issue really. I successfully have two streams running, one at high bandwidth or 96 kbps and the other low bandwidth at 32 kbps. It works great and am relaying it successfully to another server. Now, I'd like to set up a third stream. This one at very low bandwidth. Here is how my config "ices.stream.dual.xml" currently looks: <input> <module>oss</module> <param name="rate">41000</param> <param name="channels">2</param> <!-- number of channels --> <param name="device">/dev/dsp</param> <!-- audio device --> <param name="metadata">0</param> <param name="metadatafilename">live</param> </input> <instance> <hostname>xx.xxx.x.xxx</hostname> <port>8000</port> <password>secretpasswd</password> <mount>/highband.ogg</mount> <yp>0</yp> <reconnectdelay>2</reconnectdelay> <reconnectattempts>5</reconnectattempts> <maxqueuelength>80</maxqueuelength> <encode> <quality>2</quality> <nominal-bitrate>96000</nominal-bitrate> <samplerate>41000</samplerate> <channels>2</channels> </encode> </instance> <instance> <hostname>xx.xxx.x.xxx</hostname> <port>8000</port> <password>secretpasswd</password> <mount>/lowband.ogg</mount> <yp>0</yp> <reconnectdelay>2</reconnectdelay> <reconnectattempts>5</reconnectattempts> <maxqueuelength>80</maxqueuelength> <downmix>1</downmix> <resample> <in-rate>41000</in-rate> <out-rate>22050</out-rate> </resample> <encode> <nominal-bitrate>32000</nominal-bitrate> <samplerate>22050</samplerate> <channels>1</channels> <quality>2</quality> </encode> </instance> 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. KJ <p><p>On Sat, 2003-11-22 at 15:16, boink wrote:> darkice is an execellent bit of software, very well written. and the > author of the darkice software, akos, is very active on the darkice ML. > > http://yp.tilos.hu:9000/tilos_high.ogg <= for a darkice stream. > > b. > > On Sat, Nov 22, 2003 at 12:05:55PM -0500, Brendan Cully wrote: > > On Saturday, 22 November 2003 at 10:50, Kerry Cox wrote: > > > So basically, I download and install ices 0.3, fire it up as well and > > > then using the currently running icecast server, just set a new > > > mountpoint. Instead of /ksl.ogg I would make a /ksl.mp3 mountpoint. This > > > would be configured in the configuration file included with ices 0.3? > > > I am only doing live streaming, feeding a raw audio feed into the box, > > > and then encoding it on the fly. > > > Thanks much. > > > KJ > > > > I'm afraid ices 0.x doesn't encode live streaming. You would have to > > pipe the audio into an encoder by hand, and feed stdin to ices. > > > > You might consider http://darkice.sourceforge.net/ as an > > alternative. I think it can do MP3 and Ogg from one process, though > > I've never used it myself. > > --- >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.-- Kerry Cox <kerry.cox@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Karl Heyes
2004-Aug-06 14:23 UTC
[icecast] (was, streaming both ogg and mp3) now, sending out 3 streams
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.<p>yeah, your resample in-rate is supposed to be 44100 not 22050 karl. <p>--- >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.
boink
2004-Aug-06 14:23 UTC
[icecast] using the latest icecast and ices to stream both ogg and mp3
darkice is an execellent bit of software, very well written. and the author of the darkice software, akos, is very active on the darkice ML. http://yp.tilos.hu:9000/tilos_high.ogg <= for a darkice stream. b. On Sat, Nov 22, 2003 at 12:05:55PM -0500, Brendan Cully wrote:> On Saturday, 22 November 2003 at 10:50, Kerry Cox wrote: > > So basically, I download and install ices 0.3, fire it up as well and > > then using the currently running icecast server, just set a new > > mountpoint. Instead of /ksl.ogg I would make a /ksl.mp3 mountpoint. This > > would be configured in the configuration file included with ices 0.3? > > I am only doing live streaming, feeding a raw audio feed into the box, > > and then encoding it on the fly. > > Thanks much. > > KJ > > I'm afraid ices 0.x doesn't encode live streaming. You would have to > pipe the audio into an encoder by hand, and feed stdin to ices. > > You might consider http://darkice.sourceforge.net/ as an > alternative. I think it can do MP3 and Ogg from one process, though > I've never used it myself. > --- >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.-- Nullum magnum ingenium sine mixtura dementiae fuit - Seneca (there is no great genuis without madmess) --- >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.