Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.07k stars 1.51k forks source link

Insert video in green screen #2118

Open hucara opened 4 months ago

hucara commented 4 months ago

I have a picture which is a hand holding a phone. This smartphone has a green screen that I am able to mask and able to combine, showing a video behind this picture and making it look like the video is playing in the phone screen.

I am trying to resize and rotate the video so it fits the phone screen, but I am not able to find a way to do it. I cannot find the way to get boundaries for the masked region of the screen and also the needed rotation.

Is this something possible with moviepy?