[vorbis-dev] encode example

Michael Smith msmith at xiph.org
Thu May 20 17:36:57 PDT 2004



On Friday 21 May 2004 00:02, Adriano Almeida wrote:
> > Hmm, make sure that you call that function last, after
> > ogg_stream_clear(), vorbis_block_clear(), and vorbis_dsp_clear().  But
> > then, if you're working with the encoder example, you already know that.
> >
> > It's starting to sounds like there's some kind of problem with your
> > libraries.  It would help if we knew the library version, whether or not
> > you built it yourself (and, I suppose, what compiler you used), the
> > platform it's running on, how it crashes (i.e. segfault or something
> > else), etc.
>
> Actually it was the piece between the chair and the computer ;)
> I didn't change the value when he read the bytes... so it was reading a lot
> and processing few. Sometimes it crashed and sometimes dont....
>
> Is there a way to choose the blocksizes used when encoding???
>

libvorbis doesn't give you the choice (re-tuning the encoding modes would be 
required). It will use larger blocks at lower bitrates, though.

Mike

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