[icecast] problems setting the sample rate with icecast2 and darkice
Ian Howard
ihoward at uwaterloo.ca
Thu Aug 14 16:28:21 UTC 2003
At present my stream is at 11.025 kHz and I want it to be at 44.1 kHz.
Input is coming from line-in on my sound blaster card under linux (RH 9) using
the sb driver.
I presume that it is icecast that sets the sample rate on the dsp in the card,
though when I change the settings in icecast.xml and darkice.cfg as show below
the stream becomes choppy; or rather the sampling doesn't seem to change in
icecast but only in darkice. i.e. icecast still feeds a 11kHz stream to darkice
that is trying to stream at 44kHz.
Any ideas on this?
exerpts from my config are below.
Thanks!
Ian
<p>--snip--
darkice.cfg:
# this section describes the audio input that will be streamed
[input]
device = /dev/dsp # OSS DSP soundcard device for the audio input
sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample = 16 # bits per sample. try 16
channel = 2 # channels. 1 = mono, 2 = stereo
icecast.xml:
<encode>
<samplerate>44100</samplerate>
<channels>2</channels>
<quality>10</quality>
<!-- <minimum-bitrate>32000</minimum-bitrate>
<maximum-bitrate>128000</maximum-bitrate>
-->
</encode>
...
<module>oss</module>
<param name="device">/dev/dsp</param>
<param name="rate">44100</param>
<param name="channels">2</param>
<param name="metadata">1</param>
<param name="metadatafilename">metadata_info</param>
<p>
--
Ian Howard
ihoward at uwaterloo.ca
+1 519 888 4567 x5227
GPG ID: D4D3 8028 8750 604D C9B7 6BF8 03CC 75E6 75F4 0388
<p><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