Export for Platform
export_presetEncode a source video into platform-ready H.264 with the named platform's aspect, fps, bitrate, faststart, and pad/crop settings.
Instructions
Encode a platform-ready H.264 file (aspect, fps, bitrate, faststart) for a named platform.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>",
"platform": "<platform>"
},
"name": "export_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Fit to the platform aspect: pad (default) or crop. | |
| input | Yes | Path to the source video. | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| platform | Yes | Sets aspect, size, fps, bitrate. steam_trailer: 1080p 5.5 Mbps CBR, -14 LUFS. vertical_reel: 1080x1920 over a blurred copy of itself, -14 LUFS (ignores fit). | |
| overwrite | No | Allow replacing an existing file at the output path (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | Path of the file written. |