[MPlayer-dev-eng] Re: [PATCH] dvr-ms fixes for pts, key frame detection and seeking
uoti.urpala at pp1.inet.fi
Wed Feb 7 19:59:19 CET 2007
On Wed, 2007-02-07 at 12:50 -0600, John Donaghy wrote:
> Also, the timestamps arent in chronological order (as you'd expect since the
> frames arent either). But if I feed these timestamp values straight into the
> decoder then I get warnings (from video.c) about "Invalid frame duration".
Old timing code expects the demuxer to sort the timestamps. It should
work if you use -correct-pts (though if the file/stream doesn't start at
an I frame and the codec uses a binary decoder which doesn't distinguish
buffered/dropped frames then that might cause problems).
More information about the MPlayer-dev-eng