export_captions
Export captions from all caption lanes or a single track as SRT or VTT subtitle documents, with optional range clipping and zero-shift alignment for range exports.
Instructions
The captions of a composition as a subtitle document — format srt or vtt — read from every caption lane (or one track_id) in time order, with the cue text as it stands. range (start_export's) clips cues to it and shifts them to 0, in step with a range export. Returns { format, cues, body }, plus the snapped range; write body to a file yourself. Records nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Snapped to the frame grid as start_export snaps it; omit for all cues. | |
| format | Yes | SubRip or WebVTT. | |
| track_id | No | One caption lane only; omit for every caption lane of the composition. | |
| composition_id | No | Composition whose captions are meant — a Group's id from `project://compositions`; omit for the root. |