To retime gameplay captions for a highlight, keep the words that belong inside the excerpt and move their times to the beginning of the new file. A single negative delay is only part of the edit. A caption can start before the highlight and end inside it, or begin inside and run past the final frame. In our five-second example, five source cues became three. Only the middle cue kept its full duration. The others needed an editorial decision about which words the audience could still hear.
| Caption from our example | Original interval in seconds | Interval in a clip cut from 10 to 15 seconds |
|---|---|---|
| Before | 6–7 | Leave out |
| Watch the turn | 9–11 | 0–1 |
| Stay left | 12.25–13.5 | 2.25–3.5 |
| There it is | 14.5–16 | 4.5–5 |
| After | 17–18 | Leave out |
Find the recording the subtitle file belongs to
Open the full subtitle file against the full recording first. Check a recognizable line near the planned cut, then a second one near its end. In a driving clip this might be a navigator's warning followed by the driver's reply after a turn. If those lines already arrive late in the full session, simply subtracting the start of the cut will preserve that original error. Fix the reference before building another file from it. Use your own recording or one for which the creator has given you editing rights.
Look at the text in a plain-text editor. An SRT has numbered entries, start and end timestamps separated by an arrow, text, and blank lines separating the entries. The time format uses a comma before milliseconds. The Library of Congress SubRip description gives the file structure. A subtitle file can be copied and edited independently of the video. If you can still see the words with subtitles disabled and without a subtitle file loaded, check whether someone has already burned the text into the picture. Changing a sidecar cannot erase that lettering.
Use the first delivered frame as zero
Imagine taking seconds 10.000 through 15.000 of your session. The new file lasts five seconds. A cue at 12.250 is now 2.250 seconds from its beginning. Before doing the arithmetic for a whole stream, verify that the video export really begins at the intended picture. An imprecise cut to a compressed video can start later than the number on your original edit decision. If that happens, captions calculated from the requested boundary can look wrong even though the subtraction is correct. See our frame-accurate cutting comparison.
First discard entries that end at or before ten seconds, plus entries that start at or after fifteen. They have no visible interval in this cut. For every remaining entry take the later of its start and ten, then subtract ten. Do the same with the earlier of its end and fifteen. This produces two new endpoints inside the excerpt. For the line that started at nine and ended at eleven, the later start is ten. The earlier end is eleven. Subtracting ten from each gives zero to one second. A blind subtraction of ten from nine would have created a negative timestamp.
The final cue needs the opposite adjustment. Its start at 14.500 becomes 4.500, but its end at 16 is outside the delivery file. Clip that end to fifteen and it becomes 5.000 in the output. A player may stop displaying text when the video ends regardless of the timestamp. Writing the correct endpoint still matters if another editor later joins this excerpt to a second highlight.
Check the words that survive the cut
Our example labels are a timing exercise. Listen to each retained boundary cue in your own edit. If the source caption reads “watch the turn” but the new file only contains “turn,” a viewer should see the word that remains audible. If the complete phrase is necessary to understand what happens, consider moving the picture cut earlier and recalculating the cue. If the speaker changes at the boundary, make sure the retained label belongs to the person still heard in the clip.
Here is the timing file from our exercise. Save your own version as plain text with the .srt extension. Give the highlight and its new sidecar matching base names when your player supports automatic sidecar detection, or select the file explicitly in the subtitle menu.
1
00:00:00,000 --> 00:00:01,000
Watch the turn
2
00:00:02,250 --> 00:00:03,500
Stay left
3
00:00:04,500 --> 00:00:05,000
There it is
Read the finished sidecar back
A timestamp that looks plausible in a text editor can still have a misplaced separator or a transposed digit. For a local parsing check, use a fresh filename and have FFmpeg read and write the subtitles once. Compare the returned entries against your expected intervals. This checks the structure and timing the parser understood. Final word choice still needs a listening pass. FFmpeg documentation and supported formats
ffmpeg -v error -i "highlight.srt" -c:s srt "checked.srt"
We got three entries back with exactly the times in the table. In your player, start from the beginning, pause between cues and play through the very end. Verify that there is a blank interval after the first line, that the second appears only when needed and that the last does not carry into the next scene. If every cue is wrong by the same amount, go back to the first delivered frame. If an error appears only after a second edit, treat the section following that edit as another excerpt with its own original start time.
Frequently asked questions
Can I just subtract the start time from every cue?
Only cues entirely inside the cut need a simple shift. Discard cues outside and shorten those crossing the edges.
What if the captions are already part of the picture?
This method edits a separate timed subtitle file. Text already encoded into the pixels follows those pixels.
What if I speed up the highlight?
The worked example assumes normal speed and one continuous cut. Speed changes require another mapping for both cue endpoints.



