Scripted Talk Annotation Layer (talk-annotation v1)
A talking-head video conveys information through speech, but visual memory is secured through sight. The goal of the annotation layer is for viewers to leave with three key memory points.
One rule: No occlusion, no spam, no fabrication, no repetition.
Applicable Scenarios
- Talking-head videos containing knowledge points, numbers, steps, or conclusions where you want viewers to "see and remember" them.
- Long talking-head videos that need chapter bars for easy navigation (short videos also benefit: higher completion and revisits).
- Videos needing bullet comments/stickers to create atmosphere, while avoiding spam that obscures subtitles.
Output Contract
Output: talk_annotation (executor: pnpm edit:talk-annotate):
| Artifact | Content | Handoff |
|---|
| Bullet Items | Text (≤14 chars), time, mode (top/scroll), color, justification | pnpm edit:danmaku --items danmaku.json |
| Sticker Cards | Type (number/list/quote), text, in/out times, position, safe-zone constraint | Post-production sticker workstation |
| Chapter Bars | Title (≤14 chars), start/end times | Post-production chapter/progress bar workstation |
| Receipt | Quantity, density, occlusion self-check, alerts | Delivery checklist |
Time Conventions: All times are master track times. Sentences that are cut do not generate annotations (if source-to-master map fails, skip).
3. Extraction Logic (Extract from Transcript, Do Not Write)
| Type | Detection | Treatment |
|---|
| Quote/Conclusion | Contains conclusion words like "remember/key/essential/core/I tell you" | Top bullet comment (≤14 chars) + quote sticker card |
| Number/Quantifier | Contains digits or Chinese quantifiers (three/twice/10 minutes) | Number sticker card (number displayed standalone) |
| Step/Enumeration | "First/second/third", "firstly/then/finally" | List card (in step order) |
| Atmosphere Sentence | Strong tone, rhythmic spoken sentence | Scrolling bullet comment |
| Sentence Duplicating Subtitle | Exactly matches subtitle text | Do not send (bullet comments supplement, not repeat) |
4. Density & Safe Zones (Hard Rules)
| Item | Threshold | Description |
|---|
| Bullet Density | ≤6 items/min | If exceeded, stop; convert remaining knowledge points to stickers or chapters |
| First 2 Seconds Blank | 0 items | Hook frame must be clean |
| Top Bullet Position | Top safe zone | Avoid face area and subtitle strip |
| Sticker Position | Top left/right | Single card stays 3.2s (long enough to read once) |
| Chapter Length | ≥3s | Shorter than this, do not generate |
Decision Principles (Including Thresholds & Failure Shutdown)
- Do Not Fabricate Text: Text is taken word-for-word from the transcript; numbers or conclusions not in the script must never appear (G-TK1).
- No Occlusion Over No Spam: No annotation element may overlap the subtitle strip or face area; when in conflict, omit the element (G-TK8).
- Density First: Allocate quota based on ≤6 items/min, then select the most valuable items; do not display as many as possible.
- Skip on Time Map Failure: If the source time falls in a deleted segment, do not generate (no approximate alignment), and log the skip reason in the receipt.
- Failure Shutdown: If no chapter is generated or all bullet comments are filtered, report zero truthfully with reasons; do not force-fill content.
Playbook (Scenario → Action Sequence → Criteria)
- Main: Knowledge Point Bullet Comments: Scan transcript for anchors → Deduplicate & allocate quota → Generate bullets & stickers → Safe-zone self-check → Handoff for rendering (criteria: density OK, no occlusion, text verbatim match).
- Branch: Pure Atmosphere Scripting (No Knowledge): Use chapter bars + few scrolling bullet comments to carry the spoken rhythm; do not force-fill knowledge points (criteria: bullet items contain no fabricated content).
- Branch: Long Script (>3 min): Generate chapter bars by topic blocks; concentrate bullet comments in knowledge-dense segments (criteria: chapters ≥3s, bullet distribution not concentrated in first 30 seconds).
- Branch: Many Niche Terms: Use sticker cards to display terms independently (≥3.2s); bullet comments only for conclusions (criteria: single card duration matches term length).
SOP (Each Step Includes Trigger/Receipt/Failure Path)
- Trigger (editing record & timeline locked) → Generate chapter/bullet/sticker candidates → Receipt: candidates & source sentences; Failure: source time cannot map to master track, skip that item & log, no approximate alignment.
- Trigger (candidates ready) → Density trimming & deduplication → Receipt: item list & quota usage; Failure: if exceeded, trim items in descending value; do not keep all then delete implicitly.
- Trigger (items confirmed) → Safe-zone self-check & handoff for rendering → Receipt: occlusion check result + rendering receipt (artifact fingerprint); Failure: if out of bounds, reject and reorder; better to omit one than leave occlusion.
Key Metrics (Including Baseline & Guardrails)
| Metric | Definition | Baseline/Threshold | Type | Source |
|---|
| Density Compliance Rate | Bullet items ≤6 per minute | 100% | Guardrail | Annotation receipt |
| Text Verbatim Rate | Fully match transcript items / total items | 100% | Guardrail | Text comparison |
| Occlusion Conflicts | Items overlapping subtitle strip or face area | 0 | Guardrail | Safe-zone self-check |
| Chapter Readability | Title ≤14 chars & duration ≥3s | 100% | Quality | Chapter list |
| Dedup Rate | Filtering ratio of whole sentences identical to subtitles | 100% | Quality | Dedup log |
Failure Modes (Symptom → Detector → Treatment)
| Symptom | Detector | Treatment |
|---|
| Bullet overlaps subtitle or face | Safe-zone self-check | Change position or delete the item; no explanations, no compromises |
| Screen too noisy | Density >6 items/min | Trim by value; convert remaining to stickers/chapters |
| Bullet contains text not in script | Text comparison | Delete the item & review extraction logic (G-TK1) |
| Bullet duplicates subtitle | Text comparison | Filter duplicates; retain supplementary info |
| Chapter mismatches content | Manual review | Fill title with topic block title; do not create new title |
5. Self-Check List