EUR full-term totals: 1 month €8.99 · 3 months €21.99 · 6 months €35.99 · 12 months €49.99 Compare plans →
Menu

Streaming authoring workshop

Segmented WebVTT needs the right relationship to the media timeline

Distinguish valid subtitle cue syntax from correct HLS timeline mapping when publishing authorised segmented captions.

Subtitles are not the audio track

A cue file can be valid but aligned to another origin

Valid WebVTT syntax is necessary, but it does not by itself establish how segmented captions align with an HLS audio and video timeline. RFC 8216 describes X-TIMESTAMP-MAP in the WebVTT header for this relationship. A cue's local timestamp and the media timestamp domain need an intentional mapping. Repeatedly changing text encoding will not repair a timeline-origin mismatch.

This is an authorised publishing task. A viewer should report when the captions appear relative to speech, while the publisher inspects the actual caption segments and media timing. Do not ask a customer to rewrite private streaming files. Preserve the source caption version and the exact media version so a later comparison is meaningful.

A hypothetical local-zero assumption

Suppose a caption export begins its local cues at zero, while the corresponding media has a different timestamp origin. A standalone preview can appear correct because it starts both at its own zero. The segmented presentation may need an explicit relationship between those domains. The fact that the same words appear correctly in a text editor says nothing about that relationship.

Use a short authorised test containing clearly identifiable speech near the beginning and after a segment boundary. Record the expected event and observed caption time. Avoid adjusting every cue manually before checking whether one origin relationship is wrong. A global misunderstanding can otherwise become hundreds of inconsistent local edits.

Inspect boundaries as well as the first cue

The publishing format specifies requirements for cues that overlap a segment's display interval. An empty caption segment can also intentionally represent a period with no captions. Do not assume that every segment must contain dialogue or that a cue should be truncated simply because its display continues beyond one segment boundary. Review the actual format requirements and intended presentation.

Check changes in the media timeline and any discontinuity handling as part of the same authorised packaging workflow. A first-minute test may not reveal a later transition problem. Use the toolchain's current documentation and the target platform's HLS requirements. A successful parser result is a structural check, not a complete synchronisation review.

Validate the delivered presentation

Play from before a known spoken event through its caption and across the next relevant boundary. Repeat at a later point after any timeline change. Confirm text, selected language, onset and disappearance. A player offset control can be useful for a viewer's immediate session, but it is not a publisher-side correction to wrongly packaged captions.

Keep a record of the media version, caption version, mapping decision and observed test passages. Clearly label examples as test material rather than claims about a provider's live service. The useful result is a coherent delivered timeline, achieved by correcting the relationship at the right layer instead of applying unexplained offsets to every cue.

Questions answered

Does valid WebVTT syntax guarantee HLS synchronisation?

No. The caption and media timestamp domains also need the correct relationship in the delivered presentation.

Should a publisher fix every cue manually first?

First establish whether the issue is a shared timeline-origin relationship. Preserve the originals and avoid mass edits that conceal a packaging problem.

Sources & further reading

Official references for the subjects discussed. Service terms and device software can change.

Your next step

A better setup starts with the right details.

Tell us your device model, viewing country and the programmes you want to discuss.

Talk on WhatsApp

+44 7532 814802

WhatsApp ↗↑ Top