[vorbis] retrieving "instant" bitrate without vo_open?

safemode safemode at speakeasy.net
Sat Sep 22 22:33:29 PDT 2001

On Sunday 23 September 2001 01:01, Michael Smith wrote:
> >Ok, i'm getting values for packet->bytes   that looks something like this.
> <snip>
> >Is that supposed to be the kilobit rate of the particular packet?  I
> > question it because it's very very different from that of mp3 bitstreams.
> >   If it's not and it's simply single bytes, then how would that equate to
> > a bitrate, since it wouldn't be more than 4000 - 5000 bits per frame. 
> > That sounds more wrong than my first guess.
> These are the sizes (in bytes) of each packet. I've already described, in
> some detail, about an hour ago, how to get a bitrate from those. Try
> reading it.

yea, sorry.   vorbis_packet_blocksize() is returning negative values.  such 
as -135.  I understand the way to get the bitrate per packet now.   Just need 
to figure out what is going on with the negative samples per packet.

> Michael

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