pipeline
Combine multiple video edits into one ffmpeg re-encode without intermediate files. Save and reuse the step plan on other recordings, or preview the command with dryRun before running it.
Instructions
Run several edits as one ffmpeg process: one re-encode and no intermediate files, instead of a tool call and a re-encode per edit. Steps use the same options as the standalone tools (trim, crop, scale, speed, redact, callout, reframe, zoom) and may end with export_preset or export_gif. The same steps can be saved and re-run on another recording. dryRun returns the plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the source video. | |
| steps | Yes | Edits in order, each { op, ...the same options as its tool }: trim, crop, scale, speed, redact (redact_region), callout, reframe, zoom (keyframes), and as the last step only export_preset or export_gif. Times in a step are on the timeline as it is at that step, after any earlier trim or speed change; pixel positions are in the frame as it is at that step. | |
| dryRun | No | Return the planned ffmpeg command and output size without running it. | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| quality | No | Encoder preset for an mp4 result (default standard). | |
| overwrite | No | Allow replacing an existing file at the output path (default false). |