Crossfade Transition
xfade_transitionJoin two videos with an xfade transition and crossfaded audio, even when their size, frame rate, or audio settings differ.
Instructions
Join two videos with an xfade transition (audio crossfaded); they need not match in size, fps, or audio. For more clips use assemble_highlights.
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": {
"inputA": "<inputA>",
"inputB": "<inputB>"
},
"name": "xfade_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputA | Yes | Outgoing video. | |
| inputB | Yes | Incoming video. | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| duration | No | Transition length in seconds (default 1). | |
| overwrite | No | Allow replacing an existing file at the output path (default false). | |
| transition | No | xfade name (default fade): fade, wipeleft, slideup, circleopen, dissolve, ... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | Path of the file written. |