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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0c3cb5ab13f2c109501632542d397a028992bc174292ce282d6db08494270d0
|
|
| MD5 |
8830105ed519fea0307cdfb77c8f8ba6
|
|
| BLAKE2b-256 |
5833cbb7c0c439b8fea087d140d55937b7952295bf6d1fa8d47333b5aa5f2df6
|
Provenance
The following attestation bundles were made for movie_subtitles-0.0.1.tar.gz:
Publisher:
publish.yml on mathiasesn/movie-subtitles
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
movie_subtitles-0.0.1.tar.gz -
Subject digest:
f0c3cb5ab13f2c109501632542d397a028992bc174292ce282d6db08494270d0 - Sigstore transparency entry: 2515268227
- Sigstore integration time:
-
Permalink:
mathiasesn/movie-subtitles@60651b444329d98cc04d618f1a8ee5a4a4a481a2 -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/mathiasesn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@60651b444329d98cc04d618f1a8ee5a4a4a481a2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file movie_subtitles-0.0.1-py3-none-any.whl.
File metadata
- Download URL: movie_subtitles-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a99c7adcc5e762e6ab4aedd431968008ef74df5f7582e54bb29ea05037ff04fa
|
|
| MD5 |
3b72ccf6156a4b2611afd68a234615a5
|
|
| BLAKE2b-256 |
bff1f5095af696e4a4115a86f43fdf05536fd8baa842fecc1f46bdd8678dfc70
|
Provenance
The following attestation bundles were made for movie_subtitles-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on mathiasesn/movie-subtitles
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
movie_subtitles-0.0.1-py3-none-any.whl -
Subject digest:
a99c7adcc5e762e6ab4aedd431968008ef74df5f7582e54bb29ea05037ff04fa - Sigstore transparency entry: 2515268254
- Sigstore integration time:
-
Permalink:
mathiasesn/movie-subtitles@60651b444329d98cc04d618f1a8ee5a4a4a481a2 -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/mathiasesn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@60651b444329d98cc04d618f1a8ee5a4a4a481a2 -
Trigger Event:
release
-
Statement type: