export_captions
Export captions from a composition as an SRT or VTT subtitle document. Select one or all caption lanes, get formatted cues, and write the body to a file for subtitles.
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. Returns { format, cues, body }; write body to a file yourself. Records nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |