AI Audio Transcriber (Whisper) 🎙️ This project uses OpenAI's Whisper model to provide high-accuracy transcriptions with timestamps. It is optimized for both speech and song lyrics.
File Name: meeting_audio.mp3
Format: .mp3
Location: Must be placed in the same folder as the transcribe.py script.
🛠️ Setup & Installation Install FFmpeg: This tool is required for audio processing. Make sure it is added to your system's PATH.
Install Dependencies: Run the following command in your terminal:
Bash
pip install openai-whisper pydub torch audioop-lts (Note: audioop-lts is required for Python 3.14+)
🚀 How to Run Place your audio file in the project directory and rename it to meeting_audio.mp3.
Open your terminal in the project folder.
Run the script:
Bash
python transcribe.py 📊 Output Once finished, the script will display:
Detected Language: The language identified by the AI.
Full Text: The complete transcription.
Timestamped Segments: A breakdown of the text with [start -> end] times.
How to upload this to GitHub Create a new file in VS Code called README.md.
Paste the text above into it and save.
Use the terminal to push it to your repository:
PowerShell
git add README.md git commit -m "Add README with MP3 instructions" git push origin main (Remember to use your Personal Access Token as the password)