[MPlayer-dev-eng] Better double frame rate output and framedrop
Dan Oscarsson
Dan.Oscarsson at tieto.com
Mon Sep 24 08:30:30 CEST 2012
sön 2012-09-23 klockan 23:16 +0100 skrev Vicente Sendra:
> In non pts mode this makes no difference (frame time is always correct).
>
> In pts mode:
> Ntsc (60hz) playback is done at the right rate.
> Pal (50hz) playback, frame time changes from 16.7 ms to 23.3.
>
> This results in minimum frame time jitter for ntsc.
>
> Pal jitter is not problematic.
> Ntsc jitter can be problematic, because frame rate is very close to
> most lcd screens (60hz), and delaying a frame by 20ms will miss a
> frame with that lcd.
But my TV uses 24 hz or 50 hz, so it is not a good idea. 24/25/48/50 hz
is better when related to movies.
My own patches to make mplayer work well with 24 hz movies on a 24 hz
screen (and also match 25/48/50 hz as well as 30/60 hz) checks the
current refresh rate of the screen.
Dan
> --- El dom, 23/9/12, Carl Eugen Hoyos <cehoyos at ag.or.at> escribió:
>
> > De: Carl Eugen Hoyos <cehoyos at ag.or.at>
> > Asunto: Re: [MPlayer-dev-eng] Better double frame rate output and framedrop
> > Para: mplayer-dev-eng at mplayerhq.hu
> > Fecha: domingo, 23 de septiembre, 2012 22:35
> > Vicente Sendra <visenri <at>
> > yahoo.es> writes:
> >
> > > static double calc_pts(double base_pts, int
> > field)
> > > {
> > > - // FIXME this assumes 25 fps / 50 fields
> > per second
> > > - return base_pts + 0.02 * field;
> > > + // FIXME this assumes 30 fps / 60 fields
> > per second
> > > + return base_pts + 0.0167 * field;
> >
> > Why do you think this is a good idea?
> >
> > Carl Eugen
> >
> > _______________________________________________
> > MPlayer-dev-eng mailing list
> > MPlayer-dev-eng at mplayerhq.hu
> > https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> >
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
--
Dan Oscarsson
Tieto Email: Dan.Oscarsson at tieto.com
Box 85
201 20 Malmo, Sweden
More information about the MPlayer-dev-eng
mailing list