SRT Time Shift
Work out every cue moved by a fixed number of milliseconds from srt file, shift in seconds (negative moves earlier). New time = old time + shift, applied to start and end, and the page prints the substitution so the result can be checked by hand.
SRT Time Shift
Work out every cue moved by a fixed number of milliseconds from srt file, shift in seconds (negative moves earlier). New time = old time + shift, applied to start and end, and the page prints the substitution so the result can be checked by hand.
How this page computes
New time = old time + shift, applied to start and end
The shift is converted to whole milliseconds once and added as an integer, so a 1.234 s shift cannot accumulate a rounding error across cues.
Both ends move by the same amount, so every cue keeps its duration.
The calculation runs entirely in this browser tab; nothing is uploaded.
SRT Time Shift computes every cue moved by a fixed number of milliseconds. New time = old time + shift, applied to start and end. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.
The shift is converted to whole milliseconds once and added as an integer, so a 1.234 s shift cannot accumulate a rounding error across cues. Pressed with srt file 1; 00:00:01,000 --> 00:00:03,500; Hello; ; 2; 00:00:04,000 --> 00:00:05,000; Second, shift in seconds 2.5, it answers: 00:00:03,500 --> 00:00:06,000
How to use SRT Time Shift
Enter srt file 1; 00:00:01,000 --> 00:00:03,500; Hello; ; 2; 00:00:04,000 --> 00:00:05,000; Second, shift in seconds 2.5, then press Run: the page evaluates every cue moved by a fixed number of milliseconds and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.
Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.
With srt file 1; 00:00:01,000 --> 00:00:03,500; Hello; ; 2; 00:00:04,000 --> 00:00:05,000; Second, shift in seconds 2.5, the answer is 00:00:03,500 --> 00:00:06,000.
Milliseconds, not fractions
The shift is converted to whole milliseconds once and added as an integer, so a 1.234 s shift cannot accumulate a rounding error across cues.
Both ends move by the same amount, so every cue keeps its duration.
What to Expect
Best for
- Working out every cue moved by a fixed number of milliseconds without a spreadsheet
- Checking a figure someone else quoted
- Seeing the formula behind an answer
Not ideal for
- A cue that would start before zero is refused with its number, because the page does not clamp a negative time.
- A quantity the page cannot compute, which it refuses instead of estimating
- Rounding an answer that has an exact form
What this tool keeps
- New time = old time + shift, applied to start and end
- Every input exactly as typed
What may need cleanup
- Nothing: the printed answer is the final output
- A unit conversion, if the inputs were entered in different units
Common errors
- A cue that would start before zero is refused with its number, because the page does not clamp a negative time.
- An empty field is refused with the field's name
Example use cases
- Work out every cue moved by a fixed number of milliseconds for one set of inputs
- Check the result against the formula by hand
- See which input the answer is most sensitive to
Sample input
SRT Time Shift: srt file 1; 00:00:01,000 --> 00:00:03,500; Hello; ; 2; 00:00:04,000 --> 00:00:05,000; Second, shift in seconds 2.5
Sample output
00:00:03,500 --> 00:00:06,000 — 1
Who this is for
- Students checking a formula
- Anyone who needs the number and the working
Frequently asked questions
What formula does this page use?
New time = old time + shift, applied to start and end. The page prints the substitution as well, so the answer can be checked against the rule.
What does SRT Time Shift refuse?
A cue that would start before zero is refused with its number, because the page does not clamp a negative time.
What does the default example give?
Srt file 1; 00:00:01,000 --> 00:00:03,500; Hello; ; 2; 00:00:04,000 --> 00:00:05,000; Second, shift in seconds 2.5 gives 00:00:03,500 --> 00:00:06,000. Every line below that restates the same arithmetic.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.