Python script for shifting (advancing or delaying) srt subtitle files.
Runs in console mode (Unix, or DOS, MacOs ).

usage:
====

[python] srtShift.py [-h] [-i INITIALDELAY] [-f FINALDELAY] srtFile

positional arguments:
srtFile name of subtitle srt file (without type '.srt')

optional arguments:
-h, --help show this help message and exit
-i INITIALDELAY, --initialDelay INITIALDELAY
initial delay, in seconds : a positive REAL NUMBER
(e.g. 5.0 for 5 seconds) advances subtitles, a
negative one (e.g. -5.0) delays them
-f FINALDELAY, --finalDelay FINALDELAY
final delay, in seconds : a positive REAL NUMBER (e.g.
9.0 for 9 seconds) advances subtitles, a negative one
(e.g. -9.0) delays them

Computes a variable shift for every subtitle by linearly interpolating between INITIALDELAY and FINALDELAY

Features

  • Video subtitle file management
  • Shifting subtitles with variable shifts
  • Python scripts running on Windows, Linux, MacOs

Project Samples

Project Activity

See All Activity >

Follow SrtShifter

SrtShifter Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free

Additional Project Details

Registered

2016-07-11