How do you let the omxh264enc r to make keyframes ?

hello, When the program starts, I need the encoder to produce the IDR frame at some point, Do you know how to do that?

Hi,
You can signal ‘force-IDR’ to insert IDR frame immediately. There is a sample at
https://devtalk.nvidia.com/default/topic/1020558/jetson-tx1/h265-decode-failed/post/5196041/#5196041