Why is only the first frame I frame with H265 encoding?

Hi,
Please refer to this and check if there is any deviation:
Xavier AGX : Video encoding crash - #15 by DaneLLL

Maybe –insert-spspps-idr is not set in your test.