<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
It was kind of working for a while but I could not hear the stream but it was running. I started messing with alsamixer and now it crashes. I see the error but I don't know how to fix it.<BR>
<BR>
ices-oss-xml: (alsa is the same just a different input module)<BR>
<BR>
<?xml version="1.0"?><BR>
<ices><BR>
<BR>
<!-- run in background --><BR>
<background>0</background><BR>
<!-- where logs go. --><BR>
<logpath>/home/iceuser/log/ices</logpath><BR>
<logfile>ices.log</logfile><BR>
<!-- size in kilobytes --><BR>
<logsize>2048</logsize><BR>
<!-- 1=error, 2=warn, 3=infoa ,4=debug --><BR>
<loglevel>4</loglevel><BR>
<!-- logfile is ignored if this is set to 1 --><BR>
<consolelog>0</consolelog><BR>
<BR>
<!-- optional filename to write process id to --><BR>
<!-- <pidfile>/home/ices/ices.pid</pidfile> --><BR>
<BR>
<stream><BR>
<!-- metadata used for stream listing --><BR>
<metadata><BR>
<name>Example stream name</name><BR>
<genre>Example genre</genre><BR>
<description>A short description of your stream</description><BR>
<url><A HREF="http://mysite.org">http://mysite.org</A></url><BR>
</metadata><BR>
<BR>
<!-- Input module.<BR>
<BR>
This example uses the 'oss' module. It takes input from the<BR>
OSS audio device (e.g. line-in), and processes it for live<BR>
encoding. --><BR>
<input><BR>
<module>oss</module><BR>
<param name="rate">44100</param><BR>
<param name="channels">2</param><BR>
<param name="device">/dev/dsp</param><BR>
<!-- Read metadata (from stdin by default, or --><BR>
<!-- filename defined below (if the latter, only on SIGUSR1) --><BR>
<param name="metadata">1</param><BR>
<param name="metadatafilename">test</param><BR>
</input><BR>
<BR>
<!-- Stream instance.<BR>
<BR>
You may have one or more instances here. This allows you to<BR>
send the same input data to one or more servers (or to different<BR>
mountpoints on the same server). Each of them can have different<BR>
parameters. This is primarily useful for a) relaying to multiple<BR>
independent servers, and b) encoding/reencoding to multiple<BR>
bitrates.<BR>
<BR>
If one instance fails (for example, the associated server goes<BR>
down, etc), the others will continue to function correctly.<BR>
This example defines a single instance doing live encoding at<BR>
low bitrate. --><BR>
<BR>
<instance><BR>
<!-- Server details.<BR>
<BR>
You define hostname and port for the server here, along<BR>
with the source password and mountpoint. --><BR>
<BR>
<hostname>localhost</hostname><BR>
<port>8000</port><BR>
<password>thisthatshit</password><BR>
<mount>/thegospel.ogg</mount><BR>
<yp>1</yp> <!-- allow stream to be advertised on YP, default 0 --><BR>
<!-- Live encoding/reencoding:<BR>
<BR>
channels and samplerate currently MUST match the channels<BR>
and samplerate given in the parameters to the oss input<BR>
module above or the remsaple/downmix section below. --><BR>
<BR>
<encode><BR>
<quality>0</quality><BR>
<samplerate>22050</samplerate><BR>
<channels>1</channels><BR>
</encode><BR>
<BR>
<!-- stereo->mono downmixing, enabled by setting this to 1 --><BR>
<downmix>1</downmix><BR>
<BR>
<!-- resampling.<BR>
<BR>
Set to the frequency (in Hz) you wish to resample to, --><BR>
<BR>
<resample><BR>
<in-rate>44100</in-rate><BR>
<out-rate>22050</out-rate><BR>
</resample><BR>
</instance><BR>
<BR>
</stream><BR>
</ices><BR>
<BR>
error.log:<BR>
[2006-02-17 00:45:10] INFO ices-core/main IceS 2.0.1 started...<BR>
[2006-02-17 00:45:10] INFO input-oss/oss_open_module Opened audio device /dev/dsp at 2 channel(s), 44100 Hz<BR>
[2006-02-17 00:45:10] INFO input-oss/oss_open_module Starting metadata update thread<BR>
[2006-02-17 00:45:10] INFO signals/signal_usr1_handler Metadata update requested<BR>
[2006-02-17 00:45:10] WARN metadata/metadata_thread_signal Failed to open file "test" for metadata update: No such file or directory<BR>
[2006-02-17 00:45:10] INFO audio/downmix_initialise Enabling stereo->mono downmixing<BR>
[2006-02-17 00:45:10] INFO audio/resample_initialise Initialised resampler for 1 channels, from 44100 Hz to 22050 Hz<BR>
[2006-02-17 00:45:10] INFO encode/encode_initialise Encoder initialising in VBR mode: 1 channel(s), 22050 Hz, quality 0.000000<BR>
[2006-02-17 00:45:10] INFO stream/ices_instance_stream Connected to server: localhost:8000/thegospel.ogg<BR>
[2006-02-17 00:45:20] EROR input-oss/oss_read Error reading from audio device: Input/output error<BR>
[2006-02-17 00:45:20] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down<BR>
[2006-02-17 00:45:20] DBUG encode/encode_clear Clearing encoder engine<BR>
[2006-02-17 00:45:20] DBUG input/input_loop An instance died, removing it<BR>
[2006-02-17 00:45:20] DBUG input/input_flush_queue Input queue flush requested<BR>
[2006-02-17 00:45:20] INFO input/input_loop All instances removed, shutting down...<BR>
[2006-02-17 00:45:20] INFO metadata/metadata_thread_signal metadata thread shutting down<BR>
[2006-02-17 00:45:20] INFO ices-core/main Shutdown complete<BR>
[2006-02-17 00:45:21] INFO ices-core/main IceS 2.0.1 started...<BR>
[2006-02-17 00:45:21] INFO input-alsa/alsa_open_module Opened audio device hw:0,0<BR>
[2006-02-17 00:45:21] INFO input-alsa/alsa_open_module using 2 channel(s), 44100 Hz, buffer 371 ms<BR>
[2006-02-17 00:45:21] INFO input-alsa/alsa_open_module Starting metadata update thread<BR>
[2006-02-17 00:45:21] INFO signals/signal_usr1_handler Metadata update requested<BR>
[2006-02-17 00:45:21] WARN metadata/metadata_thread_signal Failed to open file "test" for metadata update: No such file or directory<BR>
[2006-02-17 00:45:21] INFO audio/downmix_initialise Enabling stereo->mono downmixing<BR>
[2006-02-17 00:45:21] INFO audio/resample_initialise Initialised resampler for 1 channels, from 44100 Hz to 22050 Hz<BR>
[2006-02-17 00:45:21] INFO encode/encode_initialise Encoder initialising in VBR mode: 1 channel(s), 22050 Hz, quality 0.000000<BR>
[2006-02-17 00:45:21] INFO stream/ices_instance_stream Connected to server: localhost:8000/thegospel.ogg<BR>
[2006-02-17 00:45:31] EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error<BR>
[2006-02-17 00:45:31] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down<BR>
[2006-02-17 00:45:31] DBUG encode/encode_clear Clearing encoder engine<BR>
[2006-02-17 00:45:31] DBUG input/input_loop An instance died, removing it<BR>
[2006-02-17 00:45:31] DBUG input/input_flush_queue Input queue flush requested<BR>
[2006-02-17 00:45:31] INFO input/input_loop All instances removed, shutting down...<BR>
[2006-02-17 00:45:31] INFO metadata/metadata_thread_signal metadata thread shutting down<BR>
[2006-02-17 00:45:31] INFO ices-core/main Shutdown complete<BR>
<BR>
</BODY>
</HTML>