Video captions
video_captionsExtracts video captions or subtitles with timestamps from HTML5 tracks, YouTube, or downloaded caption files. Filter by time range or language; returns a clear empty result when none exist.
Instructions
Returns the captions/subtitles of a video with timestamps. Sources, in order: HTML5 caption tracks, YouTube captions, caption files the player downloaded (from the Network log). Reports clearly when there are none (then use video_transcribe).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Only cues before this second. | |
| start | No | Only cues after this second. | |
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). | |
| video | No | Media ref from video_list (e.g. "e7"). Defaults to the main video: the largest visible one, preferring a playing one. | |
| language | No | Preferred language code, e.g. "en", "vi". |