MP3 text Using Google Collab and Whisper

Introduction to get mp3 text

In this blog post, I’ll guide you through the process of getting a free mp3 text transcription from your MP3 file using Google Collab and Whisper. This method is simple, efficient, and cost-effective. Let’s dive in!

Link to Google Colab:

https://colab.research.google.com/drive/1WLYoBvA3YNKQ0X2lC9udUOmjK7rZgAwr?usp=sharing

Step 1: Connect to the GPU

First, I need to connect to the GPU. If I haven’t connected before, I’ll simply click “Reconnect.”

Step 2: Install Whisper

Next, I’ll install Whisper by running the command pip install whisper. The installation process takes about a minute.

Step 3: Install FFMPEG

After installing Whisper, I’ll proceed to install FFMPEG. This step is necessary and takes just a few seconds.

Step 4: Upload My File

Now it’s time to upload my MP3 file. The file will be uploaded to Google Cloud Platform, and it won’t be saved here permanently since this is a public Jupyter notebook. To upload the file, I’ll click the upload button and select my MP3 file.

Step 5: Transcribe My File to get mp3 text

While the file is being uploaded, I’ll move on to transcription. I need to correctly insert the name of the file, ensuring it matches exactly (including the .MP3 extension). For English language transcriptions, I can select a smaller model like the base model. If the language is different, I might need to choose a larger model, such as the large model or at least the medium model. You can also specify the language for a faster transcription. For example, for English language you type:

!whisper "YourFile.mp3" --model base --language en

Video Tutorial on getting mp3 text

For a more detailed guide, you can watch my video tutorial on how to get a free transcription from an MP3 file using Google Collab and Whisper. The video will walk you through each step in detail.

Conclusion

And there you have it! Now you know how to get a free transcription from your MP3 file using Google Collab and Whisper. I hope you find this tutorial helpful. Feel free to check out my other blog posts and subscribe for more useful tutorials.

Make sure to check out my other tech tutorials:

https://techtastetinker.com/category/bike-tutorials

Check out my Youtube channel:

https://www.youtube.com/@TechTasteTinker