[Ffmpeg-devel] Re: [PATCH] PKT_FLAG_B

Uoti Urpala uoti.urpala
Mon Jul 31 16:37:18 CEST 2006

On Mon, 2006-07-31 at 15:37 +0200, Baptiste Coudurier wrote:
> > On Thu, Jul 20, 2006 at 12:24:01AM +0200, Baptiste Coudurier wrote:
> >>>> Here is a patch that define PKT_FLAG_B to mention that a packet contains
> >>>> a B frame.

> GXF muxer mark the frame as being a B frame. That fix the seeking on
> broadcast server (direct seek, no blocky), and permits indexing on import.

If it's for seeking then I think the semantics required do not exactly
match those of a 'B' as in bidirectional frame.

> MOV muxer, it's not mandatory, but It will help deciding whether to put
> 'ctts' atom or not. Like I said I got some mpeg samples with P frames
> only and those don't need ctts atom, however detection based on pts/dts
> is not really accurate since difference is still 1 and that will create
> 'ctts' atom.

As discussed on IRC I don't believe that using PKT_FLAG_B for this would
be the correct behavior.

More information about the ffmpeg-devel mailing list