Movie Export issues

I am attempting to export to Movie H.264. But when I do this it does not hold the fps rate it makes its own?

Any step by step advice.

Go into the video settings and change the keyframe option to “All” instead of
“Keyframe every X frames”.