Hi,
I'm experimenting with managed mode encoding with specifying maximum
bitrate. I call:
vorbis_encode_init( &vorbisInfo,
2,
44100,
-1,
96000,
96000);
to initialize the encoding. To my surprise, it seems the maxbitrate
value of 96000 doesn't have an effect, the bitrate of the generated
vorbis audio hovers around 96kb/s, going up to 105 kb/s every once in a
while. If I call
vorbis_encode_init( &vorbisInfo,
2,
44100,
96000,
96000,
96000);
than the bitrate will vary between 83 and 98 kb/s approx. (The data is
from XMMS as it displays the bitrate of the audio played.)
Am I missing something here, or are these soft upper and lower limits?
<p>Akos
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
'vorbis-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 Tue, Aug 20, 2002 at 09:30:32PM +0200, Akos Maroy wrote:> Hi, > > I'm experimenting with managed mode encoding with specifying maximum > bitrate. I call: > > vorbis_encode_init( &vorbisInfo, > 2, > 44100, > -1, > 96000, > 96000); > > to initialize the encoding. To my surprise, it seems the maxbitrate > value of 96000 doesn't have an effect, the bitrate of the generated > vorbis audio hovers around 96kb/s, going up to 105 kb/s every once in a > while. If I call"Wrong argument order" max/nominal/min. Yes, in retrospect, this wasn't a good order, but that's the way it's always been. Monty --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-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.