Caption baseline record
The useful artifact is a minimal passing fixture plus one controlled change at a time. A large subtitle export can mix syntax, styling, network and language-selection problems, making random edits hard to interpret. For a Hotel Lobby-inspired duet, begin with neutral test sentences instead of the full performance transcript. That avoids misdiagnosing a long phrase, speaker style or unsupported position setting as a complete loading failure. These are external caption and browser operations, not controls built into AISwapLab.
Build the evidence
- 01
Establish a plain loading baseline
Serve the MP4, HTML page and VTT from one authorized origin. Use the correct text/vtt response type and inspect the actual response body rather than trusting a filename. A login page or access-denied HTML response can arrive under a .vtt URL. Use visible video controls and select the captions track explicitly during diagnosis so a default-language preference does not hide a valid track.
- 02
Use the smallest valid cue structure
The sample begins with WEBVTT, a separating blank line, then timed cue blocks. Its timestamps use a period before milliseconds. A normal line break inside cue text differs from a blank line that separates blocks. Keep intentional markup separate from literal characters: the example escapes an ampersand and angle brackets so the words are represented as text. Do not paste arbitrary HTML and assume it becomes caption styling.
- 03
Expand only after the baseline works
Verify both cues appear at their stated intervals, then replace one cue with a representative real sentence. Add speaker annotation, positioning or styling separately and retest. Save the known-good fixture and a difference note for each failing version. A browser may tolerate some nonconforming text, so successful rendering in one browser does not prove that an authoring export is conformant or portable to every caption destination.
A bounded example
Illustrative diagnosis: the minimal file renders, but the original export ends a cue at an unexpected empty line and contains a comma-based timestamp copied from SRT. Fixing the file structure is relevant in that case. If neither minimal nor original captions are retrieved because the server returns an authorization page, changing punctuation cannot solve it. The example is a documentation fixture; no production browser compatibility test or paid generation was executed for it.
Local diagnostic commands
Documentation fixture only. Save the HTML and VTT portions as separate files and serve them through a local or authorized web origin. No browser matrix, paid generation or upload was executed for this example.
<!-- Save as index.html beside an authorized clip.mp4 and captions.vtt. -->
<video controls src="clip.mp4">
<track kind="captions" srclang="en" label="English test" src="captions.vtt" default>
</video>
<!-- captions.vtt content follows; save it as a SEPARATE UTF-8 file: -->
WEBVTT
00:00:00.500 --> 00:00:02.000
Left & right are ready.
00:00:02.500 --> 00:00:04.500
Show <original> as literal text.Caption baseline record
| Layer | Passing evidence | If it fails |
|---|---|---|
| Retrieval | Actual text/vtt body reaches the page | Inspect authorization, URL and response |
| Structure | Two intended cues are parsed | Inspect header, timestamps and boundaries |
| Rendering | Both cues appear at the intended times | Inspect track selection and player behavior |
Acceptance evidence
- The actual response contains UTF-8 WebVTT rather than a login or error page.
- The minimal two-cue fixture loads and displays before complex features are added.
- Blank lines, timestamp punctuation and literal character escaping are inspected separately.
- A saved known-good version remains available for regression comparison.
Stop condition
Stop editing the transcript when network evidence shows that the player never received it. Fix the authorized delivery path first. If a destination requires a different caption format, use a real converter and reopen the result there; do not treat a filename change or one tolerant browser as a universal format-validation method.
