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
-
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.
-
Install delay_srt
The following command should work for most people:
pip install delay_srtIf 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
566093932b574068ca19f331fa22cf36c24421b864f7412c4f9db047a672571d
|
|
| MD5 |
d3c86ca2b0b1c398ccc750fa3866d37e
|
|
| BLAKE2b-256 |
a91c7e297ccb17bb40365801e5aef881100676fec761ed660a4fcbb178c701ee
|