Skip to content

Jocodes1/Audio-Transcribe-with-whisper-openai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎀 Transcribe Audio/Video for Free with Whisper (OpenAI Model)

This project uses OpenAI Whisper, an open-source speech recognition model, to transcribe audio or video files for free on Google Colab.
It can generate transcripts in plain text, as well as subtitle files in SRT and VTT formats.


πŸš€ Features

  • βœ… Upload an audio/video file from your computer.
  • βœ… Transcribe it using Whisper’s large model (high accuracy).
  • βœ… Save results as:
    • transcript.txt β†’ plain text transcription
    • transcript.srt β†’ subtitle file with timestamps (for movies/players)
    • transcript.vtt β†’ WebVTT subtitle file (for YouTube/HTML5)
  • βœ… Store Whisper cache on Google Drive (so it doesn’t re-download the model each run).
  • βœ… 100% free (runs locally in Google Colab using GPU).

πŸ› οΈ Requirements

  • A Google account (to use Google Colab).
  • Access to Google Drive (for caching the model).
  • Internet connection (first run downloads the Whisper model).

πŸ“Œ How to Use

  1. Open this notebook in directly in Google Colab.
  2. Click on Runtime ---> Change Runtime type --> Select T4 GPU ---> Save
  3. Follow the Instructions in the note book.

⚑ Notes

  • For faster transcriptions, try smaller models: "tiny", "base", "small", "medium".
  • For best accuracy, use "large" (but it’s slower and needs more GPU memory), this is advisable to use for better Accuracy
  • Works with most audio/video formats supported by FFmpeg (.mp3, .wav, .m4a, .mp4, .mkv, etc.).
  • I will advise you to extract the Audio from the video first before using whisper, it's a bit faster this way.

πŸ“œ License

This project uses OpenAI Whisper, released under the MIT License.

About

Free audio/video transcription with OpenAI Whisper on Google Colab. Outputs TXT, SRT, and VTT subtitle files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published