Manuel J Contreras Maya
2011-Nov-29 02:30 UTC
[Icecast] I can't run ices client - please help
Hello, I am running fedora 14 in a EeePC netbook. I managed to compile and run icecast server. I managed to compile ices client but I can't make it run. I need to stream from the sound card (mic). My card is this:>lspci... 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02) ... I guess, and this is my first question, that the device must be one of the ones inside /dev/snd since there is not /dev/dsp nor /dev/dsa. The /dev/snd folder looks like this: total 0 crw-rw----+ 1 root audio 116, 2 Nov 28 14:35 timer crw-rw----+ 1 root audio 116, 3 Nov 28 14:36 seq crw-rw----+ 1 root audio 116, 6 Nov 28 14:36 hwC0D0 crw-rw----+ 1 root audio 116, 7 Nov 28 14:36 controlC0 drwxr-xr-x 2 root root 60 Nov 28 14:36 by-path drwxr-xr-x 3 root root 180 Nov 28 14:36 . crw-rw----+ 1 root audio 116, 5 Nov 28 14:36 pcmC0D0c crw-rw----+ 1 root audio 116, 4 Nov 28 15:36 pcmC0D0p drwxr-xr-x 20 root root 3780 Nov 28 18:07 .. Mi xml ices files <input> part is: <input> <module>oss</module> <param name="rate">22050</param> <!-- samplerate --> <param name="channels">1</param> <!-- number of channels --> <param name="device">/dev/snd/pcmC0D0c</param> <!-- audio device --> <param name="metadata">1</param> <!-- Read metadata from stdin? --> </input> I have tried with all devices listed in /dev/snd and with 44100 and 22050 rates and 1 or 2 channels but I always get the same error. I change the <encode> part in the xml accordingly with the values in <input> <encode> <bitrate>22050</bitrate> <samplerate>22050</samplerate> <channels>1</channels> </encode> The error I get when I run ices is this: $ ices ices-live.xml [2011-11-28 16:02:23] INFO ices-core/main IceS 2.0.1 started... [2011-11-28 16:02:23] EROR input-oss/oss_open_module Failed to set sample format on audio device /dev/snd/pcmC0D0c: Inappropriate ioctl for device [2011-11-28 16:02:23] EROR input/input_loop Couldn't initialise input module "oss" [2011-11-28 16:02:23] INFO ices-core/main Shutdown complete I guess I am about to make it work but I do not have a clue how to fix this since I have tried all the possibilities. Any help is highly appreciated. thanks, Manuel
Thomas.Rucker at tieto.com
2011-Nov-29 10:39 UTC
[Icecast] I can't run ices client - please help
Hi>>lspci >... >00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition >Audio Controller (rev 02) >... > >I guess, and this is my first question, that the device must be one of >the ones inside /dev/snd since there is not /dev/dsp nor /dev/dsa.>Mi xml ices files <input> part is: > ><input> ><module>oss</module>*snippity* That's an OSS example file you are using, please use the ALSA example file Instead! Quick link to the trunk version of it: http://svn.xiph.org/icecast/trunk/ices/conf/ices-alsa.xml notice that there it uses hw:0,0 Good luck Thomas
Manuel J Contreras Maya
2011-Nov-29 21:14 UTC
[Icecast] I can't run ices client - please help
Thomas, Thanks you very much. I have installed the module snd_pcm_oss and managed to start ices. Now I have another problem: The stream can be played in Linux but not in Windows or Mac. ?Any tip about this? Thanks again, Manuel El 11/29/2011 04:39 AM, Thomas.Rucker at tieto.com escribi?:> Hi > >>> lspci >> ... >> 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition >> Audio Controller (rev 02) >> ... >> >> I guess, and this is my first question, that the device must be one of >> the ones inside /dev/snd since there is not /dev/dsp nor /dev/dsa. >> Mi xml ices files<input> part is: >> >> <input> >> <module>oss</module> > *snippity* > > That's an OSS example file you are using, please use the ALSA example file > Instead! > Quick link to the trunk version of it: > http://svn.xiph.org/icecast/trunk/ices/conf/ices-alsa.xml > > notice that there it uses hw:0,0 > > Good luck > > Thomas-- Manuel J Contreras Maya E. manuel at agenteel.com <mailto:manuel at agenteel.com> W. agenteel.com <http://agenteel.net> T. +52 739 395.7283 M. +52 55 1129.9022 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20111129/0aef1ad9/attachment.htm
Manuel J Contreras Maya
2011-Nov-29 21:14 UTC
[Icecast] I can't run ices client - please help
Thomas, Thanks you very much. I have installed the module snd_pcm_oss and managed to start ices. Now I have another problem: The stream can be played in Linux but not in Windows or Mac. ?Any tip about this? Thanks again, Manuel El 11/29/2011 04:39 AM, Thomas.Rucker at tieto.com escribi?:> Hi > >>> lspci >> ... >> 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition >> Audio Controller (rev 02) >> ... >> >> I guess, and this is my first question, that the device must be one of >> the ones inside /dev/snd since there is not /dev/dsp nor /dev/dsa. >> Mi xml ices files<input> part is: >> >> <input> >> <module>oss</module> > *snippity* > > That's an OSS example file you are using, please use the ALSA example file > Instead! > Quick link to the trunk version of it: > http://svn.xiph.org/icecast/trunk/ices/conf/ices-alsa.xml > > notice that there it uses hw:0,0 > > Good luck > > Thomas-- Manuel J Contreras Maya E. manuel at agenteel.com <mailto:manuel at agenteel.com> W. agenteel.com <http://agenteel.net> T. +52 739 395.7283 M. +52 55 1129.9022 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20111129/40a829b2/attachment.htm