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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file auto_subtitles_generator-0.2.0.tar.gz.

File metadata

  • Download URL: auto_subtitles_generator-0.2.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.2 Darwin/22.3.0

File hashes

Hashes for auto_subtitles_generator-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e8c20658ecafa55fa33edc6855a0f5145c3f64e6e6c34fa0b762317faa759ede
MD5 5ba02d98a903dcaea8cac59f37532d86
BLAKE2b-256 78a3f19a1b295363864bff05ee54f1e2f16d8bc1fe8076bcdbb87114d21c29ac

See more details on using hashes here.

File details

Details for the file auto_subtitles_generator-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for auto_subtitles_generator-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5b2ddee09935e4709dc8fa6c33ec551e403fdb7b3c1c2647b6a95fe14721ea7
MD5 803ef2f8083c4326136904d069c59617
BLAKE2b-256 f58b912b96ca018cebe2b29d87a91843f62ac3e7cfb89734f2fe38f10c4d4be4

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