How to zoom out video to a dot with Python? [closed]

How to make an effect to zoom “very” out the video such as every frame it will be smaller and smaller, and finally, at last frame, all content will be a simple dot in the middle? How to start this approach? What libraries to use, methods?