Transcribe audio/video files into subtitles
Project description
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.
Install the latest version from the repository:
pip install 'git+https://github.com/andreabak/whispersubs.git'
Or with CUDA libraries for GPU acceleration:
pip install 'whispersubs[cuda] @ git+https://github.com/andreabak/whispersubs.git'
Or using pipx to install globally in an isolated environment:
pipx install 'git+https://github.com/andreabak/whispersubs.git'
Or with pipx and CUDA libraries for GPU acceleration:
pipx install 'whispersubs[cuda] @ git+https://github.com/andreabak/whispersubs.git'
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for whispersubs-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97ec716409e7271d359a41e3607f1565712f468da9da59d75126a04b1d4ff5d9 |
|
MD5 | 19cd7778a8949bacedcc930ca4b260e5 |
|
BLAKE2b-256 | 4dd8d5fa8e754f5707d650fcd32b18570e0110530fe1a523dcc570b7a273c554 |