cut_take
Cut take segments into one clip with constant frame rate and in-sync voice; fix audio offset, move cut points off words, and output word timings.
Instructions
Cut takes into one clip: video at a constant frame rate, the voice in sync, and word times for the clip. It is the default for a cut of a take: it fixes the take's audio offset and frame rate, moves a cut point that falls inside a word to the word's edge (listed in 'moved'), and uses the take's clean voice when clean_voice is done. For what it cannot do (a J/L cut, a speed change, a cut inside a word, an effect), use your own ffmpeg on its clip and .wav, or on the take with get_session's audio_offset_s, and tell the user what you did. set_best_cut only marks a range; cut_take makes the video. Writes _work/-vN.mp4, .wav (voice only) and .words.json in the session. A short cut comes back done; a long one returns a job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move. | |
| segments | Yes | The parts to keep, in order: [{take, in, out}], seconds of the take. Add kind: 'screen' to cut a take's screen file. rough_cut's cut has this shape. |