Skip to main content

A powerful, local-first library and CLI for video transcription and subtitle generation using Whisper.

Project description

Auto-Subs

A powerful, local-first library and CLI for video transcription and subtitle generation using Whisper.

This project is currently in early development.

Installation

pip install auto-subs

Usage (CLI)

Get the application version:

auto-subs --version

Generate subtitles from a Whisper JSON output:

auto-subs generate path/to/transcription.json

Options

  • --output, -o: Specify the output file path. (Defaults to the same name as the input file)
  • --format, -f: Choose the output format (srt, ass, txt). (Defaults to srt)
  • --max-chars: Set the maximum characters per subtitle line. (Defaults to 35)

Example with options:

auto-subs generate input.json -o subtitles.ass -f ass --max-chars 40

Outputs

The CLI can generate subtitles in the following formats:

  • SRT (.srt): The most common subtitle format, compatible with most video players.
  • ASS (.ass): Advanced SubStation Alpha, allowing for rich styling (word-level highlighting coming soon).
  • Text (.txt): A plain text transcript.

This project is maintained by Mateusz Kowalski.

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

auto_subs-0.1.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

auto_subs-0.1.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file auto_subs-0.1.0.tar.gz.

File metadata

  • Download URL: auto_subs-0.1.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for auto_subs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7e1b449045bfc080528203df1696fffac23851829d07370ab06cad90c6936b74
MD5 d707a94248b39ea606e2b43c1cea22c5
BLAKE2b-256 345085f435e13b865b290a8c083fcb875fedfaa23663f7a417142ceacad427e0

See more details on using hashes here.

File details

Details for the file auto_subs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: auto_subs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for auto_subs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d163762193ff66adba4321cccc424ac669bb61f9c810e492081bdd3be2bf971
MD5 58bd26c2d464f4a340252f263e7eb647
BLAKE2b-256 557fb3dca74b229814f938f60230d0890b79847a10a10d71e07c79baa2eb3938

See more details on using hashes here.

Supported by

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