[vorbis-dev] Encoding questions

Ralph Giles giles at xiph.org
Thu May 20 11:15:54 PDT 2004



On Thu, May 20, 2004 at 06:24:33PM +0100, David Hailey wrote:

> The problem is I don't really know how to flush the last page.  Calling
> ogg_stream_flush at the end seemed to be the logical thing to do but made no
> difference, neither did calling vorbis_bitrate_flushpacket.

Could it be that you're not remembering to call vorbis_analysis_wrote(&vd,0)
at the end? Sending a '0' tells the encoder there's no more data and it 
should finalize.

 -r
--- >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-dev-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-dev mailing list