MPV-Whisper
Adding Whisper audio transcription capabilities to MPV
Installing
Simply run the following to get started:
pip install mpv-whisper
To use the GPU, ensure that the appropriate version of PyTorch is installed.
Configuration
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.
Roadmap
- Using
dump_cacheor something similar to extract audio instead of running FFmpeg separately
Credits
- GhostNaN/whisper-subs for providing pointers on how to add whisper to MPV
Release files for mpv-whisper 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mpv_whisper-0.3.0.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpv_whisper-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.9 kB
Release files / mpv_whisper-0.3.0.tar.gz
| Download URL | mpv_whisper-0.3.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9d6796c40fbc9d80253df4889ad640ca90086841b84d01d8f68aec17086894e
|
|
BLAKE2b-256 checksum How to use checksums |
8bde143785c2c2f280b5ac5a4941e6a0ff19d2ed91b0c3802e168574790ce632
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / mpv_whisper-0.3.0-py3-none-any.whl
| Download URL | mpv_whisper-0.3.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f4f019e582e281c1c2ae2398dfbb9f80885aa5250682bb2b3b1a58bdb6b1cc7
|
|
BLAKE2b-256 checksum How to use checksums |
0e2c8c5269512e119e89a98ef35541a40c6bbc2d3092f9b759783b84f92abc10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|