fill_gaps
Automatically fill gaps in a Final Cut Pro timeline by extending adjacent clips forward or backward, or by deleting the gap. Set a maximum gap size to control which gaps are filled.
Instructions
Automatically fill gaps in the timeline by extending adjacent clips
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to FCPXML file | |
| mode | No | How to fill gaps | extend_previous |
| max_gap | No | Only fill gaps smaller than this (e.g., '1s') | |
| output_path | No | Output path (default: adds _modified suffix) |