[MPlayer-dev-eng] New patches coming

Dan Oscarsson Dan.Oscarsson at tieto.com
Thu May 20 09:23:44 CEST 2010


On 2010-05-20 at 02:18 +0300 Uoti Urpala wrote:
> On Wed, 2010-05-19 at 22:28 +0200, Benoît Amiaux wrote:
> > I am interested in those patches too, since I am also unable to play 
> > video on 24Hz displays using mplayer.
> 
> Which VO are you using currently using? There's already support for
> VDPAU in git (very likely better than anything added by these patches,
> though of course it's impossible to say for sure before they're actually
> published), and I got the impression that the patches don't support any
> VO other than VDPAU.

Actually I have compared my code to yours and from my tests mine is as
good or better. Actually, my basic simple code I added to vdpau nearly a
year ago works quite well too.

My patches handle all important frame handling in mplayer.c, bot inside
vdpau like your code does. I did this so it could be made to work with
other VOs. Current patches does not include needed patches to make other
VOs than vdpau work, but I have experimented with code to make xv work.

> 
> >  It's especially useful if your 
> > method could be extended painlessly for every video output.
> 
> I doubt there's anything that would be both painless (in the sense of
> needing nothing VO-specific) and accurate, though some common handling
> could be used for VOs that block until a frame can be switched (as
> opposed to say some kind of buffering behavior).

My patches only have a few requirements on the VO. Basically queue frame
for display on next vsync without blocking and supply information about
time between vsyncs and when they occur. Using opengl and X I can get
the vsync info, so I think it could be made to work fairly well with xv,
x11, opengl, and a few more as long as opengl is available.

  Dan




More information about the MPlayer-dev-eng mailing list