overlay
Composite an image or video (logo, watermark, picture-in-picture) onto a base video at a pixel position, with optional scaling and timing; the output keeps the base audio and length.
Instructions
Composite an image or video (logo, watermark, picture-in-picture) onto a base video at a pixel position, optionally scaled and time-limited. A video overlay starts playing at start and holds its last frame if it ends early; the output keeps the base video's audio and length.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Overlay left position in pixels. | |
| y | Yes | Overlay top position in pixels. | |
| end | No | Optional second to hide the overlay after. | |
| input | Yes | Path to the base video. | |
| start | No | Optional second to show the overlay from. | |
| width | No | Optional overlay width in px (height auto when omitted). | |
| height | No | Optional overlay height in px (width auto when omitted). | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| overlay | Yes | Path to the overlay image or video (logo, watermark, picture-in-picture). | |
| overwrite | No | Allow replacing an existing file at the output path (default false). |