[vorbis-dev] Re: vorbis API again

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



On Sat, 05 Jan 2002 16:10:03 +0100, Michael Fink
<michael.fink at asamnet.de> wrote:

Hi,

>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?

never mind, I just found it in vorbis-tools/oggenc/encode.c, line 67

  if(vorbis_encode_init(&vi, opt->channels, opt->rate, 
    opt->max_bitrate>0?opt->max_bitrate*1000:-1,
    opt->bitrate*1000, 
    opt->min_bitrate>0?opt->min_bitrate*1000:-1))
[...]

I think the combination "min_bitrate + max_bitrate" or
"nominal_bitrate" are valid. Are there others? Maybe all three set to
one value (does that yield CBR?).

bye
Michael

-- 
http://winLAME.sourceforge.net <<-- the only *nice* windows UI for LAME :)
contact: Michael Fink <vividos at users.sourceforge.net>

--- >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