H.264 can be cutted at any places if you do reencode the video.
If you do it properly, quality won't be degraded noticeably...
Also, I am interested, why do you need the keyframe info? Normally, at stream copy, the cut will be done at the nearest keyframe.