Skip to main content

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)

Source distribution for srt-shift 0.2
File Size Uploaded
srt-shift-0.2.tar.gz 2.0 kB Details

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

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page