Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tposcic/audio-to-srt-transcriber
Audio to srt transcriber in Python using whisper for transcription and Tcl/Tk for GUI
https://github.com/tposcic/audio-to-srt-transcriber
audio python3 srt transcription whisper
Last synced: 4 days ago
JSON representation
Audio to srt transcriber in Python using whisper for transcription and Tcl/Tk for GUI
- Host: GitHub
- URL: https://github.com/tposcic/audio-to-srt-transcriber
- Owner: tposcic
- License: mit
- Created: 2024-12-31T00:18:56.000Z (9 days ago)
- Default Branch: master
- Last Pushed: 2024-12-31T00:37:23.000Z (9 days ago)
- Last Synced: 2024-12-31T01:22:32.762Z (9 days ago)
- Topics: audio, python3, srt, transcription, whisper
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Audio to SRT Transcriber
This Python application transcribes audio files (WAV or MP3) into subtitle files (.SRT) using OpenAI's Whisper model. The generated SRT files can be easily accessed and opened through a simple graphical user interface (GUI).
## Requirements:
- Python 3.x
- `whisper` (for transcription)## Installation:
1. Download or clone this repository.
2. Install dependencies:
```bash
pip install -r requirements.txt
```
## Usage:
1. Run the script:
```bash
python main.py
```2. Select the audio files (WAV or MP3) using the **Browse** button.
3. Click **Transcribe** to generate SRT files. The results will appear in the list below.
4. Double-click any SRT file in the list to open it with the default text editor.
## Output:
- The transcribed subtitle files are saved in an "output" directory.## Package to an executable:
```bash
pip install pyinstaller
```Make sure pyinstaller is in your PATH
```bash
pyinstaller --onefile --noconsole --add-data ";whisper/" .\main.py
```Package without debug code:
```bash
PYTHONOPTIMIZE=2 pyinstaller --onefile --noconsole --add-data ";whisper/" .\main.py
```Check pyinstaller docs for more details