How to put a screen recording into the laptop in a photograph
Have Vizard Agent animate the photograph first and measure the screen's corners on the animated frames. A mask built from the original still will not fit, because adding breathing and hand movement to a photo shifts the laptop slightly, and the mask has to follow the screen that is actually on screen.
What do you type into Vizard Agent?
Describe both halves in one message, and tell Vizard Agent the screen fit must be exact. People usually ask for the insert and forget to ask for the movement, and a perfectly composited screen sitting inside a frozen photograph looks worse than either of the two would on its own.
Put this video inside the laptop screen in this photo, matched exactly to the screen's size and angle. Add small natural movement to the person: blinking, breathing, slight hand and body motion.
What does Vizard Agent actually do?
Vizard Agent works in the order that survives contact with reality: animate the photo, then measure the screen, then composite into it. The animation has to come first because it changes the geometry, and measuring before it simply means measuring the wrong thing. In the session behind this article it:
- Read the screen's area and angle from the photograph, checked the recording's format and length, and built a loop of micro-movement with the laptop held as still as possible.
- Warped the recording to the screen's four corners rather than scaling it, testing two coordinate orientations instead of guessing.
- Validated the placement with a plain colour field, to separate a position problem from a video problem.
- Overlaid a red mask to confirm the green area was covered exactly, measured the boundary pixels, and viewed the alpha channel over white to check the polygon's real shape.
- Found that the animation had moved the green screen's edges slightly, so it re-measured the four corners on the animated frames and rebuilt the mask from those.
When does this not work well?
When the animation moves the laptop too much. Generated movement is not controllable to the pixel, and a version where the person leans will drag the screen with them past what a fixed mask can follow. The fix is less movement, not a cleverer mask. A screen at a very steep angle is also hard.
Common questions
Does the photo need a green screen? It helps a lot. Vizard Agent can work from a plain screen too, and a lit one is hardest.
Why animate before masking? Because animating moves the screen. Vizard Agent measures the corners afterwards for that reason.
How much movement is safe? Blinking, breathing and slight hand motion. More than that drags the laptop with it.