[MPlayer-dev-eng] enhancement for yuv4mpeg output driver
D Richard Felker III
dalias at aerifal.cx
Sat Jan 22 18:17:03 CET 2005
On Fri, Jan 21, 2005 at 10:26:35AM +0100, Stefan Gehrer wrote:
> On Thu, 20 Jan 2005 16:27:32 -0800 (PST)
> Trent Piepho <xyzzy at speakeasy.org> wrote:
> > Ok, my design will mess up if someone has a value that is within .0005 fps of
> > a standard value, and they really did want this slightly off value. In which
> > case they can override it with the exact, un-damaged by mplayer, value they
> > want later, as NTSC users always do now.
> > The av_d2q method does not work for all of the 8 standard MPEG rate codes. It
> > also does not work for rates which have a fractional part greater than 30000
> > or 60000 or whatever arbitrary cutoff you pick.
> > Now, in practice, which method will do the correct thing more of the time
> > for more people?
> I think the problem is not the reduction of the fraction, but the
> inaccuracy of the float coming in. It is basically something like
> (float) ((int)(30000*10000/1001)) * 0.0001
Wow, how incredibly broken!
Anyone have a case of cola for Arpi? :)
More information about the MPlayer-dev-eng