Bu

Bulk Creation of Transcripts from YouTube Playlists with Whisper

Hacker News

Bulk Creation of Transcripts from YouTube Playlists with Whisper

I know there are various tools that are supposed to make this easy, but I couldn't find anything that did everything I wanted, so I made this today for fun. The web-based offerings all take forever and seem flaky, and you need to process one video at a time, with no control over the transcription settings. In contrast, my script lets you convert a whole playlist in bulk with full control over everything. It's truly easy to use-- you can clone the repo, install to a venv, and be generating a folder full of high quality transcript text files in under 5 minutes. All you need to do is supply the URL to a YouTube playlist or to an individual video file and this tool does the rest automatically. It uses faster-whisper with a high beam_size, so it's a bit slower than you might expect, but this does result in higher accuracy. The best way to use this is to take an existing playlist, or create a new one on YouTube, start this script up, and come back the next morning with all your finished transcripts. It attempts to "upgrade" the output of whisper by taking all the transcript segments, gluing them together, and then splitting them back into sentences (it uses Spacy for this, or a simpler regex-based function). You end up with a single text file with the full transcript all ready to go for each video in the playlist, with a sensible file name based on the title of the video. If you have CUDA installed, it will try to use it, but as with all things CUDA, it's annoyingly fragile and picky, so don't be surprised if you get a CUDA error even if you know for a fact CUDA is installed on your system. If you're looking for reliability, disable CUDA. But if you need to transcribe a LOT of transcripts, it does go much, much faster on a GPU. Even if you don't have a GPU, if you have a powerful machine with a lot of RAM and cores, this script will fully saturate them and can download and process multiple videos at the same time. The default settings are pretty good for that situation. But if you have a slower machine, you might want to use a smaller Whisper model (like `base.en` or even `tiny.en`) and dial down the beam_size to 2.

Share card

Actual performance

125points
43comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
80%80% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, model, new · Missing: agents, macos, agent
70%70% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, existing, ide · Missing: https docs, excited, just released
67%67% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoStrong fit for a featured deal · Missing: plus, platform, intuitive
51%51% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: video, way · Missing: mobile apps, ios, personal
42%42% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Al
Aligning Whisper Transcripts with Descript54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Aligning Whisper Transcripts with Descript

Hacker News1
Cr
Crowdsourced-Transcripts-for-YouTube50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Crowdsourced-Transcripts-for-YouTube

Hacker News3
An
Andrew Huberman transcripts app (OpenAI Whisper)58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Andrew Huberman transcripts app (OpenAI Whisper)

Hacker News1
Productify
Productify53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bulk product creation for Printify

Indie Hackerscommitment-side-project
Yo
YouTube Playlists Done Right53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

YouTube Playlists Done Right

Hacker News12
So
Socially-Transcribed Transcripts61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Socially-Transcribed Transcripts

Hacker News4
Yo
YouTube Dynamic Playlists48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

YouTube Dynamic Playlists

Hacker News1
Chronolists
Chronolists33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Chronological Plex playlists

Indie Hackers1content
Yo
YouTube Curated Playlists52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

YouTube Curated Playlists

Hacker News1
Su
Summarizing Earnings Transcripts with AI46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Summarizing Earnings Transcripts with AI

Hacker News4