[please cc the answers to me, because I'm not on this list!] Hi there! Yesterday I downloaded the CVS version of icecast and ices. There are several example config files provided for ices in the conf/ directory. The ices-playlist.xml specifies encoding for one of the instances: <encode> <nominal-bitrate>64000</nominal-bitrate> <samplerate>44100</samplerate> <channels>2</channels> </encode> One would thing that this means that the resulting vorbis stream will be 64kbps. But that's not the way things work! If "managed" is not set to 1, ices does not respect the nominal-bitrate setting, but uses VBR encoding instead, with the default quality=3. ( See the encode_initialise function in encode.c! ) I think the sample config-file should be modified to illustrate all possible encoding modes. The current version is definitely misleading. Best wishes <p> -- Csillag Kristóf <fenwick@freemail.hu> --- >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-dev-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.
2003-01-28, k keltezéssel tìpán Bro ezt írta:> Hello Csillag,> Yes, you are right :). That's the Vorbis default. Try out these > options: maximum-bitrate, minimal-bitrate and quality. You can set > things up. If you set the "managed" flag, the bitrate is more > respected, but the quality may be (and actually is) lower.Yeah, I've already done that. (I consider the source a perfectly sufficient documentation. :) I wrote this letter to suggest you to change the example file (which is misleading).> BTW, vorbis is "VBR-based", so no constant-bitrate option will never > be available, afaik. (Well, constant-bitrate sucks :))).Yes it does, but it's sometimes needed for radio streaming.> CK> I think the sample config-file should be modified to illustrate all > CK> possible encoding modes. The current version is definitely misleading. > > I'm sure that the sample config file will be modified and > documentation will be created as well, but Icecast is still in > alpha... Programmers don't write documentation ;).Yes, I know that :) I consider myself a programmer. But a few more lines in the config file would not hurt... ...you see, it's not documentation, because it's a functional part of the system.> We all have to wait.No, we all have to code! :) <p> -- Csillag Kristóf <fenwick@freemail.hu> --- >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-dev-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.
> The ices-playlist.xml specifies encoding for one of the instances: > > <encode> > <nominal-bitrate>64000</nominal-bitrate> > <samplerate>44100</samplerate> > <channels>2</channels> > </encode> > > One would thing that this means that the resulting vorbis stream > will be 64kbps. > > But that's not the way things work!I'm sure the reason this is wrong is because it wasn't changed after Ogg Vorbis 1.0 was released. This is how it used to work in RC4 and earlier. The nominal bitrate setting would select the nearest quality value, and normally you'd get something close to what you asked for. It should be changed to <quality>3</quality> or something. We don't want to encourage CBR streaming, since as far as I can tell, it's rarely needed. In any case, I'm sure if someone submitted a small patch it would be committed. jack. --- >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-dev-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.
Hello Csillag, Tuesday, January 28, 2003, 7:39:22 PM, you wrote: CK> [please cc the answers to me, because I'm not on this list!] CK> Hi there! CK> Yesterday I downloaded the CVS version of icecast and ices. CK> There are several example config files provided for ices in the CK> conf/ directory. CK> The ices-playlist.xml specifies encoding for one of the instances: CK> <encode> CK> <nominal-bitrate>64000</nominal-bitrate> CK> <samplerate>44100</samplerate> CK> <channels>2</channels> CK> </encode> CK> One would thing that this means that the resulting vorbis stream CK> will be 64kbps. CK> But that's not the way things work! CK> If "managed" is not set to 1, ices does not respect the nominal-bitrate CK> setting, but uses VBR encoding instead, with the default quality=3. Yes, you are right :). That's the Vorbis default. Try out these options: maximum-bitrate, minimal-bitrate and quality. You can set things up. If you set the "managed" flag, the bitrate is more respected, but the quality may be (and actually is) lower. BTW, vorbis is "VBR-based", so no constant-bitrate option will never be available, afaik. (Well, constant-bitrate sucks :))). CK> ( See the encode_initialise function in encode.c! ) CK> I think the sample config-file should be modified to illustrate all CK> possible encoding modes. The current version is definitely misleading. I'm sure that the sample config file will be modified and documentation will be created as well, but Icecast is still in alpha... Programmers don't write documentation ;). We all have to wait. BTW, I'm impatient too :). Stepan Broz, aka Kato ----- mailto:peacef@wo.cz ICQ#:74439855 http://www.radioakropolis.cz/ <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-dev-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.