Hi all, I'm fairly new to icecast / ices - been using icecast (2.2.0) to stream audio files for a few weeks, it works very well, now I'm trying to add live feeds via ices (v2.0.1). I've built and installed (on SuSE 9.3 platform) with no apparent errors, copied ices-alsa.xml to user area and modified paths, server password etc. When I run ices (using "ices /home/rpm/Music/ices-alsa.xml" it starts OK then after a few seconds I get "EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error" and it dies (icecast stays up though). All I'm trying to do is to stream from line-in, I used kmix to set this (I think... red lights on for 'line' and 'capture' in the input tab). Has anyone any idea please what's going wrong? Thanks, -- Richard
On Sun, 2005-08-14 at 16:47, Richard wrote:> Hi all, > > I'm fairly new to icecast / ices - been using icecast (2.2.0) to stream > audio files for a few weeks, it works very well, now I'm trying to add > live feeds via ices (v2.0.1). I've built and installed (on SuSE 9.3 > platform) with no apparent errors, copied ices-alsa.xml to user area and > modified paths, server password etc. > > When I run ices (using "ices /home/rpm/Music/ices-alsa.xml" it starts > OK then after a few seconds I get > "EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error" and > it dies (icecast stays up though). > > All I'm trying to do is to stream from line-in, I used kmix to set this > (I think... red lights on for 'line' and 'capture' in the input tab).readi failure is an odd one, make sure you have the recent alsa libs/drivers for the card. The error is from the ALSA lib and isn't informative enough, it may just need a lib update or a different samplerate. karl.
Hi Karl, Karl Heyes wrote:> On Sun, 2005-08-14 at 16:47, Richard wrote: >>Hi all, >> >>I'm fairly new to icecast / ices - been using icecast (2.2.0) to stream >>audio files for a few weeks, it works very well, now I'm trying to add >>live feeds via ices (v2.0.1). I've built and installed (on SuSE 9.3 >>platform) with no apparent errors, copied ices-alsa.xml to user area and >>modified paths, server password etc. >> >>When I run ices (using "ices /home/rpm/Music/ices-alsa.xml" it starts >>OK then after a few seconds I get >>"EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error" and >>it dies (icecast stays up though). >> >>All I'm trying to do is to stream from line-in, I used kmix to set this >>(I think... red lights on for 'line' and 'capture' in the input tab). > > readi failure is an odd one, make sure you have the recent alsa > libs/drivers for the card. The error is from the ALSA lib and isn't > informative enough, it may just need a lib update or a different > samplerate. > > karl. >That seems to be it - changed sample rate from 44100 to 48000 and all seems well. I think my understanding of ALSA is the problem! Thanks and Regards, -- Richard Meek mailto:rpm@16hd.freeserve.co.uk