Tutorial videos
Generate captions, documentation and publishing metadata from a scenario run in which every step passed.
A tutorial must show what the app really does. That is why AQK builds video material only from a run of the same scenario in which every check passed.
aqk scenario run create-record --guided
aqk video create create-record --recording ~/Movies/create-record.mp4
The gate
aqk video create <scenario> uses the latest run and stops when
- the run belongs to another scenario or is not a scenario run,
- any check failed or is
not_checked, - a
criticalormajorfinding is open.
The bundle
Written to .aqk/runs/<run-id>/video/<scenario>/:
| File | Content |
|---|---|
interaction-trace.json |
steps with timestamps, targets and captions |
captions.vtt, captions.srt |
one caption per step |
documentation.md |
the steps as a user guide |
youtube-title.txt, youtube-description.md, youtube-chapters.txt |
publishing metadata |
video-object.json |
schema.org VideoObject |
tutorial.mp4, thumbnail.png |
with --recording and FFmpeg installed |
Step durations follow video.duration_target of the scenario, otherwise 4 seconds per step;
chapters follow video.chapters when set.
Recording and composition
On macOS, screencapture -v -k recording.mp4 records the screen. To compose the recording with
title card and step overlays, run the HyperFrames helper on the bundle:
node "$AQK_HOME/adapters/hyperframes/render-tutorial.mjs" .aqk/runs/<run-id>/video/<scenario>
Nothing is uploaded. Publishing stays a manual step behind publishing.require_approval.