Skip to main content

Subtitle generator using whisper LLM

Project description

https://img.shields.io/pypi/v/sibilate.svg https://img.shields.io/travis/datagazing/sibilate.svg Documentation Status

Subtitle generator using whisper LLM

usage: sibilate [-h] [-v] [-d] [-q] [-L] [--logfile F] [-m M] [-l L]
                [--ffmpeg FFMPEG] [-R DIR] [-s] [-b] [-S] [--srtfile F] [-T]
                [--txtfile F] [-W]
                inputfile

Subtitle generator using whisper LLM

positional arguments:
  inputfile           Input file with audio

options:
  -h, --help          show this help message and exit
  -v, --verbose       set loglevel to INFO
  -d, --debug         set loglevel to DEBUG
  -q, --quiet         set loglevel to CRITICAL
  -L, --Log           log to file also
  --logfile F         log file name (sibilate_log.txt)
  -m M, --model M     tiny, base, small, medium, large (default: base)
  -l L, --language L  language (default: en)
  --ffmpeg FFMPEG     path to ffmpeg A/V encoder
  -R DIR, --root DIR  download root (default: ~/.whisper_models)
  -s, --subtitles     add subtitles to input file
  -b, --burn          burn subtitles into input file
  -S, --srt           save transcription to srt file
  --srtfile F         srt file (default: sibilate.srt)
  -T, --txt           save transcription to txt file
  --txtfile F         txt file (default: sibilate.txt)
  -W, --whisper       install whisper package using git and pip

+--------+--------------+----------------+--------+
| Name   | Parameters   | English-only   | VRAM   |
+========+==============+================+========+
| tiny   | 39M          | tiny.en        | ~1GB   |
+--------+--------------+----------------+--------+
| base   | 74M          | base.en        | ~1GB   |
+--------+--------------+----------------+--------+
| small  | 244M         | small.en       | ~2GB   |
+--------+--------------+----------------+--------+
| medium | 769M         | medium.en      | ~5GB   |
+--------+--------------+----------------+--------+
| large  | 1550M        | N/A            | ~10GB  |
+--------+--------------+----------------+--------+

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sibilate-0.8.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

sibilate-0.8.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file sibilate-0.8.0.tar.gz.

File metadata

  • Download URL: sibilate-0.8.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for sibilate-0.8.0.tar.gz
Algorithm Hash digest
SHA256 742c9d9e65b61a620197274d5654715dbd8e4b629a4b5585ab9fcfd019ee61cf
MD5 10875350d0d28e7e6ded4eda4ab192cc
BLAKE2b-256 0200bd64a99fa25f93e53292a3ec08cd1183169a42d8b51eb6c469343df0297b

See more details on using hashes here.

File details

Details for the file sibilate-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: sibilate-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for sibilate-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 423df26b75cada636e39a48d3f4f467c948529fb18cdd3541103c79c6638cd72
MD5 d24ca3c41b806103bacc759fe608d514
BLAKE2b-256 d9c6d5e5eac5a77b4a9a0cb27a966c01f696e8a514c16dd4152e2aeda0871903

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page