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

Vicente Sendra visenri at yahoo.es
Sun Jan 6 21:18:52 CET 2013



--- El dom, 6/1/13, wm4 <nfxjfg at googlemail.com> escribió:

> I haven't really been following the discussion. Are your
> patches
> publicly available somewhere?

Yes, they are available in the mailing list log:

Original files (read included comments for detailed information):
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2012-December/071240.html
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2012-December/071241.html

Patched mplayer.c to fix one bug:

http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2012-December/071264.html

As i said in the comments of the original files:

All the work has been done over 35196 and then updated to r35689.

> 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.



More information about the MPlayer-dev-eng mailing list