convert
Converts a video between mp4, gif, and webm using H.264, VP9, or a palette filter, then returns the output path. Use it to change recording formats for sharing or embedding.
Instructions
Convert a video between mp4, gif, and webm. mp4 uses H.264, webm uses VP9, and gif uses a palette filter for quality. Returns the output path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Output fps (gif only; default 12). | |
| input | Yes | Path to the source media. | |
| width | No | Output width in px, height auto (gif only; default 720). | |
| format | Yes | Target format. Converts mp4 <-> gif/webm (H.264 / VP9 / palette gif). | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| overwrite | No | Allow replacing an existing file at the output path (default false). |