Skip to main content

A simple tool that translates video subtitles

Project description

About

Translate Video Subtitles

subtrs is a simple tool that translates subtitles from files.

The main idea came when using the YouTube auto-tool to translate my videos subtitles, I saw that the translation sucked.
So I decided to create this simple tool and translate my subtitles more successfully.

https://gitlab.com/dslackw/images/raw/master/subtrs/subtrs.gif

Installing

$ pip3 install subtrs --upgrade

Command line usage

Usage: subtrs [subtitles_file] [destination languages]

       Simple tool that trlanslates video subtitles

       Support subtitles files [*.sbv, *.vtt, *.srt]
       Destination language [en,de,ru] etc.

       --color      Show translate text language with colour.
       --languages  Show all supportd languages.
       --silent     Silent method, without viewing.
       --version    Show the version and exit.
       --help       Show this message and exit.

Example

An example which create multiple subtitles files:

$ subtrs captions.srt en,de,ru --color

This command should translate and create three different files, one with English subtitles, one with German and one with Russia subtitles.

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

subtrs-1.4.tar.gz (35.8 kB view hashes)

Uploaded Source

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