Have you already tried Fun Expander?
https://discuss.eroscripts.com/t/fun-expander-2-5-2-video-converter-with-ffmpeg-to-i-frames-added-updated-2022-04-11/4230
Set ‘Max. Interval length’ to 500 ms for example and the progamm adds points to avoid gaps bigger than 500 ms.