28 Jan
2011
28 Jan
'11
6:24 p.m.
On Fri, Jan 28, 2011 at 02:40:17AM +0200, Anssi Hannula wrote:
AFAICS this happens because demux_lavf.c uses st->r_frame_rate to determine sh_video->fps and sh_video->frametime, and r_frame_rate is rounded up to 24 fps by av_find_stream_info().
I'm not immediately sure what is the correct solution here, so does someone else know?
Yes, if the video isn't 24 fps, av_find_stream_info shouldn't return 24 fps. Fixing whatever goes wrong would be the most preferable solution by far.