[vorbis] encoding setup question
Sebastian Roll
sebastianr at tcworks.de
Thu Sep 11 04:29:54 PDT 2003
dear vorbis-user.
maybe you know, why the return-code of:
ret = vorbis_encode_init(&vi, 2, 44100, 96000, 128000, 160000);
is 0 (no error)
but:
ret = vorbis_encode_init(&vi, 2, 60000, 96000, 128000, 160000);
is -130 (OV_EIMPL (error: feature not implemented))
note, that only the sample-rate has changed from 44100 Hz to 60000 Hz.
i found nothing on mailing-list on www.xiph.org an d google.
the call of:
ret = vorbis_encode_init_vbr(&vi, 2, 192000, 0.5f);
is no problem (samplerate 192000 Hz ( !! )).
note, that this one is a init_vbr(), the two above are only init()
it seems, that vorbis_encode_init() only accepts samplerates up to
48000 Hz.
do you agree?
bye,
sebastian.
<p>--- >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