本文更新于: 2025年9月9日
使用 AI 转录和总结视频内容。开源、跨平台且支持多种语言。AI视频转录器
一款人工智能视频转录和摘要工具,支持 YouTube、Tiktok、Bilibili 等 30 多个平台。
工具截图

功能特性
- 🎥 多平台支持: 支持YouTube、Bilibili、抖音等30+平台。
- 🗣️ 智能转录: 使用Faster-Whisper模型进行高精度语音转文字
- 🤖 AI文本优化: 自动错别字修正、句子完整化和智能分段
- 🌍 多语言摘要: 支持多种语言的智能摘要生成
- ⚙️ 条件式翻译:当所选总结语言与Whisper检测到的语言不一致时,自动调用GPT‑4o生成翻译
- 📱 移动适配: 完美支持移动设备
快速入门
先决条件
- Python 3.8+
- FFmpeg
- 可选:OpenAI API 密钥(用于 AI 摘要功能)
安装
方法一:自动安装
# Clone the repository git clone https://github.com/wendy7756/AI-Video-Transcriber.git cd AI-Video-Transcriber # Run installation script chmod +x install.sh ./install.sh
方法二:Docker
# Clone the repository git clone https://github.com/wendy7756/AI-Video-Transcriber.git cd AI-Video-Transcriber # Using Docker Compose (easiest) cp .env.example .env # Edit .env file and set your OPENAI_API_KEY docker-compose up -d # Or using Docker directly docker build -t ai-video-transcriber . docker run -p 8000:8000 -e OPENAI_API_KEY="your_api_key_here" ai-video-transcriber
方法3:手动安装
- 安装 Python 依赖项
# macOS (PEP 668) strongly recommends using a virtualenv python3 -m venv .venv source .venv/bin/activate python -m pip install --upgrade pip pip install -r requirements.txt
- 安装 FFmpeg
# macOS brew install ffmpeg # Ubuntu/Debian sudo apt update && sudo apt install ffmpeg # CentOS/RHEL sudo yum install ffmpeg
- 配置环境变量
# Required for AI summary/translation features export OPENAI_API_KEY="your_api_key_here" # Optional: only if you use a custom OpenAI-compatible gateway ### Start the Service ```bash python3 start.py
服务启动后,打开浏览器访问http://localhost:8000
生产模式(推荐用于长视频)
为了避免长时间处理期间 SSE 断开连接,请以生产模式启动(禁用热重载):
python3 start.py --prod
这使得 SSE 连接在长时间任务(30-60 分钟以上)中保持稳定。
使用显式环境运行(示例)
source .venv/bin/activate export OPENAI_API_KEY=your_api_key_here # export OPENAI_BASE_URL=https://oneapi.basevec.com/v1 # if using a custom endpoint python3 start.py –prod
使用指南
- 输入视频链接: 在输入框中粘贴YouTube、Bilibili等平台的视频链接
- 选择摘要语言: 选择希望生成摘要的语言
- 开始处理: 点击”开始”按钮
- 监控进度: 观察实时处理进度,包含多个阶段:
- 视频下载和解析
- 使用Faster-Whisper进行音频转录
- AI智能转录优化(错别字修正、句子完整化、智能分段)
- 生成选定语言的AI摘要
- 查看结果: 查看优化后的转录文本和智能摘要
- 下载文件: 点击下载按钮保存Markdown格式的文件
项目地址
github :https://github.com/wendy7756/AI-Video-Transcriber
声明:本站为个人非盈利博客,资源均网络收集且免费分享无限制,无需登录。资源仅供测试学习,请于24小时内删除,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集。请支持正版!如若侵犯了您的合法权益,可联系我们处理。