video_transcript
Extract a plain text transcript from a video URL or local file, using manual subtitles or auto-captions. Optionally include timestamps and set a character limit for output.
Instructions
Get a clean text transcript of a video. For URLs, fetches manual subtitles or auto-captions via yt-dlp (no video download). For local files, extracts an embedded subtitle track if present.
Args: source: Local file path or video page URL. language: Subtitle language code (e.g. 'en', 'de', 'ja'). include_timestamps: Prefix lines with [MM:SS] markers. max_chars: Character cap (0 = default cap of 20000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| language | No | en | |
| max_chars | No | ||
| include_timestamps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |