How to fix stuttered, jerky, glitchy footage in After effects.
So I've been working with after effects for years and never had this issue before with mp4 files so don't get why it's happening now. I shoot with Sony mirrorless cameras(in this case a sony a7riii) and whenever I try to playback footage it would be gltichy/jerky movement below. (But I don't get this issue in adobe premiere)

I thought it was a frame rate issue but that wasn't the case. So I converted it to a quicktime file using media encoder and used the "replace footage" feature in after effects to quickly insert it with all effects applied and that solved the issue.

This has bugged me my last 2 projects and there's not much on it online so I thought I'd share my solution in case anyone has had this problem.