Can I have I frame at any time

For example, I set the encoder 100s per I frame when it starts. But I want to have the I frame in the 10s immediately. Can I get it? H264 or H265

Hi, Alfred,
you can try NvVideoEncoder::forceIDR() method.