On Thursday 06 September 2001 22:28, Zdenek Kabelac wrote:
> On Thu, Sep 06, 2001 at 10:20:14AM +0200, Uwe Reder wrote:
> > On Wed, Sep 05, 2001 at 11:21PM, Zdenek Kabelac wrote:
> > > Is this happing with all files ?
> >
> > No. This happens only with videos that put the system under full load. I
> > tried it with simpler videos (about 60 % CPU) and the synchronistation is
> > fine. Only videos which consume 100 % CPU have synchronistation problems.
>
> btw do you use autoquality ?

It makes no difference if I try autodetect or set quality to 0 (lowest
quality I think).

> > I have no proper understanding of the sched code. So, the next few lines
> > of my mail may be bullshit. Nevertheless, it seems to me that the sched
> > algorithm shloud try harder to avoid decoding frames. When we get to the
> > above line in aviplayth.cpp I think we are too late already since the
> > frame is alreday decoded and CPU time is lost. The algorithm should skip
> > frames before decoding them. Are there any parameters to control this?
>
> The problem is that you can't drop frames between keyframes without
> decoding them - as all the following images gets broken.

Yes, I remember ;-)

> > Btw, avifile 0.5 plays all the videos with the correct synch and without
> > greater speed problems, even on my slow system ;-)
>
> very unusual behaviour :(
> Hard to know why - maybe you are another one with not very precise
> audio card ?? (type ??)
> The code which would meassure the precision of audio crystal is still
> no in the avifile source - so you will have to wait for this update
> if your card is drifting in time (though its quite unusual this
> would happen only while your system is under full load)

I already dicsussed this with Hanno. He agreed with me that this should
happen always, not only under full load. However, I have a Soundblaster
compatible card.

> try to send me output of:
>
> export AVIPLAY_DEBUG=1
> aviplay yourmovie.avi

I appended the GNU-zipped log file log.gz. The drop-rate of this file is a
little high, since I did some work on the machine in parallel. However the
audio-drift also happens with drop-rates below 1%.

[**I removed the log file from this mail to avoid having it on the mailing 
list. Zdenek has it. If anybody wants it, let me know.**]

BTW, the video-subtitle sync of avifile 0.6 is always perfect, even if
video-audio sync is broken. Funny, when I use mplayer, video-audio is o.k.,
but video-subtitle seems to be broken here!

Thanks in advance.

Uwe

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

Reply via email to