[FFmpeg-devel] [PATCH 13/18] h264_sei: parse the picture timing SEIs correctly

Kieran Kunhya kierank at obe.tv
Sun Mar 22 06:24:35 EET 2020


On Fri, 13 Mar 2020 at 10:32, Anton Khirnov <anton at khirnov.net> wrote:

> Those SEIs refer to the currently active SPS. However, since the SEI
> NALUs precede the coded picture data in the bitstream, the active SPS is
> in general not known when we are decoding the SEI.
>

The spec disagrees with this statement (7.4.1.2.1 Order of sequence and
picture parameter set RBSPs and their activation). There are reasonably
clear rules about SPS activation.
(Whether real world bitstreams comply is a different issue of course).

Kieran


More information about the ffmpeg-devel mailing list