https://github.com/alchemist-aloha/whisper.cpp_batch_subtitle
Powershell script to batch transcribe videos to subtitles with ffmpeg and whisper.cpp.
https://github.com/alchemist-aloha/whisper.cpp_batch_subtitle
ffmpeg subtitles transcribe whisper-cpp
Last synced: 9 months ago
JSON representation
Powershell script to batch transcribe videos to subtitles with ffmpeg and whisper.cpp.
- Host: GitHub
- URL: https://github.com/alchemist-aloha/whisper.cpp_batch_subtitle
- Owner: Alchemist-Aloha
- License: gpl-3.0
- Created: 2025-02-11T18:03:56.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-09T07:56:40.000Z (10 months ago)
- Last Synced: 2025-04-07T22:47:30.790Z (9 months ago)
- Topics: ffmpeg, subtitles, transcribe, whisper-cpp
- Language: PowerShell
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Setup Guide
2025-03-09 This script has been rewritten in python in [explicit_util](https://github.com/Alchemist-Aloha/explicit_util). The python code utilizes asyncio which should perform better than this script.
Powershell script to batch transcribe videos with `ffmpeg` and `whisper.cpp`.
## 1. Install `ffmpeg` and add ffmpeg directory to environment variables
## 2. Build `whisper.cpp` based on your hardware setting. Download the model needed
Modify `$whisperPath` and `$modelPath` as needed in `whisper.cpp_transcribe.ps1`.
## 3. Modify cli arguments as needed
## 4. Run `whisper.cpp_transcribe.ps1` and type in the directory of your video folder