snap_to_beats
Aligns video cuts to the nearest beat markers in FCPXML files, shifting cuts by up to a configurable number of frames to synchronize edits with music.
Instructions
Align cuts to nearest beat markers for music-synced edits
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to FCPXML file with beat markers | |
| max_shift_frames | No | Maximum frames to shift a cut | |
| prefer | No | Which beat to prefer when equidistant | nearest |
| output_path | No | Output path (default: adds _synced suffix) |