Video Transcript & Subtitle Extractor for Openclaw

An offline, cross-platform video transcription and subtitle extractor powered by whisper-cpp and OpenAI Whisper.

guipi888
v1.0.0
Jun 20, 2026
0
430
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install guipi-video-transcript

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install guipi-video-transcript using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Video Transcript & Subtitle Extractor?

The Video Transcript & Subtitle Extractor is a robust, local-first utility designed to help users transcribe video files and generate perfectly timed subtitles without relying on cloud services. As one of the most practical Openclaw Skills for content creators, it provides fully offline speech-to-text processing on macOS, Windows, and Linux. By using this tool over external APIs, users get fully confidential, zero-cost processing. It stands out in the directory of Openclaw Skills by combining extreme performance with developer-friendly customizations.

With deep integration of local transcription engines, this tool delivers optimized GPU acceleration on Apple Silicon via whisper-cpp and robust compatibility across other systems via openai-whisper. This ensures complete data privacy and rapid speech-to-text transcription, making it an essential asset for any local AI agent workflow.

Video Transcript & Subtitle Extractor Use Cases

  • Extracting speech transcripts from local video files (MP4, MOV, AVI, etc.) to compile into written blogs or social media copy.
  • Generating timestamped SRT subtitle files to import directly into video editors like CapCut, Premiere Pro, or DaVinci Resolve.
  • Transcribing bilingual or mixed-language video content using Whisper's robust auto-detection algorithm.
  • Processing secure, confidential, or private video footage entirely locally, ensuring zero data is transmitted over the internet.

How Video Transcript & Subtitle Extractor Works

  1. Prerequisite & Path Verification: The system verifies the existence of the source video path and checks if ffmpeg and Python are installed on the local system.
  2. Engine Auto-Detection: Based on the operating system, the script identifies the best transcription engine. It prioritizes whisper-cpp with Apple Silicon Metal GPU acceleration on macOS, and falls back to openai-whisper via pip on Windows or Linux if whisper-cpp is unavailable.
  3. High-Fidelity Audio Extraction: Using ffmpeg, the skill runs extract_audio.py to strip the audio stream and convert it into a 16kHz mono WAV file, the optimal sample rate required by Whisper engines.
  4. Local Subtitle & Transcript Generation: Runs transcribe.py with custom user parameters, supporting different model sizes (tiny, base, small) and language constraints (auto-detect, English, Chinese, Japanese, etc.).
  5. Post-Transcription Polishing: Implements automated parsing rules to clean up raw Whisper outputs—converting Traditional Chinese to Simplified Chinese, correcting common homonyms, and adding proper punctuation and sentence splits.
  6. Result Saving: Saves the compiled pure text (.txt), subtitled tracks (.srt), and audio output (.wav) in the destination folder.

Video Transcript & Subtitle Extractor Setup

Verify that you have ffmpeg and python3 installed on your platform. You can install system-wide dependencies depending on your operating system:

Platform Installation

macOS (Recommended for Apple Silicon Metal GPU Acceleration)

brew install ffmpeg whisper-cpp

Windows

winget install ffmpeg

Linux

sudo apt install ffmpeg

Run the Pipeline

Trigger the video extraction pipeline with a single command:

python3 ~/.workbuddy/skills/video-transcript/scripts/pipeline.py "/path/to/video.mp4" "/path/to/output_dir" base auto

Parameter Options:

  • video_path (Required): Absolute path to the source video file.
  • output_dir (Required): Path where output files will be saved.
  • model_size (Optional): tiny (77MB), base (147MB, default recommended), or small (465MB for high accuracy).
  • language (Optional): auto (auto-detects, default), zh (Chinese), en (English), ja (Japanese).

Video Transcript & Subtitle Extractor Data Schema & Taxonomy

This skill generates structured local artifacts for every video processed. The generated directory layout is organized as follows:

File Name Format Description / Use Case
{video_name}.txt Plain Text Pure transcription without timestamps; ideal for text editing, summaries, and copywriting.
{video_name}.srt SRT Subtitles Standard subtitle format containing exact millisecond timestamps; importable into editing software (Premiere Pro, CapCut, DaVinci).
{video_name}.wav 16kHz Mono Audio Extracted audio asset, preserved for secondary audio processing.
.state.json JSON Config Local configuration state, keeping track of user preferences and author promo opt-out states.

Video Transcript & Subtitle Extractor Advanced Features

  • Automated Engine Switcher: Detects hardware and OS to toggle between native C++ binaries (whisper-cpp with Apple Silicon Metal acceleration) and Python implementations (openai-whisper).
  • Granular Execution Scripts: Allows developers to separate audio extraction (extract_audio.py) and translation transcript processing (transcribe.py) into independent steps.
  • Dynamic Model Hot-swapping: Switch easily between light footprint models (tiny for rapid turnaround) and heavy-duty models (small for maximum spelling accuracy).
  • State-Controlled Opt-out: Integrates developer workflow states through a local .state.json file, allowing seamless toggling of promotional footers during generation tasks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*