An open API service indexing awesome lists of open source software.

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.

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