[MPlayer-users] vsync driven playback

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Dec 10 22:27:41 CET 2009


On Wed, Dec 09, 2009 at 07:55:47PM -0800, RC wrote:
> On Wed, 09 Dec 2009 20:02:11 +0100
> "Ing. Daniel Rozsnyó" <daniel at rozsnyo.com> wrote:
> 
> > Hello, could anybody guide me how to force mplayer to play video
> > (without any audio track) with the FPS of the screen? Should be also
> > synced to vsync, to not cause tearing. It has to be on nvidia card,
> > either in vesafb, nvfb, or under X.
> 
> With xv or gl, set the fps high and the defaults will likely work.

Actually -vo gl can go arbitrary low, just set swapinterval to the divisor
of the screen refresh rate you want as max FPS.
However the MPlayer timing code might be a bit confused if you do that kind
of thing, probably best to disable it with -benchmark.


More information about the MPlayer-users mailing list