Timing English captions against the speech you can measure
A caption that arrives a second early gives away the next line. One that arrives late makes the viewer read to catch up. Both are easy to miss when you are checking the wording. Here is a ten-second studio example with three cues, the numbers we moved them to, and how we checked the result.
The corrected captions are part of the picture, so no subtitle track is needed. The narration is a synthesized voice.
Open the MP4 directly (10 seconds, 960 × 540)
Download the QA ZIP: the MP4, the clean voice track, the transcript, the initial WebVTT file, and the corrected cues as WebVTT and SRT.
Everything you need to follow this note is on the page. The files are there if you want to repeat the comparison.
The example
The narration has three short lines, 14 words in all:
- Export the current report.
- Compare the two totals.
- If they match, import the file.
The initial cues split the ten seconds into three blocks that ran end to end. That is a common first draft: the words are right and every second has a caption, but the cues do not follow the voice.
| Line | Initial cue | Corrected cue | Measured speech in the MP4 |
|---|---|---|---|
| 1 | 0.000–3.000 | 0.680–2.320 | 0.780–2.160 |
| 2 | 3.000–6.500 | 3.920–5.360 | 4.010–5.240 |
| 3 | 6.500–10.000 | 6.120–8.560 | 6.220–8.430 |
On a narrow screen, scroll the table sideways to see every column.
The second caption originally appeared 1.01 seconds before its line. The third appeared 280 milliseconds after speech began. The first was on screen from the first frame, 780 milliseconds before anyone spoke. Each initial cue also stayed up through the pause that followed it.
What we changed
- Measure the speech first. We found where each line starts and stops in the audio of the finished MP4, described under the next heading, before touching a cue.
- Move each cue to a picture-frame boundary. The video runs at 25 frames per second, so a frame lasts 40 milliseconds. A caption can only change when the picture does. Every corrected time is a whole number of frames: frames 17 to 58, 98 to 134 and 153 to 214.
- Leave a short lead and tail. Each caption appears 90 to 100 milliseconds before the measured start of its line and stays 120 to 160 milliseconds past the measured end. The reader gets the caption as the voice begins, and it clears before the pause feels empty.
- Keep the wording alone. The three lines are unchanged. Only the times moved.
How we listened
For this sample the listening was done by measurement. We decoded the audio from the MP4 and split it into 10-millisecond blocks. For each line, the measured start is the first block at or above −45 dBFS RMS, and the measured end is the last such block. Those are the figures in the right-hand column.
A level threshold tells you where sound is, and it cannot tell you what was said. As a separate check, independent offline speech recognition recovered all 14 words in order.
You can make the same comparison by ear. The ZIP holds voice.wav, before.vtt and corrected.vtt. Open the voice track in a player that accepts an external subtitle file, load the initial cues, and watch where the second caption appears. Then switch to the corrected file and play it again.
We did not run a formal listening review with human reviewers on this sample. The timing claims here rest on the measurements above.
Playback checks
- The 960 × 540 MP4 runs for 10.000 seconds at 25 frames per second.
- We checked all 250 decoded frames for caption visibility.
- The WebVTT and SRT files matched the source transcript and each other.
- Chrome played to the end and loaded all three WebVTT cues. It reported two dropped display frames during that playback. All 250 frames were present in the file.
Limits
- This is clean synthetic audio. With one voice and no room tone or music, a fixed threshold finds the edges of speech easily. On a real recording, −45 dBFS may sit below the background or above a quiet opening consonant. Choose the threshold for the recording, and check doubtful edges by ear.
- Level is not perception. The measurement marks where the signal crosses a line. A listener may hear a word begin slightly earlier or later.
- Three cues is a small sample. It shows the method. It does not show how the method holds over a long programme, overlapping speakers or fast dialogue.
- The picture has no cuts. The background is plain, so we never had to choose between the voice and a shot change.
- House rules still apply. The second corrected cue lasts 1.44 seconds. If your style guide sets a longer minimum, extend the tail. There is room before the third line.
- One browser, one playback. The Chrome result describes a single run on our machine. Test the players your audience uses.
Watch three captioned studio samples, including a five-minute workshop example. Each comes with downloadable English caption files.
Credits
BenchWorkSoftware LLC wrote the three lines for a studio demonstration. The example uses a plain generated background and locally synthesized English narration from FFmpeg’s Flite filter (CMU US KAL16 voice). No voice actor recorded it. It contains no customer material, third-party footage or music. Flite license.