srt-shift is a simple command-line script for shifting the times in a .srt subtitle file. It worked on the two or three files I tried, but let me know if it doesn’t work for you.
Usage examples:
- To shift the subtitles backward 5 seconds:
srt-shift subtitles.srt -5
- To shift them forward 5 seconds:
srt-shift subtitles.srt 5
- srt-shift will output the new subtitles to stdout, so to save them, do:
srt-shift subtitles.srt 5 > fixed.srt
Installation: sudo easy_install srt-shift
That’s all there is to it. You can find the latest version at <http://github.com/adeel/srt-shift>.
Metadata
Release files for srt-shift 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| srt-shift-0.2.tar.gz | 2.0 kB | Without provenance | Details for srt-shift-0.2.tar.gz |
Release files / srt-shift-0.2.tar.gz
| Download URL | srt-shift-0.2.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c2a805cf04b5603d6923f7c6dcc0c6d436983853003e7456eccfd9c9738328e
|
|
BLAKE2b-256 checksum How to use checksums |
5fe18a95bbcc8da15166c37d593633011ef8fda7eefc9b5dfeb9cf05648d6ffb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for srt-shift 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.