Turn YouTube videos and audio files into searchable, quotable transcripts.
You consume valuable content through videos and audio, but:
- Can't search what was said - Information is locked in audio format
- Can't reference specific moments - No way to quote or cite exact timestamps
- Takes hours to review - Re-watching entire videos to find that one insight
- Miss key points - No written record means details get forgotten
- Can't share highlights - No easy way to extract and share the best parts
Transcribe is a multi-stage pipeline that:
- Downloads audio - From YouTube or uses your local files
- Creates accurate transcripts - Using OpenAI's Whisper API
- Formats for readability - Smart paragraphs with clickable timestamps
- Extracts insights - AI-powered summaries and key quotes (optional)
- Preserves everything - Keeps audio files for offline listening
The result: Searchable, readable transcripts with insights you can reference forever.
Prerequisites: Complete the Amplifier setup instructions first.
# Transcribe a YouTube video
python -m scenarios.transcribe "https://youtube.com/watch?v=..."
# Transcribe a local audio file
python -m scenarios.transcribe podcast.mp3The tool will:
- Download/extract the audio
- Send it to Whisper API for transcription
- Format into readable paragraphs
- Generate AI insights (summary + quotes)
- Save everything in organized folders
Choose a YouTube video or prepare an audio file:
- YouTube: Copy the video URL
- Local file: Note the path to your .mp3, .mp4, .wav, etc.
python -m scenarios.transcribe "https://youtube.com/watch?v=dQw4w9WgXcQ"The tool will show:
Downloading audio from YouTube...
Extracting audio (this may take a moment)...
Transcribing with Whisper API...
Formatting transcript into readable paragraphs...
Generating AI insights...
✓ Transcript saved to: ~/amplifier/transcripts/dQw4w9WgXcQ/
Navigate to your transcripts folder:
~/amplifier/transcripts/dQw4w9WgXcQ/
├── audio.mp3 # The audio file (for offline listening)
├── transcript.md # Readable transcript with timestamps
└── insights.md # AI summary and key quotes
- Read the formatted transcript with clickable timestamps
- Search for specific topics or quotes
- Listen to the preserved audio file
- Share insights and quotes with proper citations
- Reference exact moments with timestamp links
python -m scenarios.transcribe "https://youtube.com/watch?v=..."What happens:
- Downloads audio from YouTube
- Creates accurate transcript
- Formats into readable paragraphs
- Generates summary and quotes
- Saves everything for future reference
python -m scenarios.transcribe video1.mp4 "https://youtube.com/..." podcast.mp3What happens:
- Processes each source sequentially
- Saves state between each item
- Creates separate folders for each
- Updates the transcript index
- Can resume if interrupted
# If interrupted, just add --resume
python -m scenarios.transcribe --resume video1.mp4 video2.mp4What happens:
- Finds where you left off
- Skips already completed items
- Continues from interruption point
- Preserves all previous work
YouTube URL or Audio File
↓
[Download/Extract Audio]
↓
[Whisper Transcription]
↓
[Format Paragraphs] ────→ transcript.md
↓
[Generate Summary] ─────→ insights.md
↓
[Update Index] ─────────→ index.md
- Video Loader: Downloads from YouTube using yt-dlp
- Audio Extractor: Compresses audio for API limits (25MB max)
- Whisper Transcriber: Calls OpenAI's speech-to-text API
- Transcript Formatter: Creates readable paragraphs with timestamps
- Insights Generator: AI summaries and quote extraction
- State Manager: Enables interrupt/resume capability
Code handles the structure:
- Audio download and extraction
- API calls and retry logic
- File organization and caching
- State management for resume
- Error handling and recovery
AI handles the intelligence:
- Accurate speech transcription
- Summary generation
- Key quote identification
- Content understanding
This separation means reliable processing (code) with intelligent output (AI).
User Content (~/amplifier/transcripts/):
index.md- Auto-generated index of all transcripts[video-id]/audio.mp3- Preserved audio file[video-id]/transcript.md- Readable transcript[video-id]/insights.md- Summary and quotes
Technical Artifacts (.data/transcripts/):
[video-id]/transcript.json- Structured data[video-id]/transcript.vtt- WebVTT subtitles[video-id]/transcript.srt- SRT subtitles
Audio files are automatically cached to save bandwidth:
- First run downloads and saves audio
- Subsequent runs use cached version
- Force re-download with
--force-download
OpenAI Whisper API pricing (as of 2024):
- $0.006 per minute of audio
- Example: 60-minute video = $0.36
- Cost shown before processing
Problem: Missing YouTube download dependency.
Solution:
make install # or: uv add yt-dlpProblem: Audio processing tool not installed.
Solution:
- macOS:
brew install ffmpeg - Ubuntu:
sudo apt-get install ffmpeg - Windows: Download from ffmpeg.org
Problem: File exceeds 25MB API limit.
Solution: The tool auto-compresses. If it still fails, manually compress:
ffmpeg -i input.wav -b:a 64k -ar 16000 output.mp3Problem: OpenAI/Anthropic API keys not configured.
Solution: Set in .env file:
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
- HOW_TO_CREATE_YOUR_OWN.md - Create your own tool like this
- Amplifier - The framework that powers these tools
- Scenario Tools - More tools like this one
This tool demonstrates what's possible when you describe a process to Amplifier:
- Use it - Transcribe videos and build your knowledge library
- Learn from it - See HOW_TO_CREATE_YOUR_OWN.md for how it was made
- Build your own - Describe your goal to Amplifier
- Share back - Let others learn from what you create!
Built through conversation using Amplifier - The entire tool came from describing the goal in natural language. See HOW_TO_CREATE_YOUR_OWN.md for the actual conversation.