[MPlayer-dev-eng] smooth playback vs good avsync
D Richard Felker III
dalias at aerifal.cx
Thu Jan 9 09:14:43 CET 2003
On Thu, Jan 09, 2003 at 08:19:57AM +0100, Frodo wrote:
> Hi,
>
> Ive played around a bit with mplayer and got some mixed feelings about it.
> Its a great player, supports many codecs and maintains perfect avsync for most files
> but the downside is that video is played back a bit jerky (not smooth)
> I believe this is caused by the fact that mplayer tries to keep a perfect av sync. In order to do this
> it has to render frames too early or too late.
> In fact I mp_msg() the frames rendered too early/late and the fps count and indeed the frames rendered too early/late is increasing constantly
> and fps isn't very stable (25 fps encoded movie is jumping around 24.1 fps & 25.8 fps)
>
> After tweaking around a bit I managed to get the playback much smoother while keeping a good a/v sync
> for this I had to change the sleep algorithm in mplayer a bit.
> I used is something like this (pseudo code)
> maybe something like this can b added 2 mplayer either always on, or as an extra -smoothness option?
Did you try -autosync? This problem sounds like it comes from broken
soundcard drivers...and that can help work around them.
Rich
More information about the MPlayer-dev-eng
mailing list