[vorbis] Average Bitrate Calculation

Trick gerry at c64.org
Tue Oct 2 02:27:43 PDT 2001

> > the size of the header packets (which are given by
> > page->header_len + page->body_len, for each of the pages
> > which contains header packets (page->granulepos == 0)).
> Ah, thanks Michael, that's what I needed.  In fact an easier way
> would be to simply read through the header packets until
> granulepos>0 and subtract the offset.

Just if there's only comments in the beginning of the file .. 
Comments can be all over the place. Remember cat =)

Linux User #229006 * http://counter.li.org

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