[Icecast] some help

Karl Heyes karl at xiph.org
Tue Nov 16 14:17:04 UTC 2004


On Mon, 2004-11-15 at 08:25, Phuntsho Ugyel wrote:

icecast xml

>      <hostname>127.0.0.1</hostname>

this really needs to be an externally addressable name or IP, it's used
for m3u and YP.


> Configuration for ices
> 
> <ices>
>      <background>0</background>
>      <logpath>/var/log/icecast</logpath>
>      <logfile>ices.log</logfile>
>      <loglevel>4</loglevel>
>      <consolelog>0</consolelog>
>      <pidfile>/usr/local/ices-0.4/pid/ices.pid</pidfile>

odd path considering it's ices 2

>          <input>
>              <module>oss</module>
>              <param name="rate">44100</param>
>              <param name="channels">2</param>
>              <param name="device">/dev/audio</param>

make sure that device is the correct one.

>              <param name="metadata">0</param>
>              <param name="metadatafilename">live</param>
>          </input>
>          <instance>
...
>              <encode>
>                  <quality>2</quality>
>                  <nominal-bitrate>96000</nominal-bitrate>
>                  <samplerate>44100</samplerate>
>                  <channels>2</channels>
>              </encode>

why are you trying encode 44100 stereo, when you are downmixing and
resampling to 11000 (11025 is the usual figure).  quality or bitrate is
used not both. 

Only 1 encode per instance, so if you want multiple streams then use
multiple instances.

karl.





More information about the Icecast mailing list