[MPlayer-dev-eng] Better double frame rate output and framedrop

Vicente Sendra visenri at yahoo.es
Mon Sep 24 00:16:49 CEST 2012


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.

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


More information about the MPlayer-dev-eng mailing list