[icecast] vorbis_encode_init() bitrate arguments - offtopic
Akos Maroy
darkeye at tyrell.hu
Wed Feb 20 08:49:55 UTC 2002
Hi,
It's a bit offtopic for this list, but you might be able to help. For
libvorbis rc3, what is the correct bitrate parametrization for the call
vorbis_encode_init()?
For rc2, it worked calling it the following way:
vorbis_encode_init( &vorbisInfo,
2, // two channels
44100, // 44.1kHz
-1,
96000, // 96kb/s
-1 );
And this produced an Ogg Vorbis stream of about 80 kbps on average.
But in rc3, the above call produces a circa 240 kbps Ogg Vorbis stream
(as reported by xmms). I tried putting 96000 in place of the -1 values,
and also putting 96 instread of 96000, but no luck.
Any hints would be greatly apprieciated.
<p>Akos
<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