I have a video with person moving around. But I need to make it so that the camera focuses on the person and ultimately the person stays in the center of the shot.
You can make it with tracking. Find static point on person, and track from it. Better to use chest (not face), because it is more stable, when person moving.
But you need to understand, that you will have some empty space on the edges of the screen after that. If it is not recorded on green/blue screen, you may need to zoom your video. Because of that you will lose some quality.