[Mplayer-dvb] maybe fix for a-v sync and scuttering probs

Arpi arpi at thot.banki.hu
Sat Jun 1 17:57:08 CEST 2002


Hi,

> >
> > -        if ( (ioctl(vo_mpegpes_fd2,AUDIO_SET_AV_SYNC, false) < 0)){
> > +        if ( (ioctl(vo_mpegpes_fd2,AUDIO_SET_AV_SYNC, true) < 0)){
> >
> > it fixed scuttering and desync for 25fps divx avi for me
> > i have no idea why was it false, when i wrote it i'm pretty sure it was se
> t
> > to true. maybe i've changed for debugging and forgot to set back :(
> Okay, as far as i can test, the patch fixes _EVERY_ a/v sync problem i ever 
> had with mplayer over DVBs card!
> You should definitively add this to cvs !
> Seems to be no problem after fast fwd/rewind anymore, nor at the very 
> beginning of each video in a playlist .... Well done !!!!

hmm, great!
i had no time yet to test with wide range of files, but i never had problems
with 24fps movies without this patch. probably because 24<25 so teh buffer
was kept empty all time so buffering delay didn't affect the playback

> However (there is always a however, you know ;-) the stuttering with 
> high-detail scenes is still there - is that what you adressed by "scuttering
> " 
no, it's another problem
it requires changes in the encoder

> ? Or have i confused this somehow ?

and what is, if you change the audio preload in ao_mpegpes.c by +-0.2 now,
with the patch applied?

please also try Michael's libavcodec patch (mplaherhq.hu/~michael/), i have it
applied for some time, probably it fixes this issue too.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dvb mailing list