[MPlayer-dev-eng] Smooth sync w/ network audio (and broken audio drivers!)

Arpi arpi at thot.banki.hu
Fri Sep 20 20:22:14 CEST 2002


Hi,

>   I'm not suggesting we implement something like xntpd in mplayer, ...
>   The basic concept is just one of _sampling_ and _averaging_.
>   I may just have re-invented a bit shorter version of -dapsync here
>   (but -dapsync didn't work for me).  Mine's only a few lines and it
-dapsync never worked for me either, i'm about removing that...

>   averages the corrections to the frame delay which "Arpi's A/V sync"
>   effectively applies.  It makes all of the movies I've tested play
>   as smoothly as they do with -nosound ... even with broken audio drivers,
>   and at *no penalty to the good audio drivers*, ... and even with
>   network audio (which is really what motivated me to explore this
sounds great! patch?

>   method.)  A/V remains perfectly in sync because the averaging has
>   the effect of gently slewing the frame rate when the delay gets off
>   instead of making an instant correction based on a noisy measurement.
> 
>   The patch is very simple, but I want to test it a bit more because
>   there must have been endless debates on A/V sync before, and I
>   want to make sure I nail it ;-)  Three different sync models would
>   be too much.  I guess there are still people out there who think
>   they need -dapsync?  Maybe they could help me test my patch to see
>   if it solves their problem as well as or better than -dapsync?

i've asked this question (anyone using -dapsync?) some months ago, and
afair no one said 'yes i need it'.


A'rpi / Astral & ESP-team

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



More information about the MPlayer-dev-eng mailing list