[vorbis] Re: Re: fitting lots of music into 10GB with Vorbis

Tuomo Latto djv at mbnet.fi
Mon Dec 30 01:31:15 PST 2002



At 08:15 30.12.2002 +0000, you wrote:
>This is getting hair tearingly irritating now.
>I need a linear equation that gives the bitrate from the quality value. That
>is easy to implement in javascript.
>Or i can type out all the variables (which resulted in an inefficient large
>file)- i'm making mistake in getting the bitrate calculation to work- the
>rest of it works fine, and with a little modification (once the bitrate
>calculation has been perfected of course) the thing could be used to
>calculate what quality rating to use for streaming to a certain number of
>people over a limited bandwidth).
>I've missed huge gaps out of the variables, but the bitrates seem to go up
>somewhere around 0.2 kbps per 0.01 of quality.
>its really bugging me now. i can get it to work if i use "if" to specify a
>bitrate for each individual quality, and thats it. im gonna get some sleep
>soon.

You could try to find some sort of an average bitrate for each quality setting
and then either use linear interpolation (b-splines) in your program or try to
fit them to a 12th (10 - -1 +1) order equation beforehand and then use that.
That should give you a fairly good answer.

<p>--- >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 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 mailing list