28 Jan
2011
28 Jan
'11
12:40 a.m.
Hi! Frame-based (microdvd) subtitles currently get out of sync towards the end of 23.976 fps H264 matroska files (some 1-2s in 40min). This doesn't happen with the legacy demuxer (-demuxer mkv). 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? -- Anssi Hannula