vorbis API again (was: [vorbis-dev] Adding RC3 support to GoldWave)

Michael Fink michael.fink at asamnet.de
Sat Jan 5 07:10:03 PST 2002



On Fri, 4 Jan 2002 22:54:43 -0700, Jack Moffitt <jack at xiph.org> wrote:

Hi,

>> I take it from Jack Moffitt's reply that no one is having trouble with
>> the vorbis_encode_init() function?  For example:
>> 
>> vorbis_encode_init(&vi, 2, 44100, 96000, 96000, 96000);
>> 
>> always gives 200+kbps files, regardless what bitrate is used in what
>> parameter (max, nominal, or min), even in combination with -1 or 0.
>
>You need to use some other stuff.  The encoding api changed.  See
>encoder_example.c.

I understand that I have to use vorbis_encode_init_vbr(). Are there
any other ways to set something, e.g. acutally a nominal bitrate or
values for average bitrates? Or is that the only way to set something?

btw, in encoder_example.c:100
  vorbis_encode_init_vbr(&vi,2,44100,.1); // max compression
is 0.1 the maximum compression? I thought the range is from 0.0 to 1.0

bye
Michael

-- 
http://winlame.sourceforge.net <<-- the only *nice* windows UI for LAME :)
http://sourceforge.net/projects/winlame <<-- sf project homepage
contact: Michael Fink <vividos at vividos.de>

--- >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-dev-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 Vorbis-dev mailing list