Media Indexing
1. Index Structure (One Entry per Shot)
| Field Group | Content | Retrieval Use |
|---|---|---|
| Identity | shotId / Source sha256 / Frame-level Interval | Precise locating and reuse receipts |
| Visual Tags | Subject / Scene / Shot Size / Camera Movement / Lighting / Time of Day / Weather | "Find a wide shot of a beach at sunset" |
| Entities | People / Objects / Locations / Brands / Data Points | Fact-checking and brand consistency |
| Emotion | Dominant Emotion / Intensity / Valence | Emotional curve shot selection |
| Technical | Clarity / Exposure / Stability / Noise / Color | Quality threshold |
| Usability | usable / Licensing Status / Use Cases | Pre-screening before inclusion |
| Reuse Suggestions | Suitable as opening hook / emotional beat / transition / background / ending + list of productions already using it | Prevent the same shot from being repeatedly used |
2. Retrieval Discipline (The "Query the Library First" Rule for Downstream)
- When selecting shots for a script, first search the library using semantic tags + emotion + duration for existing shots. If found, reuse them (avoid re-editing, re-rendering).
- Only when no match is found and the footage gap cannot be filled with existing assets should a request for re-shooting / new material be raised (specifying requirements: shot size / duration / emotion / mandatory elements).
- Reuse must leave a receipt:
sourceShotId+usedIn(production/project name) +usedAt; repeated use of the same shot in similar positions must explicitly state the reason.
3. Tagging Discipline
- Tags come from analysis conclusions, not from file names; if uncertain about a tag, it is better to omit it.
- One-to-many entities (e.g., "brand store") are split into two tags: "Brand" and "Scene: Store" for separate retrieval.
- Emotional labels are kept only if supported by visible evidence (facial expressions / posture / environment); avoid labels like "healing" or "sophisticated" that lack evidence.
Process Criteria (Condition → Action → Criterion → Source)
| Condition | Action | Criterion | Source |
|---|---|---|---|
| Shot understanding completed | Generate index entry (identity / tags / entities / emotion / technical / usability) | 100% field completeness | Contract field checklist |
| Duplicate content upload | sha256 match reuses existing asset | No second record generated | Content fingerprint |
| Insufficient confidence in tag | Omit the tag (better omitted than fabricated) | Spot-check tag accuracy rate ≥95% | Manual spot-check |
| Emotional label | Tag only when visible evidence exists (expression / posture / environment) | Number of unsubstantiated labels = 0 | Shot understanding conclusion |
| Reuse selection | First search library by semantic + emotion + duration | If found, reuse; avoid re-editing | Retrieval log |
Failure Modes (Symptom → Detector → Resolution)
| Symptom | Detector | Resolution |
|---|---|---|
| Two records for the same asset | sha256 computation inconsistency | Standardize full-file sha256; deduplicate by content and merge tags |
| Missing a shot that should exist | Tags missing or entity not registered | Re-check shot understanding output; supplement tags and rebuild index entry |
| Tags not matching the frame | Spot-check failure | Re-run the entire batch index; identify whether the issue is analytical or mapping |
| Same shot reused repeatedly | Missing reuse receipt | Supplement the usedIn/usedAt backlink; repeated use in similar positions requires explanation |
5. Index Quality Spot-Check (10% per Batch)
- Randomly select 10% of shots from each batch, manually check 3 items: whether visual tags are accurate, whether entities actually appear, whether usability matches licensing.
- If the non-conformance rate exceeds 10% → re-run the entire batch index (identify whether the issue is analytical or index mapping).