Adding Whisper audio transcription capabilities to MPV
Simply run the following to get started:
pip install mpv-whisper
To use the GPU, ensure that the appropriate version of PyTorch is installed.
mpv-whisper searches for configuration in two places, and defaults back to the package-provided default if not found:
./mpv-whisper.toml
~/.config/mpv-whisper/config.toml
- package provided
config.toml
Refer to the default config.toml
for accepted configuration values.
- Using
dump_cache
or something similar to extract audio instead of running FFmpeg separately
- GhostNaN/whisper-subs for providing pointers on how to add whisper to MPV