[Icecast] Problems getting Ices2 to work with live input.
hallm at 1satcom.com
Fri Oct 1 06:28:18 PDT 2004
I've got icecast2 and ices2 working with a playlist of ogg files and it
works fine. I've been playing for a few days with getting my audio to work
at all. I've now got my audio where I can play an ogg file from ogg123 -d
oss filename.ogg. When I run ices ices-live.xml I get the following error
in my log file:
[2004-09-30 09:38:07] INFO ices-core/main IceS 2.0.0 started...
[2004-09-30 09:38:07] EROR input-oss/oss_open_module Couldn't set sampling
[2004-09-30 09:38:07] EROR input/input_loop Couldn't initialise input
[2004-09-30 09:38:07] INFO ices-core/main Shutdown complete
I know I'm missing something, but I'm not sure what. I also added icecast
to the audio group to see if it would help. Ices is running as root.
The config file is pretty much the default see below:
<!-- run in background -->
<!-- where logs go. -->
<!-- 1=error, 2=warn, 3=infoa ,4=debug -->
<!-- logfile is ignored if this is set to 1 -->
<!-- optional filename to write process id to -->
<!-- <pidfile>/home/ices/ices.pid</pidfile> -->
<!-- metadata used for stream listing -->
<name>Example stream name</name>
<description>A short description of your stream</description>
<!-- Input module.
This example uses the 'oss' module. It takes input from the
OSS audio device (e.g. line-in), and processes it for live
<!-- Read metadata (from stdin by default, or -->
<!-- filename defined below (if the latter, only on SIGUSR1) -->
<!-- Stream instance.
You may have one or more instances here. This allows you to
send the same input data to one or more servers (or to different
mountpoints on the same server). Each of them can have different
parameters. This is primarily useful for a) relaying to multiple
independent servers, and b) encoding/reencoding to multiple
If one instance fails (for example, the associated server goes
down, etc), the others will continue to function correctly.
This example defines a single instance doing live encoding at
low bitrate. -->
<!-- Server details.
You define hostname and port for the server here, along
with the source password and mountpoint. -->
<yp>1</yp> <!-- allow stream to be advertised on YP, default 0
<!-- Live encoding/reencoding:
channels and samplerate currently MUST match the channels
and samplerate given in the parameters to the oss input
module above or the remsaple/downmix section below. -->
<!-- stereo->mono downmixing, enabled by setting this to 1 -->
Set to the frequency (in Hz) you wish to resample to, -->
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Icecast