[Ffmpeg-devel] Re: [PATCH] PKT_FLAG_B

Baptiste Coudurier baptiste.coudurier
Mon Jul 31 16:40:15 CEST 2006


Hi

Uoti Urpala wrote:
> 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.

Can you read GXF specs, please ?

>> 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.

Well, Im pretty much for a better alternative. What do you propose ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list