Skip to main content

Delays the subtitles in a SubRip (.srt) file.

Project description

delay_srt

Delays the subtitles in a SubRip (.srt) file by a given amount of time.

Installation

  1. Install Python.

    Python 3.11 or later should work for sure; when in doubt, just get the latest version. Older versions may work as well, but you're on your own with those.

  2. Install delay_srt

    The following command should work for most people:

     pip install delay_srt
    

    If you want/need something more specialised, I'm sure you already know what you need to do differently.

Usage

Just run the program through Python (with the -m flag) in your command line of choice, and give it the path to the file you want to delay and the delay in milliseconds. For example, the following command will delay example.srt by 1 second:

python -m delay_srt example.srt 1000

Note that depending on your environment, you may need to use the python3 command instead.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

delay_srt-0.2.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: delay_srt-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for delay_srt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 566093932b574068ca19f331fa22cf36c24421b864f7412c4f9db047a672571d
MD5 d3c86ca2b0b1c398ccc750fa3866d37e
BLAKE2b-256 a91c7e297ccb17bb40365801e5aef881100676fec761ed660a4fcbb178c701ee

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