video_overlay
Overlay one video on top of another with adjustable position, size, opacity, visibility timing, and quality settings.
Instructions
Picture-in-picture: overlay a video on top of another.
Args: background_path: Absolute path to the background video. overlay_path: Absolute path to the overlay video. position: Position on screen. Named (top-left, etc.), pixel" " {"x": 100, "y": 50}, or percentage {"x_pct": 0.5, "y_pct": 0.5}. width: Width to scale the overlay to (pixels). height: Height to scale the overlay to (pixels). opacity: Overlay opacity (0.0 to 1.0). start_time: When the overlay appears (seconds). duration: How long the overlay is visible (seconds). output_path: Where to save the output. Auto-generated if omitted. crf: Override CRF value (0-51, lower = better quality). Default 23. preset: Override FFmpeg encoding preset (ultrafast, fast, medium, slow, veryslow).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| background_path | Yes | ||
| overlay_path | Yes | ||
| position | No | top-right | |
| width | No | ||
| height | No | ||
| opacity | No | ||
| start_time | No | ||
| duration | No | ||
| output_path | No | ||
| crf | No | ||
| preset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||