24 Feb
2005
24 Feb
'05
11:10 a.m.
On Wed, 23 Feb 2005, Joey Parrish wrote:
-ovc lavc -lavcopts vcodec=mpeg2 complains that "2997 / 100" is not a valid framerate for mpeg.
The lavc float to fraction code strikes again!
which is stupid, because the source file is an mpeg. it's upset over rounding and conversion errors introduced by the mplayer core itself. (somewhere) I'm not able to fix this off-hand.
mplayer doesn't have the exact correct framesrates for mpeg files (too few significant digits), and then it (stupidly) converts frame-rates to a 32-bit float, which is then converted back into a (different) fraction by code in lavc. This can't be fixed, as certain people don't believe it happens.