[Ffmpeg-cvslog] r8334 - trunk/libavformat/matroska.c

Aurelien Jacobs aurel
Mon Mar 12 14:01:49 CET 2007

On Mon, 12 Mar 2007 09:56:22 +0200
Uoti Urpala <uoti.urpala at pp1.inet.fi> wrote:

> On Mon, 2007-03-12 at 00:40 +0100, aurel wrote:
> >    trunk/libavformat/matroska.c
> > 
> > Log:
> > reorder pts of packets from tracks using V_MPEG* codecs
> What's the reason for doing this kind of reordering?

Because without it, the affected videos are playing all jerky.
Same thing is done in other matroska demuxers.
With this reordering, affected videos are now smooth.

It seems the matroska muxer is reordering the packets without
reordering the pts or something like that. (just one more
matroska stupidity ?)

> Doesn't this code
> necessarily produce pts values in the wrong order for some B-frame
> sequences such as H264 B pyramid?

I'm not sure about it. I've no samples handy.
I should try to build one...


More information about the ffmpeg-cvslog mailing list