How wendy7756/ai-video-transcriber works
AI Video Transcriber accepts video or podcast URLs and local media/text, then produces transcripts, optional translations, summaries, and optionally saved original media. The web UI submits jobs to the FastAPI service and receives progress updates; CLI and MCP provide headless entry points into the same processing workflow. URL processing prefers platform subtitles and falls back to Whisper; media normalization, transcript optimization, conditional translation, and summarization follow. The excerpts establish key calls, while README statements support documented capabilities whose implementation was not sampled.
Main entry points: main.py Web Service · transcribe.py CLI · video_processor.py Video Processor · summarizer.py Transcript Optimizer
Components 18
User Interfaces
- Web UI
static/app.js - CLI
transcribe.py - MCP Server
mcp_server.py
Job Orchestration
- Web Service
backend/main.py - Task State
backend/main.py - Pipeline Helpers
backend/pipeline.py
Media Ingestion
- Video Processor
backend/video_processor.py - Whisper Transcriber
backend/transcriber.py - Video Platforms
- FFmpeg
Language Processing
- Transcript Optimizer
backend/summarizer.py - Translator
backend/translator.py - Summary Generator
backend/summarizer.py - LLM Client
backend/llm_client.py - LLM Output Sanitizer
backend/llm_sanitize.py
Results and Integrations
- OpenAI-Compatible API
- Transcript and Media Files
Other components
- User
Connections 27
- User → Web UI: submits input
README.md - Web UI → Web Service: posts jobs
static/app.js - Web Service → Task State: updates task state
backend/main.py - Web Service → Web UI: streams progress
README.md - Web Service → Video Processor: processes URL
backend/main.py - Web Service → Whisper Transcriber: transcribes audio
backend/main.py - Web Service → Transcript Optimizer: optimizes transcript
backend/main.py - Web Service → Translator: translates conditionally
README.md - Web Service → Summary Generator: creates summary
README.md - Web Service → Pipeline Helpers: uses helpers
backend/main.py - Video Processor → Video Platforms: fetches subtitles
backend/video_processor.py - Video Processor → FFmpeg: normalizes media
README.md - Whisper Transcriber → FFmpeg: uses normalized audio
README.md - CLI → Video Processor: fetches or downloads
transcribe.py - CLI → Whisper Transcriber: transcribes audio
transcribe.py - CLI → Transcript Optimizer: optimizes transcript
transcribe.py - CLI → Translator: translates conditionally
transcribe.py - CLI → Summary Generator: creates summary
transcribe.py - MCP Server → CLI: reuses pipeline
mcp_server.py - Transcript Optimizer → LLM Client: requests completions
backend/summarizer.py - Transcript Optimizer → LLM Output Sanitizer: cleans model output
backend/summarizer.py - Translator → LLM Client: requests completions
backend/translator.py - Translator → LLM Output Sanitizer: cleans model output
backend/translator.py - LLM Client → OpenAI-Compatible API: calls completion API
README.md - Web Service → OpenAI-Compatible API: discovers models
backend/main.py - Web Service → Transcript and Media Files: saves results
backend/main.py - CLI → Transcript and Media Files: writes outputs
transcribe.py