Subtitle Shift API
https://api.findutils.com/api/tools/subtitle-shift/execute Shift every cue in a SubRip (.srt) or WebVTT (.vtt) caption file by one fixed offset, so a track that runs early or late lines up with the audio again. A positive offset delays the captions (they appear later); a negative one advances them. The output keeps the input format, cue text, order and WebVTT cue settings. A cue whose start would go below zero is held at zero and counted; a cue that would end before zero is dropped and counted. Timing only: nothing is stretched, translated or edited.
Request body
application/json-
input
string required
Caption file contents, either SubRip or WebVTT.
-
offset_ms
integer required
Milliseconds to add to every timestamp. Positive shows captions later, negative earlier. 1500 means one and a half seconds later.
Example arguments
Verified{
"input": "1\n00:00:10,000 --> 00:00:12,000\nTen seconds in.\n",
"offset_ms": 1500
} More Media tools
- Ass To Srt Flatten an Advanced SubStation Alpha (.ass) or SubStation Alpha (.ssa) subtitle script to plain SubRip (.srt).
- Sbv To Srt Convert a YouTube SubViewer (.sbv) caption export to SubRip (.srt), or back again.
- Srt To Txt Turn a SubRip (.srt) or WebVTT (.vtt) caption file into a plain-text transcript: cue numbers and timestamps are removed and the cue text is…
- Srt To Vtt Convert SubRip (.srt) captions to WebVTT (.vtt) and back.
- Subtitle Clean Clean the text of a SubRip (.srt) or WebVTT (.vtt) caption file without touching its timing: strip HTML tags such as <i> and <font>…
- Subtitle Fps Convert Rescale every cue in a SubRip (.srt) or WebVTT (.vtt) caption file from one frame rate to another, so a track that slowly drifts out…