Skip to main content

For fixing out-of-sync .srt subtitle files.

Project description

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>.

Project details


Download files

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

Source Distribution

srt-shift-0.2.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file srt-shift-0.2.tar.gz.

File metadata

  • Download URL: srt-shift-0.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for srt-shift-0.2.tar.gz
Algorithm Hash digest
SHA256 0c2a805cf04b5603d6923f7c6dcc0c6d436983853003e7456eccfd9c9738328e
MD5 a9b7fbdbb84f487be962f3a71e20de77
BLAKE2b-256 5fe18a95bbcc8da15166c37d593633011ef8fda7eefc9b5dfeb9cf05648d6ffb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page