[MPlayer-dev-eng] [PATCH] Better double frame rate output and frame limit option.

Vicente Sendra visenri at yahoo.es
Tue Jan 8 01:17:46 CET 2013


--- El dom, 6/1/13, Vicente Sendra <visenri at yahoo.es> escribió:

> De: Vicente Sendra <visenri at yahoo.es>
> Asunto: Re: [MPlayer-dev-eng] [PATCH] Better double frame rate output and frame limit option.
> Para: mplayer-dev-eng at mplayerhq.hu
> Fecha: domingo, 6 de enero, 2013 21:18
> 
> 
> --- El dom, 6/1/13, wm4 <nfxjfg at googlemail.com>
> escribió:
> 
> > Are you aware that mplayer2 extended support for
> correct
> > vsync aware
> > frame timing and such for vdpau? I don't know how much
> has
> > been done
> > compared to mplayer, but apparently it's quite a bit.
> Though
> > the most
> > annoying thing about the mplayer2 solution is that
> it's
> > quite vdpau
> > specific, and rather hard to allow other VOs to do
> something
> > similar
> > (such as high FPS playback for vo_gl).
> > 
> > Also, mplayer2 has updated some filters to handle PTS
> > correctly.
> 
> No i wasn't, but, as you say, to get this behaviour, the
> patch is quite big.
> This patch makes possible to get accurate timing for double
> frame rate filters and allows mplayer.c main loop to drop
> frames generated by filters and to do field steps.
> 
> As i said in a previous mail, i think it can be extended
> easily to support vo that add frames, by doing it at vf_vo.c
> level:
> 
> http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2013-January/071274.html
> 
> I'm going to have a look at mplayer2 vo_vdpau.c and vf_vo.c
> files.
> 

I've been looking at mplayer2 code and i think it's not complete, it works ok only in pts mode (correct timing for double frame rate) and even in this mode it's not even close to the behaviour of my patches.

I've tested mplayer2 with framedrop and yadif=1 on my test sample at 29.970fps on a 60hz display using directx and cpu usage goes very high, even i the warning about slow cpu, and i get errors in pts mode (too many buffered pts, this is solved in my patches).

With mplayer2 vo_skip_frame is only implemented in vo_vdpau.c.


> De: Dan Oscarsson <Dan.Oscarsson at tieto.com>
> Asunto: Re: [MPlayer-dev-eng] [PATCH] Better double frame rate output and frame limit option.
> Para: mplayer-dev-eng at mplayerhq.hu
> Fecha: domingo, 6 de enero, 2013 14:21
> lör 2013-01-05 klockan 01:24 +0000
> skrev Vicente Sendra:
> > > Being able to field step is nice, is it possible
> to
> > > implement the same 
> > > for vdpau:deint=2 ?
> 
> > Any Ideas?, suggestions are welcome.
> 
> I looked at this when adding my patches (will check your
> patches soon
> and compare to mine - my patches use pts for timing and
> schedules frame
> display to best vsync (works with vdpau)). 

> As soon as I have some time I will have a deeper look at
> your patches
> and see how they work together with mine.

Please, can i have a look at your's?


More information about the MPlayer-dev-eng mailing list