[Ffmpeg-devel] Re: [PATCH] PKT_FLAG_B

Steve Lhomme slhomme
Fri Jul 21 15:29:35 CEST 2006


Baptiste Coudurier wrote:
> Michael Niedermayer wrote:
>> Hi
>>
>> On Wed, Jul 19, 2006 at 11:52:38AM +0200, Baptiste Coudurier wrote:
>>> Hi
>>>
>>> Here is a patch that define PKT_FLAG_B to mention that a packet contains
>>> a B frame.
>>>
>>> That's not much yet, but it will work with stream copy and it's very
>>> useful. Is that acceptable ? If you think about another name, Im fine also.
>> for what is it usefull?
>>
>> [...]
> 
> Mainly because the pts and dts difference is sometimes not exact. I got
> samples here, in which P frames have pts/dts difference of 1 like a
> delay or something.
> 
> Actually there are at least 2 muxers that would need that (mov, and
> gxf), dunno any other muxer need that..

We use something similar in DrDivX to detect packed frames (P+B) to 
display them differently in a graph during encoding.

Steve




More information about the ffmpeg-devel mailing list