Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bighardperson avatar

Audio Video To Text

  • 8 installs
  • 33 repo stars
  • Updated April 26, 2026
  • bighardperson/computer-science-skills-collection

audio-video-to-text is a skill that transcribes audio and video files into text and subtitles using OpenAI Whisper.

About

This skill uses OpenAI Whisper to convert audio and video files into text. It supports automatic language detection and outputs plain text, SRT/VTT subtitles, or timestamped JSON. A developer uses it for meeting notes, video subtitles, interview and podcast transcription, and voice-memo capture.

  • Transcribes audio and video to text using OpenAI Whisper
  • Outputs plain text, SRT/VTT subtitles, or timestamped JSON
  • Model size, language, and CPU/CUDA device are selectable via flags

Audio Video To Text by the numbers

  • 8 all-time installs (skills.sh)
  • Ranked #1,074 of 1,337 Generative Media skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
At a glance

audio-video-to-text capabilities & compatibility

Free and local; runs Whisper via pip (openai-whisper, ffmpeg-python) on CPU or CUDA, no API key.

Use cases
transcription · video generation
Platforms
macOS · Windows · Linux
Runs
Runs locally
Pricing
Free
From the docs

What audio-video-to-text says it does

本技能使用 OpenAI Whisper 模型将音频/视频文件转换为文字。支持自动语言检测和多种输出格式。
SKILL.md
pip install openai-whisper ffmpeg-python
SKILL.md
转录音频,输出 SRT 字幕
SKILL.md
npx skills add https://github.com/bighardperson/computer-science-skills-collection --skill audio-video-to-text

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs8
repo stars33
Last updatedApril 26, 2026
Repositorybighardperson/computer-science-skills-collection

What it does

Transcribe audio and video files to text or subtitles (SRT/VTT/JSON) using OpenAI Whisper.

Who is it for?

Turning meetings, interviews, podcasts, or videos into text transcripts and SRT/VTT subtitles.

Skip if: Real-time live transcription; it processes existing audio/video files in batch.

When should I use this skill?

the user needs to transcribe audio or video, generate subtitles, or convert speech to text.

What you get

  • Text transcript
  • SRT/VTT subtitle file
  • Timestamped JSON

By the numbers

  • Five Whisper model sizes (tiny, base, small, medium, large)
  • Four output formats (txt, srt, vtt, json)

Files

SKILL.mdMarkdownGitHub ↗

音视频转文字

概述

本技能使用 OpenAI Whisper 模型将音频/视频文件转换为文字。支持自动语言检测和多种输出格式。

何时使用

  • 会议录音转文字记录
  • 视频内容生成字幕(SRT/VTT)
  • 采访/播客内容整理
  • 语音备忘录转文本
  • 多语言视频翻译准备

快速开始

1. 安装依赖

pip install openai-whisper ffmpeg-python

确保系统已安装 ffmpeg:

# Ubuntu/Debian
sudo apt-get install ffmpeg

# macOS
brew install ffmpeg

# Windows
# 从 https://ffmpeg.org/download.html 下载

2. 基本用法

python scripts/transcribe.py <输入文件> [输出文件] [选项]

3. 示例

# 转录 MP4 视频,输出文本
python scripts/transcribe.py meeting.mp4

# 转录音频,输出 SRT 字幕
python scripts/transcribe.py podcast.mp3 podcast.srt --output-format srt

# 指定中文和较小模型(更快)
python scripts/transcribe.py interview.wav --model tiny --language zh

# 输出带时间戳的 JSON
python scripts/transcribe.py video.mp4 result.json --output-format json

命令行选项

选项说明默认值
--model模型大小:tiny, base, small, medium, largebase
--language语言代码:zh, en, ja 等自动检测
--output-format输出格式:txt, srt, vtt, jsontxt
--device运行设备:cpu, cudacpu
--keep-audio保留临时音频文件false

模型选择指南

模型大小速度精度适用场景
tiny39M最快一般快速测试、短音频
base74M良好日常使用
small244M中等较好正式场合
medium769M很好高精度需求
large1550M最慢最佳专业转录

输出格式说明

TXT(纯文本)

这是转录的完整文本内容,适合阅读和编辑。

SRT(字幕格式)

1
00:00:01,000 --> 00:00:04,000
这是第一句字幕。

2
00:00:04,500 --> 00:00:07,000
这是第二句字幕。

VTT(Web 字幕)

WEBVTT

00:00:01.000 --> 00:00:04.000
这是第一句字幕。

00:00:04.500 --> 00:00:07.000
这是第二句字幕。

JSON(完整数据)

包含分段、时间戳、置信度等完整信息,适合程序处理。

支持的文件格式

音频: MP3, WAV, FLAC, OGG, M4A, AAC

视频: MP4, AVI, MOV, MKV, WEBM, FLV

性能优化建议

1. 短音频优先用 tiny/base 模型 - 速度快,精度够用 2. 长内容用 CPU - 避免 GPU 内存不足 3. 指定语言 - 可提升准确率和速度 4. 批量处理 - 脚本可循环调用处理多个文件

常见问题

转录质量不佳

  • 尝试更大的模型(small/medium/large)
  • 指定正确的语言代码
  • 确保音频质量清晰

处理速度慢

  • 使用更小的模型(tiny/base)
  • 如有 GPU,使用 --device cuda
  • 缩短音频长度或分段处理

内存不足

  • 使用更小的模型
  • 将长文件分割后分别处理
  • 关闭其他占用内存的程序

脚本

  • scripts/transcribe.py - 主转录脚本

参考资料

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.