Whisper Transcription

guia-matthieu/clawfu-skills/skills/automation/whisper-transcription

作者 guia-matthieu4108f5c010ccaa8b5707fa05ca1d888ae167e548MIT收录于 2026年10月9日更新于 2026年10月9日

Transcribe audio and video files to text using OpenAI Whisper. Use when: converting podcasts to blog posts; creating video subtitles; extracting quotes from interviews; repurposing video content to text; building searchable audio archives

包含脚本Documents & Office
AI 生成的概览

使用 OpenAI Whisper 将音频和视频文件转录为文本、字幕或带时间戳的输出。

功能
该技能将 OpenAI Whisper 封装为命令行脚本,可把音频和视频文件转录为文本、SRT、VTT、JSON 或 TSV 格式。它支持单文件与批量转录、外语音频翻译以及时间戳提取。技能文档还说明了模型选择、输出格式和性能优化建议。
适用场景
适用于把播客、访谈或视频转为文字稿、为视频平台生成字幕,或让音频资料库可被搜索。也适合内容再利用和翻译流程。
运行要求
需要安装 openai-whisper、torch、ffmpeg-python 和 click 的 Python 环境,以及系统级 ffmpeg 可执行文件。GPU 加速为可选项。技能附带可执行脚本,无需 API 凭据。

Whisper Transcription

Transcribe any audio or video to text using OpenAI's Whisper model - the same technology powering ChatGPT voice features.

When to Use This Skill

  • Podcast repurposing - Convert episodes to blog posts, show notes, social snippets
  • Video subtitles - Generate SRT/VTT files for YouTube, social media
  • Interview extraction - Pull quotes and insights from recorded calls
  • Content audit - Make audio/video libraries searchable
  • Translation - Transcribe and translate foreign language content

What Claude Does vs What You Decide

Claude DoesYou Decide
Structures production workflowFinal creative direction
Suggests technical approachesEquipment and tool choices
Creates templates and checklistsQuality standards
Identifies best practicesBrand/voice decisions
Generates script outlinesFinal script approval

Dependencies

bash
pip install openai-whisper torch ffmpeg-python click# Also requires ffmpeg installed on system# macOS: brew install ffmpeg# Ubuntu: sudo apt install ffmpeg

Commands

Transcribe Single File

bash
python scripts/main.py transcribe audio.mp3 --model medium --output transcript.txtpython scripts/main.py transcribe video.mp4 --format srt --output subtitles.srt

Batch Transcription

bash
python scripts/main.py batch ./recordings/ --format txt --output ./transcripts/

Transcribe + Translate

bash
python scripts/main.py translate foreign-audio.mp3 --to en

Extract Timestamps

bash
python scripts/main.py timestamps podcast.mp3 --format json

Examples

Example 1: Podcast to Blog Post

bash
# Transcribe 1-hour podcastpython scripts/main.py transcribe episode-42.mp3 --model medium
# Output: episode-42.txt (full transcript with timestamps)# Processing time: ~5 min for 1 hour audio on M1 Mac

Example 2: YouTube Subtitles

bash
# Generate SRT for video uploadpython scripts/main.py transcribe marketing-video.mp4 --format srt
# Output: marketing-video.srt# Upload directly to YouTube/Vimeo

Example 3: Batch Process Interview Library

bash
# Transcribe all recordings in folderpython scripts/main.py batch ./customer-interviews/ --model small --format txt
# Output: ./customer-interviews/*.txt (one per audio file)

Model Selection Guide

ModelSpeedAccuracyVRAMBest For
tinyFastest~70%1GBQuick drafts, short clips
baseFast~80%1GBSocial media clips
smallMedium~85%2GBPodcasts, interviews
mediumSlow~90%5GBProfessional transcripts
largeSlowest~95%10GBCritical accuracy needs

Recommendation: Start with small for most marketing content. Use medium for client deliverables.

Output Formats

FormatExtensionUse Case
txt.txtBlog posts, analysis
srt.srtVideo subtitles (YouTube)
vtt.vttWeb video subtitles
json.jsonProgrammatic access
tsv.tsvSpreadsheet analysis

Performance Tips

  1. GPU acceleration - 10x faster with CUDA GPU
  2. Audio extraction - Script auto-extracts audio from video
  3. Chunking - Long files auto-split for memory efficiency
  4. Language detection - Automatic, or specify with --language

Skill Boundaries

What This Skill Does Well

  • Structuring audio production workflows
  • Providing technical guidance
  • Creating quality checklists
  • Suggesting creative approaches

What This Skill Cannot Do

  • Replace audio engineering expertise
  • Make subjective creative decisions
  • Access or edit audio files directly
  • Guarantee commercial success

Related Skills

  • video-processing - Extract audio from video
  • youtube-downloader - Download videos to transcribe
  • content-repurposer - Transform transcripts to content
  • podcast-production - Create podcasts

Skill Metadata

  • Mode: cyborg
yaml
category: automationsubcategory: audio-processingdependencies: [openai-whisper, torch, ffmpeg-python]difficulty: beginnertime_saved: 10+ hours/week

来源与署名

来源:guia-matthieu/clawfu-skills位于skills/automation/whisper-transcription提交4108f5c

许可证: MIT

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架