Anton Khirnov <[email protected]> writes: > From: Anssi Hannula <[email protected]> > > As per issue2629, most 23.976fps matroska H.264 files are incorrectly > detected as 24fps, as the matroska timestamps usually have only > millisecond precision. > > Fix that by doubling the amount of timestamps inspected for frame rate > for streams that have coarse time base. This also fixes 29.970 detection > in matroska. > --- > libavformat/utils.c | 10 +++++++++- > 1 files changed, 9 insertions(+), 1 deletions(-)
The proper solution is to not throw out the frame rate specified in the mkv header, which is usually correct even if actual timestamps are inaccurate. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
