You should be able to use motion tracking.
Here is a video giving instructions on how to do what you asked: