New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

srt-shift

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

srt-shift

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

pipPyPI
Version
0.2
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts