Skip to main content

Auto subtitles generator for videos

Project description

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

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_subtitles_generator-0.2.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

auto_subtitles_generator-0.2.0-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

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