[MPlayer-dev-eng] Subtitles out-of-sync with 23.976 mkv files with lavf demuxer
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Fri Jan 28 19:24:15 CET 2011
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.
More information about the MPlayer-dev-eng
mailing list