I'm using liveice and lame on another stream... ample rate of 22050 bitrate of 24000 It has worked fine for over 9 months now...except it crashes all the time because of liveice I think.>>> darkeye@tyrell.hu 8/28/02 9:15:58 AM >>>Matthew Mencel wrote: > Can the bitsPerSample be set any higher than 16? I try to set it to > 20 or 24 and get this error... > > DarkIce: LameLibEncoder.h:122: specified bits per sample not > supported [24] this is a test written in my code. does the lame library support other bits per sample then 8 or 16 bits per sample? can you encode with the command line lame with such bits per sample? > When I start Darkice I get the following error for about 5 seconds > and then it stops with "broken pipe". most probably the server you're sending to is not reading the stream you're sending... are you sure your server settings are correct? (e.g. port, password, etc?) <p>Akos --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered. --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Matthew Mencel wrote: > I'm using liveice and lame on another stream... > > sample rate of 22050 bitrate of 24000 > > It has worked fine for over 9 months now...except it crashes all the > time because of liveice I think. hmm. then try to remove the lines that check for this in LameLibEncoder.h, e.g. lines 121-125, and try again :) <p>Akos --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Wed, 28 Aug 2002, Matthew Mencel wrote:> I'm using liveice and lame on another stream... > > sample rate of 22050 > bitrate of 24000urrr.. Bitrate and bits per sample are *NOT* the same thing. Bitrate refers to the data rate of the resulting audio stream (MP3 in this case). Bits per sample refers to the number of bits in each PCM sample read from your soundcard. You'll usually want to use 16. Generally, only professional soundcards will do anything higher. Geoff. <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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Geoff Shang wrote:> On Wed, 28 Aug 2002, Matthew Mencel wrote: > > >>I'm using liveice and lame on another stream... >> >>sample rate of 22050 >>bitrate of 24000 > > > urrr.. Bitrate and bits per sample are *NOT* the same thing. Bitrate > refers to the data rate of the resulting audio stream (MP3 in this case). > Bits per sample refers to the number of bits in each PCM sample read from > your soundcard. You'll usually want to use 16. Generally, only > professional soundcards will do anything higher.yes. in brief: bits per sample: the number if bits describing each audio sample. usually 8 bits or 16 bits ample rate: number of samples (each sample the number of bits as above) per second describing the audio. usually one of 11025, 22050 or 44100, but there are other values possible, e.g. 16000, 48000. for example an audio CD contains sound at 16 bits/sample, 44100 samples / second, stereo, thus will consume 1411200 bits/second. bitrate: this is the number of bits per second the encoded audio (mp3 or Ogg Vorbis) will consume. as you see, uncompressed audio takes a lot of space, and this is where compression algorithms come in. for example, an Ogg Vorbis stream with a bitrate if 96000 will take 96000 bits/second of space, but can still encode an audio of 16 bits/sample, 44100 samples per second, stereo. This is what you win with the compression: instead of 1411200, it only takes 96000 bits per second (about 7% of the original), and still sounds good. <p>Akos <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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.