Earlier quoted context omitted.
Thanks, I haven’t seen an easy and reliable way to do this using open source stuff yet. Theoretically just separating out speakers seems like it wouldn’t be that hard; just compute a bunch of FFTs to arrive at a sort of frequency-based “voice fingerprint” for each speaker and then use something like XGboost to match up the audio for each second to one of the speakers. The problem is then what do you with that informa…
The whisperX project has most of it covered they are integrating the new v3 model waiting for a ccp GGUF version also there is a workaround for the latest speaker diarization but it has an active user base working on it https://github.com/m-bain/whisperX
Show HN: Bulk Creation of Transcripts from YouTube Playlists with Whisper
21–30 of 45 posts
Re: Show HN: Bulk Creation of Transcripts from YouTube Playlists with Whisper
#22Earlier quoted context omitted.
The whisperX project has most of it covered they are integrating the new v3 model waiting for a ccp GGUF version also there is a workaround for the latest speaker diarization but it has an active user base working on it https://github.com/m-bain/whisperX
I was dismayed to learn that this requires OpenAI API keys for speaker diarization.
Re: Show HN: Bulk Creation of Transcripts from YouTube Playlists with Whisper
#23Hoping this can help me cut down the time I need to use on watching YT videos for uni. Outputting 20-30 mins into a .txt and feeding it to ChatGPT for summarizing. Thanks!
Re: Show HN: Bulk Creation of Transcripts from YouTube Playlists with Whisper
#24I just don't know but am willing to try. I'd rather ask here than be subjected to a search and its SEO hell (read: SERPs of questionable results).
Or perhaps there's a way to use Digial Ocean or similar so I'm not tying up my local machine?
Re: Show HN: Bulk Creation of Transcripts from YouTube Playlists with Whisper
#25I could've sworn I had seen a Google/YouTube announcement somewhere that there was going to be readable/searchable transcripts coming. Is it what's already been rolled out? The current YouTube transcripts seem almost useless to me; limited to a small part of the screen real estate, and seem only searchable using the full page search built into web browsers.
In the description of videos I see a "Show Transcript" button. I believe this is automatically generated. It's not grouped into sentences though, so there is room for improvement.
Re: Show HN: Bulk Creation of Transcripts from YouTube Playlists with Whisper
#26I don't have any experience with Python. Can someone point me to definitive (and idiot-proof) tutorials for Win 10 Pro and Mac OS? Maybe using Docker? I just don't know but am willing to try. I'd rather ask here than be subjected to a search and its SEO hell (read: SERPs of questionable results). Or perhaps there's a way to use Digial Ocean or similar so I'm not tying up my local machine?
https://www.anaconda.com/download
For windows or Mac. If you do it on Windows it’s probably easier if you let it add it to your Windows system path. Then you should be able to open PowerShell and type “python” and not get an error. Once you can do that, just run these commands on Windows:
git clone https://github.com/Dicklesworthstone/bulk_transcribe_youtube_videos_from_playlist
cd bulk_transcribe_youtube_videos_from_playlist
python -m venv venv
cd venv
.\Scripts\activate
python -m pip install --upgrade pip
python -m pip install wheel
cd ..
pip install -r requirements.txt
Then edit the file " bulk_transcribe_youtube_videos_from_playlist.py" to modify the URL (if you want a playlist, edit that URL and change the `convert_single_video = 1` part to be 0 instead) and finally run it with: python bulk_transcribe_youtube_videos_from_playlist.pyRe: Show HN: Bulk Creation of Transcripts from YouTube Playlists with Whisper
#27Earlier quoted context omitted.
Thanks, I haven’t seen an easy and reliable way to do this using open source stuff yet. Theoretically just separating out speakers seems like it wouldn’t be that hard; just compute a bunch of FFTs to arrive at a sort of frequency-based “voice fingerprint” for each speaker and then use something like XGboost to match up the audio for each second to one of the speakers. The problem is then what do you with that informa…
The whisperX project has most of it covered they are integrating the new v3 model waiting for a ccp GGUF version also there is a workaround for the latest speaker diarization but it has an active user base working on it https://github.com/m-bain/whisperX
I wanted to keep my script lighter weight and also GPU optional (i.e., a GPU will work and make it faster, but it also works acceptably with just the CPU). I really feel in my gut that the speaker diarization doesn't need to be so complicated or hard once you already have the accurate timestamps of each transcribed segment and the underlying audio file-- no reason why it shouldn't be able to run fine on a CPU and get good enough accuracy.
Re: Show HN: Bulk Creation of Transcripts from YouTube Playlists with Whisper
#28Hoping this can help me cut down the time I need to use on watching YT videos for uni. Outputting 20-30 mins into a .txt and feeding it to ChatGPT for summarizing. Thanks!
Re: Show HN: Bulk Creation of Transcripts from YouTube Playlists with Whisper
#29I could've sworn I had seen a Google/YouTube announcement somewhere that there was going to be readable/searchable transcripts coming. Is it what's already been rolled out? The current YouTube transcripts seem almost useless to me; limited to a small part of the screen real estate, and seem only searchable using the full page search built into web browsers.
In the description of videos I see a "Show Transcript" button. I believe this is automatically generated. It's not grouped into sentences though, so there is room for improvement.
Re: Show HN: Bulk Creation of Transcripts from YouTube Playlists with Whisper
#30Earlier quoted context omitted.
In the description of videos I see a "Show Transcript" button. I believe this is automatically generated. It's not grouped into sentences though, so there is room for improvement.
Right, but it opens up a small page element that isn't very aesthetically pleasing to read from, and feels fairly useless.
https://github.com/Dicklesworthstone/youtube_transcript_clea...
Now that I think about it, this would work equally well for the transcripts generated by my new tool. I should just include that html file in my new repo as an added feature.