Velocity information by the zoom parameter

Is there a way to animate camera parameters (Ex:Zoom factor) and obtain pixel Velocity information?
The camera and Object is fixed.