Skip to main content

Movie subtitles

Command line interface for creating movie subtitles either as .srt files or by adding them to each movie frame.

Prerequisites

  • Python >= 3.10
  • uv

Installation

Run without installing (recommended)

uvx --from git+https://github.com/mathiasesn/movie-subtitles.git movie-subtitles --help

Install as a tool

uv tool install git+https://github.com/mathiasesn/movie-subtitles.git

Develop locally

git clone https://github.com/mathiasesn/movie-subtitles.git
cd movie-subtitles
uv sync
uv run movie-subtitles --help

Usage

movie-subtitles --help
usage: translation-cli <command> [<args>]

options:
  -h, --help            show this help message and exit
  --input INPUT         The input file to transcribe
  --audio-lang AUDIO_LANG
                        The language of the audio in the movie
  --srt-lang SRT_LANG   The language of the srt file
  --whisper-model WHISPER_MODEL
                        The whisper model to use
  --mt-model MT_MODEL   The machine translation model to use

Download files

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

Source Distribution

movie_subtitles-0.0.1.tar.gz (93.6 kB view details)

Uploaded Source

Built Distribution

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

movie_subtitles-0.0.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file movie_subtitles-0.0.1.tar.gz.

File metadata

  • Download URL: movie_subtitles-0.0.1.tar.gz
  • Upload date:
  • Size: 93.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for movie_subtitles-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f0c3cb5ab13f2c109501632542d397a028992bc174292ce282d6db08494270d0
MD5 8830105ed519fea0307cdfb77c8f8ba6
BLAKE2b-256 5833cbb7c0c439b8fea087d140d55937b7952295bf6d1fa8d47333b5aa5f2df6

See more details on using hashes here.

Provenance

The following attestation bundles were made for movie_subtitles-0.0.1.tar.gz:

Publisher: publish.yml on mathiasesn/movie-subtitles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file movie_subtitles-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for movie_subtitles-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a99c7adcc5e762e6ab4aedd431968008ef74df5f7582e54bb29ea05037ff04fa
MD5 3b72ccf6156a4b2611afd68a234615a5
BLAKE2b-256 bff1f5095af696e4a4115a86f43fdf05536fd8baa842fecc1f46bdd8678dfc70

See more details on using hashes here.

Provenance

The following attestation bundles were made for movie_subtitles-0.0.1-py3-none-any.whl:

Publisher: publish.yml on mathiasesn/movie-subtitles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

This release

0.0.1 This release

2 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