On Tue, Aug 21, 2001 at 08:39:03PM +0200, Arpi wrote:
> Hi,
> 
> > As soon as I will figure out how to do correct timing with audio stream
> > from sound card I'll do it - but the version which I've removed
> > has had unpleasent 'back to the future' effect e.g. the clock was jumping
> > randomly 10ms forward backward - and its really hard to make
> > any reasonable good schedulling system - you may look at mplayer it you 
> > want to see such an example.
> 
> But I don't apply that +-10ms clock difference immediately. I apply
> max 1ms / frame, but it can be changed with the -mc parameter.
> And in average it is constant. Just check the ct: value in mplayer's
> status line. It's the absolute value of clock difference applied.

That's the difference in aviplayer - there is no average calculation!

> 
> MPlayer's discontunity is coming from usleep()'s 10ms stepping :(

using the same thing - except its called pthread_something...


-- 
         Debian GNU/Linux maintainer - www.debian.{org,cz}
 Zdenek Kabelac  http://i.am/kabi/ kabi@{i.am, debian.org, fi.muni.cz}
          Resistance is futile. You all will be packaged

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to