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.

Filename, size & hash SHA256 hash help File type Python version Upload date
srt-shift-0.2.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None Dec 25, 2010

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page