---
name: video-export-qa
description: Export a completed basic edit, verify the exact file and create a standalone local HTML playback page using relative media paths. Use for delivery format, decode/sync/frame checks, final listening/viewing coverage and truthful review handoff.
---

# Export and playback QA

Read the [project contract](../video-start-playbook/references/project-contract.md).
Deliver the actual final export and a local review page together, without a
server, Showroom, running app or remote asset dependency.

## Freeze and encode [bl: invariant]

Bind the current brief, A-cut/placement maps, mix, captions and color branches.
Confirm destination format, actual displayed geometry, cadence, duration/frame
count and audio layout. Use the shared reversible defaults when no delivery
spec overrides them. Preserve accepted/prior versions; choose a new output path.

Use available editor/export tools. With FFmpeg, verify codecs/filters locally,
map video/audio explicitly, cap threads and test a bounded representative sample.
Render one final composite from primary sources or lossless intermediates; don't
re-encode a lossy review file repeatedly. Keep optional subtitle and audio stems
editable. A browser review MP4 generally uses H.264 yuv420p/AAC with faststart;
verify playback compatibility rather than assuming an extension proves it.
No upload, publishing, media deletion or backend installation is authorized here.

## Verify the exact bytes [bl: invariant]

Hash and probe the delivered file, decode the complete video/audio, and compare
expected duration/frame count, streams, dimensions, sample rate, cadence and
color signaling. Check the actual first/last frame, every edit join, chapter
boundaries and late sync events. Unexpected black/freeze/gaps/overlaps must be
resolved against the source/story map; detector thresholds are only candidates.
Check captions/graphics at output size and review sound, picture and privacy
through full intervals, including transitions. Render-command success is not
proof that every intended scene survived a filter-graph reinitialization.

Play the exact final file start-to-finish with video and audio at normal speed
when playback tools are available. Inspect intelligibility, complete speech,
readability, timing, smooth motion, mix and color. Record tool, coverage/ranges,
artifact hash and findings. Automated decode, metrics, ASR and sampled stills
remain separate from audiovisual playback and subjective creative acceptance.
If playback is unavailable, say precisely what remains pending; never auto-pass
human creative review. Any byte change requires output-specific revalidation.

## Standalone local handoff [bl: invariant]

Create a plain local HTML page with native `<video controls>` pointing to the
actual final export through a relative path. Keep page and media together.
Do not embed placeholder video, external fonts/scripts, remote media, trackers
or a service dependency. Use the bundled standard-library generator:

In Codex, `${CLAUDE_PLUGIN_ROOT}` is not assumed to exist. Resolve this installed
skill's `SKILL.md` path: its package root is three parents above that file.
Substitute that absolute package root in the helper commands below; keep the
helpers from this same plugin, not an unrelated loose-skill directory.

```sh
python3 "${CLAUDE_PLUGIN_ROOT}/tools/create_review.py" --video /path/to/project/final.mp4 --output /path/to/project/review.html
```

`${CLAUDE_PLUGIN_ROOT}` is the installed package root in Claude Code; other
agents use the package root path. The page names
the exact filename/hash and keeps automated checks, audiovisual playback and
human creative approval visibly separate. A checks JSON may supply factual
mechanical check notes via `--checks /path/to/checks.json`; it cannot set human
review to passed. Confirm the relative media URI resolves to the exact existing
file with no network/server, and actually open/play it if available. An HTML
file existing on disk is not browser playback proof. Optional future hosts/style
packs may consume this same export and receipts without changing its authority.

Return the final file/hash, local HTML page, editable project/decisions, subtitle
sidecar and relevant stems, actual checks/playback coverage, unresolved issues
and exact next action. Report mechanically verified, playback reviewed and
creator accepted as separate states.

## References

- [FFmpeg command documentation](https://ffmpeg.org/ffmpeg.html): explicit stream mapping and encode behavior.
- [MDN video element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video): native controls and local media source.
- [W3C Captions, prerecorded](https://www.w3.org/WAI/WCAG22/Understanding/captions-prerecorded.html): caption delivery considerations.
