This is just my notes that I’m taking for my own use while I was trying to figure out OpenAi Whisper to:
Automatically transcribe videos that have no subtitles
Works well, even if the speakers have accents or speak fast or hard to hear
Translate videos from other languages to English
See this post for a less-cluttered list of useful tools
OpenAi Whisper via Google Drive > Colaboratory
April 5th, 2023 – I just found this tool from a YouTube video and I just followed his instructions and immediately transcribed a podcast while I was watching (confirming his instructions are accurate).
Easily transcribe videos (particularly from sites that have no subtitle files: Telegram/Rumble/Brighteon/BitChute and other censored platforms). It can also help us automatically translate and transcribe all those awesome non-English truth videos, which opens up the world.
This guy explains exactly step-by-step how to use Google Drive (Colaboratory) to install and use Whisper AI right from your browser without anything to download.
Keep in mind:
) Download the text straight away (it times out and deletes your files after a certain timeframe).
So don’t load up and leave the house, just download the text/subtitles straight away.
If you time-out, you have to reload the !Whisper code (30seconds) and re-upload your file.
) Google can decide at any moment that it isn’t going to allow you to use GPU (without payment); thereby, alternatives to Google Colab will be listed as I come across them below.
Links/notes for my own use to find again.
https://drive.google.com/drive/my-drive New > More > Google Colaboratory
Run Whisper AI: in Medium or Large. (testing the file, medium took about 30 seconds for my 1 hr podcast, and large took 13minutes and 9 seconds, scroll down to view the accuracy differences to see whether it’s worth the extra time).
!whisper "FileName.mp3" --model medium
Download text or subtitles (files will appear to the left when it’s finished transcribing)
Additional Whisper AI arguments to learn about: (useful for people who want to transcribe the video into different languages!!)
!whisper -help
My everyday “go-to” code command that I will use to create English text files:
Testing Accuracy using different settings & models
Two speakers with accents, 60 minute mp3
Results of test with two speakers (with accents) from this 1-hr podcast episode (Marvin vs Virology: COVID Taken To Court). Female NZ speaker (Dr. Sam Bailey) and male German speaker (Marvin Haberland).
Medium Setting (took 7 minutes to transcribe) example:
His case should require the virologists to provide evidence that they followed the scientific method when they claimed that SARS-CoV-2 exists. … so you studied engineering in Germany and you got a Fulbright scholarship. Is that right to bootclears? Yeah, exactly. So I did my undergraduate studies in Hamburg, Germany, …
Large Setting (took 13 minutes to transcribe) example:
His case should require the virologists to provide evidence that they followed the scientific method when they claimed that SARS-CoV-2 exists. … so you studied engineering in Germany and you got a Fulbright scholarship. Is that right? To Berkeley? Yeah, exactly. So I did my undergraduate studies in Hamburg, Germany, …
Considering both speakers have an accent, it picked up their conversation extremely well, with only tiny mistakes, so I think the medium setting will be fine for most English-speaking audio (even if the speakers have accents), and just a “read through” to pickup on small mistakes will be the best time-saving setting to stick to.
I just did another test using the fastest setting, and specific parameters, and it completed the 60min file in 2mins 21 secs, and it seems that specifying “–length_penalty 0” did the whole 60min podcast (whereas it seemed to have only outputted only the first 29mins in the previous tests)
Quickly scrolling through, it seems the only errors made, even on the quickest setting, was Dority Institute instead of Doherty Institute. It spelt his name Harbourland instead of Haberland. It made the same error “boot clears” instead of Berkeley.
When using chatGPT to clean up YouTube’s god-awful auto-generated subtitles, my “go-to” commands are generally one of the following:
Please correct punctuation and spelling of the following subtitles: “your crappy subtitle text here “
Please summarize the following text: ” “
Please provide key highlights of the following subtitles, in bulletpoint form: ” “
Please correct grammar for following subtitles: ” “
Alternative: (for Very Large files) VB-CABLE Virtual Audio & Dictation Pro
An alternative to Whisper AI for larger videos (for example if you don’t want to upload a 3-hour video file, the same guy (Kevin Stratvert) has another video on how to use Window’s own built-in Dictator Pro software with Virtual Audio Cable (both free), which you have to run on your own computer but might be a life-saver for someone. However it looks to me that it transcribes in real time i.e. a 3 hour video will take 3 hours playtime. All the other apps transcribe the video in minutes. but their downside is that you have to sometimes make the file smaller, and it might just be easier to use this method in some circumstances.
Alternative: Computer Apps using Whisper AI to get subtitles
For me: https://github.com/mifi/lossless-cut/releases/download/v3.54.0/LosslessCut-win-x64.7z
Open LosslessCut exe
Drag video into app
Change timestamp
Export the cut
(WOW, that was so fast… normally this takes a long time with video editing software, it split the video in seconds!)
WhisperAI Wishlist
chatGPT wrote a whisper script for me but it isn’t supported. but I’m keeping it on here as a must-have wish-list:
--punctuate
--filter_outputs "uh, um, like, and and, I I, you know, like, basically, actually, sort of, kind of, hmm, mm, mhm, mmm, oh"
Download Videos in seconds
Instructions timestamp 07:48 on this video (YouTube) or Basic instructions 01:35 (YouTube) and GUI instructions (YouTube) and you’ll need FFMPEG as well (listed further up the post in the !whisper instructions)