[FFmpeg-devel] [PATCH] simplify ipmovie.c pts calculation
Reimar Döffinger
Reimar.Doeffinger
Thu Feb 26 23:01:26 CET 2009
On Thu, Feb 26, 2009 at 09:37:53PM +0100, Michael Niedermayer wrote:
> it should at least realize that 8341/125000 can represent them exactly
> a patch that runs gcd over them is welcome
Something like attached patch? It should work fine for all files that
actually are constant-frame-rate and have an exact time-base.
It works great for .mve files, but I haven't tested it well and I won't
(I'm supposed to learn for exams :-) ).
> also a patch that lets the user app configure its threshold of acceptance
> a little would be welcome, for example
> transcoding a file with 1/10000000 timebase to avi reqiures a smaller
> timebase and it should select the best it can.
Hm, I think it's actually large duration values, not large time bases
that causes problems, isn't it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: durationgcd.diff
Type: text/x-diff
Size: 1556 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090226/97f006ee/attachment.diff>
More information about the ffmpeg-devel
mailing list