Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ices2 error

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
r_wolf33
Guest





PostPosted: Thu Dec 15, 2005 9:04 am    Post subject: ices2 error Reply with quote

hi, i'm trying to stream from spdif on via8237 using alsa. When i start it whith: isec2 /etc/ices-alsa.xml there's an error arising:
EROR input/input_loop Couldn't initialise input module "alsa"

<input>
<module>alsa</module>
<param name="rate">44100</param>
<param name="channels">2</param>
<param name="device">hw:0,0</param>
<!-- Read metadata (from stdin by default, or -->
<!-- filename defined below (if the latter, only on SIGUSR1) -->
<param name="metadata">0</param>
<param name="metadatafilename">test</param>
</input>
Any ideas?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Dec 15, 2005 1:54 pm    Post subject: Reply with quote

If that is the only message that gets logged then it's probably because alsa has not been compiled in.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
r_wolf33
Guest





PostPosted: Fri Dec 16, 2005 1:09 pm    Post subject: Reply with quote

after recompile:
[2005-12-16 18:06:41] INFO ices-core/main IceS 2.0.1 started...
[2005-12-16 18:06:41] INFO input-alsa/alsa_open_module Opened audio device hw:0,0
[2005-12-16 18:06:41] INFO input-alsa/alsa_open_module using 2 channel(s), 48000 Hz, buffer 341 ms
[2005-12-16 18:06:41] INFO signals/signal_usr1_handler Metadata update requested
[2005-12-16 18:06:41] INFO audio/resample_initialise Initialised resampler for 2 channels, from 48000 Hz to
44100 Hz
[2005-12-16 18:06:41] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channel(s), 44100 H
z, quality 3.000000
[2005-12-16 18:06:41] INFO stream/ices_instance_stream Connected to server: 192.168.2.32:8000/euro128.ogg
[2005-12-16 18:06:51] EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error
[2005-12-16 18:06:51] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
[2005-12-16 18:06:51] DBUG encode/encode_clear Clearing encoder engine
[2005-12-16 18:06:51] DBUG input/input_loop An instance died, removing it
[2005-12-16 18:06:51] DBUG input/input_flush_queue Input queue flush requested
[2005-12-16 18:06:51] INFO input/input_loop All instances removed, shutting down...
[2005-12-16 18:06:52] INFO ices-core/main Shutdown complete
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Dec 16, 2005 3:33 pm    Post subject: Reply with quote

it's unsual to get a snd_pcm_readi failure, does arecord work using the same settings ie arecord -f cd sample.wav (ctrl-C to finish)

karl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber