[FFmpeg-devel] [BUG] h264 picture reordering fails

Laurent Aimar fenrir
Sat May 30 21:57:20 CEST 2009


On Sat, May 30, 2009, Haruhiko Yamagata wrote:
>> On Sat, May 30, 2009 at 07:34:32PM +0900, Haruhiko Yamagata wrote:
>>> I found picture reordering fails in
>>> http://x264.nl/h.264.samples/premiere-paff.ts
>>>
>>> Outputted pictures have POC {-4, -2, 4, 0, 2, 6}.
>>> Are negative POCs allowed?
>>>
>>> If yes, zero as POC is valid as well.
>>>
>
>> about POCs, IIRC the spec requires POC=0 to be true and only true for
>> IDR pictures, but i might misremember (would have to check the spec)
>> What i do know is that the POC or frame number == 0 rules in the spec
>> are not followed by some encoders.
>
> Yes, I think POC=0 means IDR. In that case, negative values as POC are
> not allowed.
 This point has been discusses on the JVT mailing list, it was said that
negative POC are valids, they just mean that the picture has to be displayed
before the IDR.

Regards,

-- 
fenrir



More information about the ffmpeg-devel mailing list