[vorbis-dev] Re: Re: "wrong" total time from ov_time_total

Rodrigo Gómez rgomez at msa.com.mx
Mon Sep 15 15:49:38 PDT 2003



Hi!

I guess that something is bad in my code. checked and it actually plays what
vorbis says as the total time of the audio, so somewhat, the code that I
have to store the start and end of the recording is bad. Strange thing that
this is more "present" when recording in non 44.1 khz. At that sample rate,
I have 100-200 ms of difference, that are fine. Anyway, I'm trying all the
possible solutions that I can find.

I don't understand that vorbis packets overlap. What is that? Or how would I
deal with it?

Thanks for your time

Rodrigo Gómez

"Michael Smith" <msmith at xiph.org> escribió en el mensaje
news:200309151203.28961.msmith at xiph.org...
On Sunday 14 September 2003 04:42, Rodrigo Gómez wrote:
> I have tryed with other 3 cards and the same results.
>
> Any idea? I'm testing now with CBR (I forgot to say that I was using VBR)
> to see if it helps.

If you're seeing substantial errors across multiple cards, my previous
explanation is probably wrong.

It's almost certainly a bug in your code (are you accounting for the fact
that
vorbis packets overlap?)

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.

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