Camera Tracking Help

Hey Guys totally new here sorry. So I have green screen footage that wont be filmed off a tripod I will have tracking markers put in place. How do I send over the camera movement data over to Unreal engine as well as having the Footage follow the camera. Pretty much Im filming a music video and taking the step with my friend at trying to implement him in a 3d world of tall orange cubes. I got shots where I want him sitting on the blocks then cuts to footage of me actually moving around him so it would look like when I implement him in the world like its natural that hes there instead of just always filming my shots on a tripod. Do you guys think this is possible and if so how should I go about tackling this?