[icecast] ices2 ans ALSA

Josep Burcion mail at burcion.com
Wed Aug 13 15:10:08 UTC 2003


I'm using ices2 on ALSA 0.9.6 drivers.
After some troubles, it works.
This is my ices-alsa.xml config file:

<?xml version="1.0"?>

        <background>0</background> <!-- run in background? (unimplemented) -->
        <logpath>/tmp</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 stream</description>

                <!-- input module
                         This example uses the 'alsa' module. It takes input from the
                         plughw:0,0 alsa audio device, and processes it for live
                        <param name="rate">44100</param> <!-- samplerate -->
                        <param name="channels">2</param> <!-- number of channels -->
                        <param name="device">plughw:0,0</param> <!-- audio device -->
                        <param name="metadata">0</param> <!-- Read metadata (from stdin by default, 
or filename defined below (if the latter, only on SIGUSR1) -->
                        <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 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.

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


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

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



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