Look into the camera sequencer. I don't know if it'll do exactly what you want, but it's worth a look.