Nice work, mikeytown. I was having a few problems with the version you posted on 8th May, but this latest one works pretty well.
Still, one bug remains - the output clip is missing the last frame of the panned region.
Fix:
Code:
#Do the zoom/pan
c = c.Zoom(srcx=srcxSE, srcy=srcySE, factorx=factor_x_SE, factory=factor_y_SE, width=Round(outWidth), height=Round(outHeight)).Trim(startPZFrame, endPZFrame-1)
- Replace
endPZFrame-1 by
endPZFrame in Trim