[FFmpeg-devel] [PATCH] simplify ipmovie.c pts calculation
Michael Niedermayer
michaelni
Thu Feb 26 17:14:16 CET 2009
On Thu, Feb 26, 2009 at 04:19:10PM +0100, Reimar D?ffinger wrote:
> Hello,
> this sets the time_base more appropriately.
> There is still the issue, that FFmpeg prints:
> 1000k tbr, 1000k tbn, 1000k tbc
> I somehow thought FFmpeg could guess a r_frame_rate, but it seems not...
> And making the demuxer parse ahead seems rather ugly when (IIRC)
> libavformat already has code to mux ahead to find out some things...
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
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/705da031/attachment.pgp>
More information about the ffmpeg-devel
mailing list