View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Tue Oct 11, 2005 2:56 am Post subject: streaming at lower bitrates? |
|
|
Please correct me if I'm wrong on this: as I understand it, ices 2.0.1 doesn't support re-encoding the input to a lower bitrate. In other words, I can't run station with two links, one for high bandwidth and one for low bandwidth. Is this true?
Second, if it is the case that this feature is unimplemented in ices, can anyone point me to where I should begin in the source if I wanted to help implement this section? I've been looking for a way to help with the development of icecast, and this might be one.
-dave |
|
Back to top |
|
|
MikeS Code Warrior
Joined: 29 Jun 2005 Posts: 73 Location: Barcelona, Spain
|
Posted: Tue Oct 11, 2005 9:21 am Post subject: |
|
|
Consider yourself corrected.
IceS2 has always been able to do this, as the config file examples and the documentation show.
Mike |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Wed Oct 12, 2005 8:15 pm Post subject: |
|
|
so this quote, from the default ices-playlist.xml config file
Code: |
<!-- Live encoding/reencoding:
Currrently, the parameters given here for encoding MUST
match the input data for channels and sample rate. That
restriction will be relaxed in the future.
<encode>
<quality>-1</quality>
<samplerate>44100</samplerate>
<channels>1</channels>
</encode>
|
this means that ices will not resample the input? So if it was recorded at 44khz, the output stream will be broadcast at that rate. This is different from the bitrate, which is variable depending on the density of the signal and quality. Making a stream for low-bandwith connections can be done by lowering the quality or the nominal-bitrate.
If this is correct, then what are the valid settings for nominal bitrate? I tried a few at random, and the stream wouldn't start.
-dave |
|
Back to top |
|
|
MikeS Code Warrior
Joined: 29 Jun 2005 Posts: 73 Location: Barcelona, Spain
|
Posted: Wed Oct 12, 2005 9:46 pm Post subject: |
|
|
IceS2 can resample your input, if you ask it to. The comment there is a bit confusing - have a look at the ices-oss.xml example for one that's hopefully a little clearer (it shows how to enable resampling and downmixing).
For low bandwidth connections, you'll probably want to resample and/or downmix as well as using a lower quality/bitrate.
Valid settings for nominal bitrate depend primarily on the sample rate and number of channels you're using. For 44.1kHz stereo, it's somewhere around about 50-500 kbps. Obviously, the upper end of that range isn't very useful.
Mike |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group subRebel style by ktauber
|