convert_subtitle
Convert subtitle text between formats. Reads SRT, WebVTT, ASS/SSA, YouTube SBV and TTML/DFXP; writes SRT, WebVTT, ASS, CSV or plain text. Format is auto-detected unless from is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target format. `text` = plain transcript, one line per cue, no timecodes. | |
| from | No | Source format (default "auto" = detect). | |
| dedupe | No | Only for to="text": collapse consecutive identical lines (rolling-caption transcripts repeat lines). Default false. | |
| content | Yes | The full subtitle file text. |