[FFmpeg-devel] [PATCH] simplify ipmovie.c pts calculation
Thu Feb 26 17:14:16 CET 2009
On Thu, Feb 26, 2009 at 04:19:10PM +0100, Reimar D?ffinger wrote:
> 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
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel