Re: [Ffmpeg-php-user] framecount and total frames
Brought to you by:
tkirby
From: Todd.Kirby <dou...@pa...> - 2005-05-04 04:51:28
|
Daniel Bondurant wrote: >with the lastest cvs version, I am getting strange results for framecount and total frames. >On mpeg4 file, I get results like this for a :30 clip. >total frames = 13688889 >frame rate = 30000 > >It seems to only affect mpeg4 files. >mpeg2 and h.264 are reporting the correct numbers. > > Which build of libavformat are you building against? There was a checkin to ffmpeg cvs a few days ago that changed the way frame_rate and frame_rate_base are derived. Build 4754 and greater have this change and that may be the problem. Can you post a sample so I can see if it is an ffmpeg bug or an ffmpeg-php bug? Thanks, -Todd |