BenchWork home

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:

  1. Export the current report.
  2. Compare the two totals.
  3. 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.

Timing changes (seconds)
LineInitial cueCorrected cueMeasured speech in the MP4
10.000–3.0000.680–2.3200.780–2.160
23.000–6.5003.920–5.3604.010–5.240
36.500–10.0006.120–8.5606.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

  1. 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.
  2. 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.
  3. 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.
  4. 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

Limits

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.