[Vorbis-dev] Frames per packet?
dkuhlen at gmx.net
Tue Sep 20 09:40:36 PDT 2005
On Tuesday 20 September 2005 07:59, Nathaniel Gray wrote:
> Another newbie question. I'm trying to figure out how to fit vorbis
> into the Apple AudioCodec API and it asks your codec to be able to
> answer questions about itself. One I'm not sure about, does vorbis
> encode a fixed number of frames per packet for any given track? I
It encodes exactly one frame per packet. Where multiple packets may be
stored in one page (ogg).
The framessize can be one of two sizes (i.e. number of samples)
the sizes are stored in the header
> know it's VBR, but that doesn't necessarily imply variable # of frames
> per packet.
the vbr comes from variable packet sizes
More information about the Vorbis-dev