[MPlayer-users] libavcodec mpeg error on framerate with pre8
johnbrown105 at hotmail.com
Wed Jun 21 17:21:21 CEST 2006
>From: Jaap Struyk <japie at deserver.nl>
>Op wo 21-06-2006, om 08:32 schreef Rich Felker:
> > > it's a rounding error. append :vstrict=-2 to -lavcopts
> > This does not solve the problem, it just stores a nonstandard,
> > likely-incompatible framerate in the file. Instead you should fix the
> > framerate with something like -ofps 30000/1001 or 24000/1001 or
> > whatever the correct rate is.
>I don't understand this completely, I extract the framerate from the avi
>with mplayer wich gives me 29.970.
>If I use -ofps 29.970 it bailes out but with -ofps 30000/1001 it works
>But when I look at the resulting mpeg's both show ID_VIDEO_FPS=29.970
Well, if you want to very technical, 30000/1001 =
29.97002997002997002997002997003 (correct to 29 decimal places anyway),
which is not exactly equal to 29.97.
More information about the MPlayer-users