I was looking for expressions for zoom in/out , pan.
Basically the use case is this: Consider a rectangle of 1280x720 and I need to zoom in it
to 640x480. The zoom time is configurable, consider x seconds. The output of the expression should be all the intermediate rectangles (format = x,y,w,h) till 640x480 @ 30 fps. which means if the zoom time is 5 seconds, then I should get 150 output rectangles well spaced and smooth. (@30 fps, total rectangles = 30 x 5).
Further which, I'll crop them & then rescale them all to a constant resolution and finally feed to the encoder.
The same requirement goes to zoom out & pan-scan.
Thanks.