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 ogg4osu
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
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 Distribution
Built Distribution
File details
Details for the file delay_srt-0.1.1.tar.gz
.
File metadata
- Download URL: delay_srt-0.1.1.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 151323259d3a1737df1551c94aa8280406e2cb41f1763e8c74e48221e1b3cd62 |
|
MD5 | c0470bda193066cc1149cc442cfa1a00 |
|
BLAKE2b-256 | 6ab07f647eb07a13484ac414b0f7f8bf30563f5156e7337ad2ac144c13a10a87 |
File details
Details for the file delay_srt-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: delay_srt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | faddbba4da40c2f51bae4e12ba54331a507e01d64a58773aefdfaf235d6bdba0 |
|
MD5 | 4213c49cc2c4cac5ed90933dd585055f |
|
BLAKE2b-256 | 788cf1e2aca4cd0954d10df36188efd7ae6cff3de4643be0d2312e932b355cf5 |