Skip to main content

Auto-subtitles video tool using AssemblyAI API and ffmpeg

Requirements

You need an AssemblyAI API key. You can get one here. API key can be set using the --api_key option or by setting the AAI_API_KEY environment variable.

Install

Pip

pip3 install auto-subtitles-generator

From source

git clone 
cd auto-subtitles-generator
poetry install

Usage

Usage: auto_subtitles [OPTIONS]

Options:
  -i, --input PATH   Path to video file  [required]
  -o, --output PATH  Output video file  [required]
  --api_key TEXT     AssemblyAI API key
  --help             Show this message and exit.

Build

poetry build

Coverage

coverage run -m unittest && coverage report -m

Metadata

Release files for auto-subtitles-generator 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auto-subtitles-generator 0.2.0
File Size Uploaded
auto_subtitles_generator-0.2.0.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for auto-subtitles-generator 0.2.0
File Interpreter ABI Platform
auto_subtitles_generator-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / auto_subtitles_generator-0.2.0.tar.gz

Download URL auto_subtitles_generator-0.2.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e8c20658ecafa55fa33edc6855a0f5145c3f64e6e6c34fa0b762317faa759ede
BLAKE2b-256 checksum
How to use checksums
78a3f19a1b295363864bff05ee54f1e2f16d8bc1fe8076bcdbb87114d21c29ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Darwin/22.3.0

Release files / auto_subtitles_generator-0.2.0-py3-none-any.whl

Download URL auto_subtitles_generator-0.2.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5b2ddee09935e4709dc8fa6c33ec551e403fdb7b3c1c2647b6a95fe14721ea7
BLAKE2b-256 checksum
How to use checksums
f58b912b96ca018cebe2b29d87a91843f62ac3e7cfb89734f2fe38f10c4d4be4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Darwin/22.3.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page