[icecast] Live Streaming Problem

Todd Brill tbrill at rackforce.com
Sat Jun 7 02:50:47 UTC 2003

Me again....

After getting regular playlist streaming working, I'm not trying to
complete the project and implement the live streaming.  Unfortunately, due
to the sad, lacking documentation for icecast and ices (especially what
the xml tags in the configuration files actually DO and how they can be
used), I've run into another snag that only you guys can help me out with.
 Here it goes.  The problem seems to be in the sample rate (see error
message below):

Here's my icecast.xml file:

      <location>Not Currently Used</location>
      <admin>Not Currently Used</admin>


        <!-- Sources log in with username 'source' -->
        <!-- Relays log in username 'relay' -->
        <!-- Admin logs in with the username given below -->

      <yp-url><a href="http://www.oddsock.org/cgi-bin/yp-cgi</yp-url">http://www.oddsock.org/cgi-bin/yp-cgi</yp-url</a>>





        <!-- These next three aren't yet implemented -->



        <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->


Here's my ices-live.xml :

<?xml version="1.0"?>

        <background>0</background> <!-- run in background? (unimplemented)
        <logpath>/home/melmoth/stream</logpath> <!-- where logs, etc go. -->
        <loglevel>4</loglevel> <!-- 1=error,2=warn,3=info,4=debug -->
        <consolelog>1</consolelog> <!-- logfile is ignored if this is set
to 1 -->

                <!-- metadata used for stream listing (not currently used)
                        <name>Example stream name</name>
                        <genre>Example genre</genre>
                        <description>A short description of your

                <!-- input module
                         This example uses the 'oss' module. It takes
input from the
                         oss audio device (i.e. line-in), and processes it
for live
                        <param name="rate">44100</param><!-- samplerate -->
                        <param name="channels">2</param> <!-- number of
channels -->
                        <param name="device">/dev/dsp</param> <!-- audio
device -->
                        <!--<param name="metadata">1</param>--> <!-- Read
metadata (from stdin by default,
                        or filename defined below (if the latter, only on
                        <!--<param name="metadatafilename">test</param>-->

                <!-- 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
                         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.

                        <!-- Live encoding/reencoding:
                                 channels and samplerate currently MUST
match the channels
                                 and samplerate given in the parameters to
the oss input
                                 module above.

<p>                        <encode>

            <!-- stereo->mono downmixing, enabled by setting this to 1 -->

            <!-- resampling. Set to the frequency (in Hz) you wish to
                 to, or 0 to disable -->


Here's the message that appears when I try and start the server:

[root at silky stream]# service icecast start
Starting IceCast Server:  Changed groupid to 500.
Changed userid to 500.
[2003-06-06  07:46:15] INFO ices-core/main ices started...
[2003-06-06  07:46:15] EROR input-oss/oss_open_module Couldn't set
sampling rate
[2003-06-06  07:46:15] EROR input/input_loop Couldn't initialise input
module "oss"

[2003-06-06  07:46:15] INFO ices-core/main Shutdown complete

<p>Thanks for the help guys !

-Todd Brill

Rackforce Hosting Inc.
The New Force in Hosting

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Icecast mailing list