WhisperSubs
Generate subtitles for your video or audio files using the power of AI.
Installation
Prerequisites:
- git for cloning this repo
- Python 3.8 or higher, with pip
For faster results, it is recommended to use a GPU with CUDA support. Running transcription on the CPU is significantly slower (up to 10~20x slower, depending on the hardware).
The optional dependencies required for GPU acceleration can be installed with the [cuda] extra when installing the package.
Install latest release
Use the following to install the latest release in an isolated environment using pipx, with CUDA libraries for GPU acceleration:
pipx install whispersubs[cuda]
N.B. omit the [cuda] extra if you don't have a GPU or don't want to use it.
Replace pipx with pip from the command above if you want to manually manage your own environment (or install user- or system-wide).
Install repository version
You can install the latest version from this repository with the following command:
pipx install 'whispersubs[cuda] @ git+https://github.com/andreabak/whispersubs.git'
Usually this is going to be the same as the latest release, but it might contain some additional features or bugfixes that are not yet released.
Usage
WhisperSubs can be used from the command line. The basic usage requires an input file, which will be the source for the transcription. The output will be a subtitle file in the SRT format in the same directory as the input file. The language will be automatically detected.
whispersubs <input_file>
For a full list of options, run:
whispersubs --help
Metadata
Release files for whispersubs 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| whispersubs-0.1.3.tar.gz | 12.9 kB | Without provenance | Details for whispersubs-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whispersubs-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for whispersubs-0.1.3-py3-none-any.whl |
Total release size: 24.0 kB
Release files / whispersubs-0.1.3.tar.gz
| Download URL | whispersubs-0.1.3.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88dca135766aed5b610201db629211c9be28011b951fc9060968e282a208cfc9
|
|
BLAKE2b-256 checksum How to use checksums |
19926f2312f7df9daecd15a6b6c7dcc2ef0dbc54d1bc1ebbc47efb582f60e578
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Release files / whispersubs-0.1.3-py3-none-any.whl
| Download URL | whispersubs-0.1.3-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3297a6243d4a08a99a8745d49849afd02a36259330269ed6cfb7f6a171bec88
|
|
BLAKE2b-256 checksum How to use checksums |
f1a0cb61306bb1baab20f004ea0558141c4a39e4d67dc2de670790a0f564c949
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Security for whispersubs 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.