[Ffmpeg-devel] Timestamps on Decoding

Rich Felker dalias
Sun Oct 23 22:25:39 CEST 2005


On Sun, Oct 23, 2005 at 08:03:34PM +0100, M?ns Rullg?rd wrote:
> Nico Sabbi <nsabbi at tiscali.it> writes:
> 
> > Paul Curtis wrote:
> >
> >> Rich Felker wrote:
> >>
> >>> Using DTS as PTS is blatently incorrect whenever there are B
> >>> frames. It will actually put the timestamps OUT OF ORDER!
> >>
> >>
> >> In using the mpeg container, with MPEG2 video and MPEG2 audio, I have
> >> not found an out of order frame yet. The encoder (MainActor) defaults to
> >> IBBPBBPBBPBBPBBPBB (18 frames between I, every third frame P) ... so my
> >> code must be doing something more than you assume.
> >
> > so Mainactor is outputting frames in display (rather than decoding ) order ?
> 
> An MPEG file with frames in anything other than decode order is illegal.

I'm getting the feeling Paul doesn't know much about what he's talking
about when it comes to frame order.. :(

Rich





More information about the ffmpeg-devel mailing list