Subtitle

Common SRT Format Errors That Break Video Players (and When to Convert SRT to WebVTT)

Trace missing cues to broken timestamp lines, distinguish a fixed offset from timing drift, and check a WebVTT sidecar in the target player.

When captions vanish halfway through a film, copy the last cue that plays, the first missing cue and the following cue into a small test file. Leave their original timestamps intact and seek to that passage. A player that accepts the first block and ignores the second gives you a much better starting point than a blanket conversion of the entire subtitle. Record whether the symptom is missing text, correctly displayed text at the wrong time, or a track that never appears in the player.

Read one complete SRT block

A conventional block has a sequence number, a timing line, one or more dialogue lines, then a blank line. The time range carries the schedule. Sequence numbers help people identify cues, but changing number 47 to number 46 cannot move speech by even one millisecond. Two dialogue lines inside one block appear together. A blank line between those lines may end the block early. Inspect with whitespace visible if a copy from an email or spreadsheet changed the line breaks.

Source accepted by the repair reader
7
00:01:02.500 --> 00:01:04.750
Wait by the gate.

Normalized SRT
1
00:01:02,500 --> 00:01:04,750
Wait by the gate.

WebVTT
WEBVTT

00:01:02.500 --> 00:01:04.750
Wait by the gate.

The start here is sixty-two and a half seconds from the beginning. The duration is two and a quarter seconds. Renumbering and changing timestamp punctuation leave both facts intact. Check the three ASCII characters of the arrow as well. A word processor may have replaced two hyphens and a greater-than sign with a single typographic arrow. Replace it in a working copy after confirming that the two surrounding times describe the intended speech. Do not replace similar characters in dialogue indiscriminately.

Match the symptom to a test

Playback symptomWhat to inspectMinimal confirming test
One cue disappearsArrow, start, end and block separatorLoad three neighboring cues alone
Same delay throughoutDifference at early and late spoken anchorsShift a copy by that offset
Delay grows over timeRuntime, edit and playback speedMeasure at three distant anchors
No track in web playerTrack URL, file format and language selectionLoad a short known-good WebVTT sidecar

Run the local SRT repair tool on the test file. Compare recognized cue count, times and dialogue with the source. A repaired file with tidy numbering can still be missing the block that mattered. A missing end time gives the reader no grounded duration, and reversed endpoints need an editorial decision. Listen to the corresponding words and set an interval that leaves enough time to read the caption without covering the next line. Save that correction in the source copy and repeat the three-cue test.

Distinguish constant offset from an edit or drift

Pick an unambiguous sound such as the first syllable after a long silence. Write down the video time and caption time for that line and for two later lines. If each caption begins 1.5 seconds after its sound, move the affected starts earlier by 1.5 seconds. Check the sign using one known cue before applying the correction elsewhere. A subtitle that is already late will be three seconds late if the same amount is added instead of subtracted.

If the first two anchors match but every line after an inserted introduction is four seconds early, start the adjustment at the first affected cue. The local subtitle timing editor shifts that cue and following cues when its start changes, preserving the selected duration. Editing its end also shifts later cues, so inspect the neighbor after a duration change. A start that would move before the beginning of the video deserves separate attention. Keep the original available and use the undo or restore controls to compare.

When the difference grows from half a second near the beginning to several seconds near the end, one shift cannot align both anchors. A different video edit, a speed conversion, or a splice can each produce different patterns. Check a third point around the middle. A sudden jump points to an inserted or missing scene. Smooth accumulation suggests a rate mismatch. Obtain captions for the right cut or retime against the actual program. Frame-rate labels alone cannot tell you exactly where two editions diverge.

Choose WebVTT for the receiving player

Parallel cue timelines highlight the SRT comma, WebVTT period and required WEBVTT header.
Both cues span 2.5 to 4 seconds. WebVTT adds a file header and uses a period before the milliseconds.

Use the on-device SRT to VTT converter when the destination accepts a WebVTT text track. A basic file starts with WEBVTT and a blank line, then timestamp ranges using decimal points. Changing the filename extension leaves the contents untouched. Open the downloaded file in a text editor and verify the heading and first interval. Keep language names and track selection straight in the publishing interface, especially when several sidecars have the same basename and differ only in their language suffix.

For a web delivery, inspect the response for the actual track URL. A successful HTML fallback page in place of the caption file can give a misleading success status. Verify that the body starts with the expected header and is served as text/vtt. Check the player's captions menu and select the intended language. Seek into the middle of a known interval as well as playing through the start. File conversion and correct delivery are separate conditions for a visible cue.

Verify the final cue even if the track looks correct in a short preview. A platform preview may display only the opening minutes, while a malformed block near the end prevents the closing credit from appearing. Write down its timestamp before upload so you can seek directly to it, and test a cue containing an apostrophe or accent to catch an unrelated character-set issue during the same playback check.

Keep a sidecar until the last handoff

If the text lives in a supported subtitle stream inside a video, extract it first. Compare an early cue and a late cue with the audio before editing. Burning captions draws letters into the output frames, so a corrected sidecar cannot change an already rendered video. Test the corrected SRT beside the original video first, then burn a short representative clip and read it at playback size.

Limitations of normalization

Repair and conversion run locally. Neither can supply dialogue missing from the input or infer precisely when an actor spoke a line from its sequence number. A plain SRT cannot preserve every WebVTT feature, including regions, styles and some positioning information. Keep a richly authored WebVTT master if that presentation matters. Similarly, an image-based subtitle track needs transcription or recognition before text timing tools can process its words. Rewriting timestamps cannot turn bitmap captions into editable dialogue.

Before delivery, compare cue count and total coverage against your source, read a multiline cue, and watch the first and last spoken passages in the intended player. For an isolated repair, also check the two neighbors for overlap or an unintended empty interval. Two speakers may deliberately overlap, so a mechanical rule that removes every overlap can change meaning. Keep a record of the cues you changed and the video edition you used. That makes a later localization pass repeatable without losing the timing decisions.

References & further reading

Tools for this guide