extract-video-subtitles
Extracts embedded subtitle/caption tracks (WebVTT/SRT) from a local video file with FFmpeg; falls back to transcribe-media if none exist.
Skill by RascalTwo
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/rascaltwo-extract-video-subtitles
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/extract-video-subtitles
What's inside
- Skill name
extract-video-subtitles- Description
- Extracts embedded subtitle/caption tracks (WebVTT/SRT) from a local video file with FFmpeg; falls back to transcribe-media if none exist. Use for "get subtitles from video", "extract captions", "rip subs", or a downloaded Meet recording with captions.
- License
- MIT
- Instructions
- 104 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Video Subtitle Extractor If the recording is already in the steno catalog, use the `steno-transcripts` skill first instead of re-transcribing. Extract embedded subtitle or caption tracks from local video/audio files using FFmpeg. Outputs WebVTT (.vtt) or SRT (.srt) format. This is useful when someone has already downloaded a video file that contains embedded captions — like a Google Meet recording downloaded from Google Drive, or any video with baked-in subtitles. ## Requirements - **FFmpeg** must be installed (`brew install ffmpeg` on macOS, `apt install ffmpeg` on Linux) - A local video/audio file with embedded subtitle tracks ## Input The user provides a file path: ``` $ARGUMENTS ``` If no path is provided, ask the user for the path to their video file. ## Workflow ### 1. Probe for subtitle streams Use `ffprobe` to check what subtitle tracks exist in the file: ```bash ffprobe -v quiet -print_format json -show_streams -select_streams s "$FILE_PATH" ``` This returns JSON with all subtitle streams. Each stream has: - `index` — stream number - `codec_name` — format (e.g., `webvtt`, `subrip`, `ass`, `mov_text`) - `tags.language` — language code if available - `tags.title` — description if available If no subtitle streams are found, the file has no embedded captions to extract — but it's already local, so **generate them from the speech with the `transcribe-media` skill** (NVIDIA Parakeet v3 ASR, with Whisper large-v3-turbo as the fallback): ```bash ~/.agents/skills/transcribe-media/transcribe.sh "$FILE_PATH" --format vtt # or srt ``` That produces the same `.vtt`/`.srt` this skill would, straight from the audio. (Only if it's a Google Meet recording still in the Drive player — not downloaded — is `extract-gdrive-transcript` the better route, since it reuses Google's speaker-attributed captions.) ### 2. Show available tracks If there are multiple subtitle streams, show the user what's available and ask which one to extract: ``` Found 2 subtitle streams: Stream 0: webvtt (English) Stream 1: subrip (Spanish) Which stream would you like to extract? (default: 0) ``` If there's only one stream, use it automatically. ### 3. Extract the subtitle track Extract as WebVTT (preferred, supports voice/speaker tags) with SRT as fallback: **Try WebVTT first:** ```bash ffmpeg -i "$FILE_PATH" -map 0:s:$STREAM_INDEX -c:s webvtt -f webvtt pipe:1 2>/dev/null ``` If the codec doesn't support WebVTT conversion, fall back to SRT: ```bash ffmpeg -i "$FILE_PATH" -map 0:s:$STREAM_INDEX -c:s srt -f srt pipe:1 2>/dev/null ``` ### 4. Save the output Save the extracted subtitles to a file alongside the input video, or to a user-specified location: - Default name: same as input file but with `.vtt` or `.srt` extension - Example: `recording.mp4` → `recording.vtt` ```bash ffmpeg -i "$FILE_PATH" -map 0:s:$STREAM_INDEX -c:s webvtt "$OUTPUT_PATH" -y 2>/dev/null ``` ### 5. Report Tell the user: - Where the file was saved - The format (WebVTT or SRT) - The file size - A preview of the first few entries so they can verify it looks correct ## Notes - WebVTT is preferred over SRT because it supports `<v Speaker>` voice tags for speaker attribution. Google Meet captions use WebVTT internally, so extracting from Meet recordings preserves speaker names. - If the extracted subtitles look garbled or empty, the subtitle track might be in a format FFmpeg can't convert. Try extracting as-is with `-c:s copy` to see the raw format. - Some video files have subtitles burned into the video frames (hardcoded) rather than as a separate track. FFmpeg can't extract those — they require OCR, which is a different problem.
From RascalTwo/ai-setup, MIT.
More from RascalTwo/ai-setup
- 0.603score
github-attach-media
RascalTwo
Upload an image, screenshot, or video to get a renderable GitHub user-attachments URL for a PR, issue, comment, or Projects card, including private repos (no…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
okta-api
RascalTwo
Call the Okta REST API to inspect or manage Okta resources (identity providers, users, groups, apps, policies, etc.).
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
ai-setup-audit
RascalTwo
Weekly interactive audit of the AI-agent setup shared across Claude Code and OpenAI Codex — AGENTS.md rules, skills, MCP servers, settings, subagents…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
model-real-things-3d
RascalTwo
Builds a lifelike 3D model (GLB/glTF) of a real physical object (a PC case, a router, a UPS, furniture) at its true size, and changes it later on request.
SkillAFreshness: A★ 2Claude Code +9 - 0.600score
browser-capture
RascalTwo
Saves screenshots, GIFs, or smooth video of a browser page to disk for docs, PRs, or reports.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
dredge
RascalTwo
Looks back over a thing's history since the last dredge (sessions, commits, what you pushed back on), judges it with plus-ultra, and brings you every…
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
genui-viz
RascalTwo
Puts a generative UI card in front of the user mid-task (a floating panel glued to their terminal pane) and returns their answer as data: approve a risky…
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
omnissa-horizon-vdi
RascalTwo
Operates a remote desktop through Omnissa Horizon Client on macOS, from Claude Code (computer-use MCP) or Codex (node_repl).
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
aws-creds
RascalTwo
Gets AWS credentials for any AWS account.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
diagnose-azure-container-app
RascalTwo
Diagnoses why an Azure Container App is failing to start by retrieving system events and application console logs.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
diagnose-terraform-unknown-error
RascalTwo
Investigates a Terraform provider "unknown error" or opaque API error by adding temporary debug logging to the failing workflow step, triggering a run, and…
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
documandments
RascalTwo
Documentation discipline from the Ten Commandments of Documentation.
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 24, 2026 (4 days ago)
- Last release
- Oct 24, 2026 (4 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/RascalTwo/ai-setup
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from RascalTwo
- 0.603score
ai-setup-audit
RascalTwo
Weekly interactive audit of the AI-agent setup shared across Claude Code and OpenAI Codex — AGENTS.md rules, skills, MCP servers, settings, subagents…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
model-real-things-3d
RascalTwo
Builds a lifelike 3D model (GLB/glTF) of a real physical object (a PC case, a router, a UPS, furniture) at its true size, and changes it later on request.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
okta-api
RascalTwo
Call the Okta REST API to inspect or manage Okta resources (identity providers, users, groups, apps, policies, etc.).
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
github-attach-media
RascalTwo
Upload an image, screenshot, or video to get a renderable GitHub user-attachments URL for a PR, issue, comment, or Projects card, including private repos (no…
SkillAFreshness: A★ 2Claude Code +9 - 0.600score
browser-capture
RascalTwo
Saves screenshots, GIFs, or smooth video of a browser page to disk for docs, PRs, or reports.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
aws-creds
RascalTwo
Gets AWS credentials for any AWS account.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
extract-video-subtitles skill. Agent Mart. https://agentmart.dev/skills/rascaltwo-extract-video-subtitles (last updated 2026-10-24)