Views
No views yet
.txt files — extremely fast.| Feature | Detail |
|---|---|
| Native captions | YouTube captions grabbed instantly — no audio download |
| Whisper fallback | faster-whisper (up to 4× faster than OpenAI Whisper) |
| Spotify | Tracks / albums / playlists via spotdl → Whisper |
| Direct audio | .mp3 .mp4 .wav .m4a .webm .ogg and more |
| Playlist support | Auto-expand playlists, channels, albums |
| Batch + parallel | Multiple URLs, concurrent workers |
| Smart cache | Re-run same URL instantly |
| Auto-install | Deps install themselves on first run |
1# Single YouTube video
2python transcriber.py https://youtu.be/VIDEO_ID
3
4# Multiple URLs
5python transcriber.py URL1 URL2 URL3
6
7# From a file (one URL per line)
8python transcriber.py --file urls.txt
9
10# Full YouTube playlist
11python transcriber.py --playlist https://youtube.com/playlist?list=PLAYLIST_ID
12
13# Spotify track
14python transcriber.py https://open.spotify.com/track/TRACK_ID
15
16# Force Whisper (ignore captions)
17python transcriber.py URL --whisper
18
19# Larger model for better accuracy
20python transcriber.py URL --model large-v3
21
22# Merge all into one file
23python transcriber.py URL1 URL2 --merge
24
25# Custom output folder
26python transcriber.py URL --output ./my_transcriptsurls One or more media URLs
--file, -f Text file with one URL per line
--output, -o Output directory (default: ./transcripts)
--merge, -m Merge all transcripts into one file
--whisper, -w Force Whisper (skip caption check)
--model tiny | base | small | medium | large-v2 | large-v3
--workers Parallel workers (default: 4)
--no-cache Disable transcript cache
--playlist Expand playlist/channel into individual videos
--clear-cache Wipe the cacheyt-dlp — universal media downloaderyoutube-transcript-api — instant YouTube captionsfaster-whisper — optimized Whisper (CTranslate2)spotdl — Spotify downloaderrich — terminal UIffmpeg installed on your system:1# macOS
2brew install ffmpeg
3
4# Ubuntu/Debian
5sudo apt install ffmpeg
6
7# Windows
8winget install ffmpeg| Source | Method | Speed |
|---|---|---|
| YouTube with captions | Native API | < 2 sec |
| YouTube no captions | Whisper base | ~realtime |
| Spotify music | spotdl + Whisper | depends on length |
| Direct audio | Whisper | ~realtime |
tiny → base → small → medium → large-v3======================================================================
TITLE : My Video Title
UPLOADER : Channel Name
DURATION : 0:15:42
SOURCE : youtube
METHOD : native_captions
URL : https://youtu.be/...
======================================================================
[0:00:00] Hello and welcome to this video...
[0:00:05] Today we're going to talk about...# urls.txt — lines starting with # are comments
https://youtu.be/VIDEO1
https://youtu.be/VIDEO2
https://open.spotify.com/track/TRACK_ID
https://example.com/podcast.mp3