[FFmpeg-devel] [PATCH] simplify ipmovie.c pts calculation

Michael Niedermayer michaelni
Thu Feb 26 19:01:49 CET 2009

On Thu, Feb 26, 2009 at 06:47:23PM +0100, Reimar D?ffinger wrote:
> On Thu, Feb 26, 2009 at 05:14:16PM +0100, Michael Niedermayer wrote:
> > why does lavf fail?
> > could you print the duration from the packets (i mean pts-last_pts) ?
> > if they are (near) multiplies of some integer lavf should find the
> > timebase, if OTOH they are random then 1/1m is maybe the best timebase
> > in which these can be specified exactly
> Can you point me to the code that does this guessing? I didn't find it.

see code calling tb_unreliable() in lavf/utils.c


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090226/22ba52ac/attachment.pgp>

More information about the ffmpeg-devel mailing list