Skip to main content

Tool to handle and fix subtitles general issues.

Project description

# substool

Tool to handle and fix subtitles general issues.

Main command is check, it does several checks on the subtitle file(s).

  • it decompress the given files and extract internal files if needed; otherwise just process the subtitle in any format

  • convert any encoding to utf-8

  • fixes phrases timings if they are clearly wrong (e.g. starting and finishing at the same time, or finishing before starting)

  • split parts if lines are too long or there are too many lines in the phrase

  • remove some spam

Other commands:

  • shift: Shift times in a subtitles file

  • rescale-params: Rescale using parameters delta and speed

  • rescale-points: Rescale using two points in time

  • rescale-mimic: Rescale using a source file

  • adjust: Adjust all .srt times to what .idx presents

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

substool-2.1.tar.gz (14.6 kB view details)

Uploaded Source

File details

Details for the file substool-2.1.tar.gz.

File metadata

  • Download URL: substool-2.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for substool-2.1.tar.gz
Algorithm Hash digest
SHA256 c654df9faf51cf18f7142ea9fb432a80500af91c204b4cddb94ccd6576109284
MD5 11f7b36a07c17be50843823704f2a87d
BLAKE2b-256 405c68a4e46f21a38be7c1fc85463d13cc6d4c70457e4e28a09ad9c2fa45519e

See more details on using hashes here.

Provenance

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