[Vorbis] Question on Quality factor, Bitrate and decode table
Monty
xiphmont at xiph.org
Thu Oct 14 14:47:53 PDT 2004
(Hm, your mail client does not interpret RFC2822 properly; the newline
characters are incorrect.)
> 1. What is the relation ship between Quality factor and Bitrates?
The Vorbis specification does not have any concept of bitrate. The
decoder does not know and does not care what the actual bitrate f an
incoming stream is.
> As vorbis is a VBR algorithm, many bitrates will be selected
> encode and decode a stream? If so how quality factor is related
> to bitstream?
There is no bitrate at all. An encoder may choose to construct a
stream so that it obeys some bitrate requirements, but this is done
entirely by manipulating encoding techniques, not by making any
fundamental changes or adding explicit flags to the stream.
In general, hiher quality settings produce larger streams.
> 2. In many web pages(I dont have the links to pages) related to Ogg
> Vorbis information I read higher the bitrate we select, the
> audio qualtiy is poor.
Your English is clumsy here, so I'm not sure what you mean...
I think what you mean is that the current Vorbis encoders generally
allow you to force a stream to a given bitrate to allow uses where
bitrate controls are requires (like limited bandwidth streaming).
This results in lower audio quality, for a given bitrate, than
allowing VBR. The fundamental advantage of VBR is higher quality for
the number of bits used, the disadvantage is a lack of control over
bitrate; overall a VBR stream will be lower bitrate, but can be
subject to large spikes in bitrate when encoding complex passages.
When explicitly forcing a bitrate limit, the bitrate spikes are also
eliminated... but the complex passages will be lower quality because
they are not allowed to use more bits. Similarly, simple passages
that would not normally use many bits in VBR will use more than are
necessary when VBR is not allowed.
> 3. On what basis the number of decode tables are fixed for an
> particular stream. Why the number of decode tables are not same
> for all streams. Is any other parameter will control the number
> of decode tables to present
The tables are entirely at the encoder's whim and reflect the most
current research into codec improvements. The tables used by an
encoder generally improve in new releases.
That said: We do support one useful codebook feature in our encoders.
For a given release, we guarantee that the tables used by the encoder
will be constant for a given set of encode settings.
Monty
More information about the Vorbis
mailing list