popost 4.6.6 → 4.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +6 -6
- package/assets/canvas/assets/{dist-BmD8AP0A.js → dist-CX2mxpwq.js} +1 -1
- package/assets/canvas/assets/{es-CC29Cabv.js → es-BFnFFu6P.js} +1 -1
- package/assets/canvas/assets/{index-DS6BKqT0.css → index-C5rz5H21.css} +1 -1
- package/assets/canvas/assets/{index-DhwyFpu2.js → index-CwqBT_rk.js} +1 -1
- package/assets/canvas/assets/{jszip.min-Bwf_yCrF.js → jszip.min-DqfCBLrH.js} +1 -1
- package/assets/canvas/build-info.json +7 -7
- package/assets/canvas/index.html +2 -2
- package/assets/video/examples/catalogue.json +114 -0
- package/assets/video/examples/list-cards.html +155 -0
- package/assets/video/examples/page-flip.html +163 -0
- package/assets/video/times.js +59 -0
- package/dist/cli.js +2772 -1280
- package/dist/index.js +2243 -846
- package/dist/types/cloud/service.d.ts +2 -0
- package/dist/types/device-login.d.ts +6 -1
- package/dist/types/device-pending.d.ts +11 -0
- package/dist/types/editor/handoff.d.ts +1 -1
- package/dist/types/runtime.d.ts +5 -1
- package/dist/types/system-browser.d.ts +17 -0
- package/dist/types/version.d.ts +1 -1
- package/dist/types/video/commands/replication-books.d.ts +2 -0
- package/dist/types/video/compile/footage.d.ts +2 -0
- package/dist/types/video/compile/index.d.ts +2 -0
- package/dist/types/video/compile/page-bundle.d.ts +1 -1
- package/dist/types/video/compile/page.d.ts +1 -0
- package/dist/types/video/describe/parts.d.ts +3 -1
- package/dist/types/video/eval/readback-kept.d.ts +10 -0
- package/dist/types/video/eval/readback-run.d.ts +5 -1
- package/dist/types/video/generate/cast.d.ts +4 -0
- package/dist/types/video/media/footage.d.ts +1 -0
- package/dist/types/video/page/apply.d.ts +1 -1
- package/dist/types/video/page/contract.d.ts +16 -0
- package/dist/types/video/page/dom.d.ts +5 -0
- package/dist/types/video/page/times.d.ts +31 -0
- package/dist/types/video/preview/protocol.d.ts +1 -0
- package/dist/types/video/preview/reference.d.ts +9 -0
- package/dist/types/video/preview/shell/dom.d.ts +9 -0
- package/dist/types/video/preview/shell/footage.d.ts +1 -0
- package/dist/types/video/preview/shell/i18n.d.ts +1 -0
- package/dist/types/video/preview/shell/studio/copy.d.ts +1 -0
- package/dist/types/video/preview/shell/studio/style.d.ts +2 -2
- package/dist/types/video/preview/shell/studio/ui.d.ts +2 -0
- package/dist/types/video/preview/shell-bundle.d.ts +1 -1
- package/dist/types/video/project/check-sound.d.ts +3 -0
- package/dist/types/video/render/chunked.d.ts +29 -0
- package/dist/types/video/render/chunks.d.ts +39 -0
- package/dist/types/video/render/encode.d.ts +5 -0
- package/dist/types/video/render/index.d.ts +26 -0
- package/dist/types/video/render/record.d.ts +1 -1
- package/dist/types/video/render/session.d.ts +17 -0
- package/dist/types/video/render/shots.d.ts +11 -0
- package/dist/types/video/replication/books.d.ts +64 -0
- package/dist/types/video/replication/production.d.ts +5 -0
- package/dist/types/video/replication/retiming.d.ts +16 -0
- package/dist/types/video/replication/review.d.ts +50 -0
- package/dist/types/video/retarget/fps.d.ts +3 -5
- package/dist/types/video/retarget/index.d.ts +10 -2
- package/dist/types/video/retarget/speak.d.ts +2 -0
- package/dist/types/video/retarget/takes.d.ts +66 -0
- package/dist/types/video/retarget/tempo.d.ts +2 -0
- package/dist/types/video/speech/types.d.ts +5 -0
- package/dist/types/video/template/fill.d.ts +2 -0
- package/dist/types/video/template/save.d.ts +2 -0
- package/dist/types/video/template/structure.d.ts +1 -0
- package/dist/types/video/voice/cache.d.ts +10 -0
- package/dist/types/video/voice/hosted.d.ts +10 -4
- package/dist/types/video/voice/index.d.ts +25 -1
- package/dist/types/video/wallet.d.ts +7 -0
- package/dist/types/workflow/post-bundle.d.ts +9 -2
- package/package.json +1 -1
- package/references/host-editor.md +2 -2
- package/references/image-workflow.md +1 -1
- package/references/onboarding.md +5 -3
- package/references/post-bundle.md +1 -1
- package/references/providers.md +1 -1
- package/references/video-editing.md +4 -0
- package/references/video-effects.md +9 -1
- package/references/video-performers.md +12 -2
- package/references/video-project.md +5 -3
- package/references/video-replication.md +32 -3
- package/references/video-scenes.md +52 -2
- package/references/video-sfx.md +1 -1
- package/references/video-sound.md +18 -3
- package/references/video-step-0-machine.md +61 -0
- package/references/video-step-1-read.md +168 -0
- package/references/video-step-2-structure.md +24 -0
- package/references/video-step-3-content.md +117 -0
- package/references/video-step-4-lines.md +88 -0
- package/references/video-step-5-scenes.md +126 -0
- package/references/video-step-6-voice.md +53 -0
- package/references/video-step-7-deliver.md +92 -0
- package/references/video-templates.md +17 -7
- package/references/video-tools.md +8 -6
- package/references/video.md +50 -666
package/references/video.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Making a video
|
|
2
2
|
|
|
3
3
|
Re-creating a reference video with new content ("the same effects and motion, about my topic") with `popost video`.
|
|
4
|
-
Read this page once, then do steps 0 to 7 in order
|
|
4
|
+
Read this page once, then do steps 0 to 7 in order, each on its own page (open it when you reach the step, not
|
|
5
|
+
before); "Done when" at the end of a step says what must be true before the next one.
|
|
5
6
|
|
|
6
7
|
Installation, dependency preparation, service choice and spending follow the shared [onboarding policy](onboarding.md).
|
|
7
8
|
Use the user's existing task and authorization rather than starting a second welcome, setup or fee interview for video.
|
|
@@ -15,7 +16,7 @@ keep their previous behavior; an approved repair uses a separate project and doe
|
|
|
15
16
|
|
|
16
17
|
- For Jianying Pro or CapCut delivery, use [direct desktop draft export](video-draft-export.md). Local Studio saves into the application's drafts folder and offers Open/Restart after success; a ZIP download is not this interaction.
|
|
17
18
|
|
|
18
|
-
- For any generated people or audible dialogue, read [people and shared voices](video-performers.md). Follow explicit user character requirements/material first; otherwise match the role and
|
|
19
|
+
- For any generated people or audible dialogue, read [people and shared voices](video-performers.md). Follow explicit user character requirements/material first; otherwise match the role, mood and broad facial style with a new face. Give photographic humans natural skin and living performance, including broad male/female briefs; prepare a readable portrait for talking heads. Keeping a presenter, avatar window or layout does not select the original person's identity. One generated clip may define its new person in the prompt; multiple generated clips reuse one new identity image. Visible mouths and the final audio share one timing source; a mixed video uses one registered voice profile for its speaker and voice-over. A person who speaks on camera in the reference speaks on camera in the re-make, in a generated clip that says the lines; never silent footage with a voice-over on top.
|
|
19
20
|
- Before authoring a continuously moving shot or any motion-graphics reference, read [video-motion.md](video-motion.md)
|
|
20
21
|
and search the [effects catalogue](video-effects.md). Before planning voice, music, clip audio or effects, read
|
|
21
22
|
[video-sound.md](video-sound.md); before placing effects, read [video-sfx.md](video-sfx.md). These production
|
|
@@ -50,7 +51,7 @@ keep their previous behavior; an approved repair uses a separate project and doe
|
|
|
50
51
|
each has `level` (`error` stops you, `warning` does not), `at` (where), `message` and `fix`. Do what `fix`
|
|
51
52
|
says and run the same command again.
|
|
52
53
|
- Read only the files this page names. Never open `measure.json`, `text.json`, `transcript.json`,
|
|
53
|
-
`reference.measure.json`, `slots.json`, `*.words.json` or `.cache/`: they are data for the programs.
|
|
54
|
+
`reference.measure.json`, `slots.json`, `*.words.json`, `readback.*.json` or `.cache/`: they are data for the programs.
|
|
54
55
|
- Open pictures one at a time: each one stays in your context. The measured reference clock, the source contract,
|
|
55
56
|
capture plan and final compiled target map own their respective times. Keep reference, target and footage FPS
|
|
56
57
|
explicit; never guess cumulative scene offsets. Never invent numbers, quotes, names or results that the user or a
|
|
@@ -69,12 +70,21 @@ Keep one working directory and the same project throughout a commission. Measure
|
|
|
69
70
|
them even when a filename and timestamp stay the same. An unreadable or invalid cache is recomputed. Set
|
|
70
71
|
`POPOST_VIDEO_CACHE=off` to diagnose a cold run; do not delete accepted projects or media to make a benchmark cold.
|
|
71
72
|
The cache contains measurements, not a quality verdict. Every changed final render still needs its own review.
|
|
73
|
+
Lines spoken by popost.ai are kept the same way under `.popost/video-cache/voice/`, by voice, words and speed: a line
|
|
74
|
+
asked for again is taken from there, priced at nothing and not sent (`POPOST_VIDEO_CACHE=off` turns this off too).
|
|
75
|
+
A whole `render` keeps each shot it encoded (split into chunks of at most four seconds) in the project's
|
|
76
|
+
`.cache/render-chunks/`, keyed by everything the shot shows (the drawn page state, scene files, pictures, fonts and render settings). After a local fix, render the whole
|
|
77
|
+
video again: only the shots the fix touched are drawn, the others are copied, and `chunks` in the answer says how
|
|
78
|
+
many were reused. A scene may load any file of `assets/`, so changing one re-draws the shots with scenes.
|
|
79
|
+
A change to a shared scene file invalidates every chunk that uses it; split independently edited scenes into
|
|
80
|
+
separate files. Cache-key calculation does not render the scenes. The result is the same picture as a full redraw; `--no-reuse` (or `POPOST_VIDEO_CACHE=off`) draws everything again.
|
|
72
81
|
|
|
73
82
|
Visually confirmed caption roles remain authoritative when a template later checks them against speech. Page text
|
|
74
83
|
that a reading excluded cannot become a subtitle again merely because the narrator mentions similar words. Keep
|
|
75
84
|
the confirmed reading instead of repairing the same extra caption or voice fragment in every fill.
|
|
76
85
|
|
|
77
|
-
Request all moments needed from one video in a single `look --at` call
|
|
86
|
+
Request all moments needed from one video in a single `look --at` call, and all frames of a project in a single
|
|
87
|
+
`frame --frames` call (one browser session; never one `frame` command a frame, nor a loop of them). Review pictures are extracted together at
|
|
78
88
|
the exact requested source frames, including explicit original/remake pairs; batching does not reduce their number
|
|
79
89
|
or resolution. Reuse the described reference and its pictures instead of calling `describe` again after a scene edit.
|
|
80
90
|
|
|
@@ -86,671 +96,45 @@ commands, including commands from other agents; separate `POPOST_CPUS` limits do
|
|
|
86
96
|
Submit remote work within its authorization, preserve its request key, and advance independent local work while
|
|
87
97
|
waiting. Keep source/target event coverage, caption and sound checks, and editable delivery unchanged.
|
|
88
98
|
|
|
89
|
-
|
|
99
|
+
For a repair, run `preflight` once on each changed project state: it already includes project, layout, scene and
|
|
100
|
+
strict-replication pre-render checks. Do not repeat those component checks on the same unchanged state unless
|
|
101
|
+
locating a reported problem. Batch the requested preview frames and inspect the existing review sheets together
|
|
102
|
+
where their resolution permits; retain every required event and audio finding. Read command help once when a form
|
|
103
|
+
is unknown rather than guessing subcommands. `sheet --files a.jpg b.jpg` takes separate paths, not one comma-joined
|
|
104
|
+
path. A quote's exit code 3 is expected confirmation flow, not a generation failure; carry existing authorization
|
|
105
|
+
forward and distinguish quotes, cache hits, genuine failures and diagnosis time in the production record.
|
|
90
106
|
|
|
91
|
-
|
|
92
|
-
popost video doctor
|
|
93
|
-
```
|
|
107
|
+
## The steps
|
|
94
108
|
|
|
95
|
-
|
|
96
|
-
compatible browser, or select its existing executable, then rerun `doctor` and verify the needed operation.
|
|
97
|
-
Follow [video-tools.md](video-tools.md#check-the-installation-before-testing-a-reference). If preparation cannot
|
|
98
|
-
proceed, report the specific blocker and preserve work; stop dependent steps, not unrelated useful local work.
|
|
99
|
-
- `tools`: `"popost.ai"` is the connected account (`hosted` says what it does), an environment variable name is a
|
|
100
|
-
tool of the user's own (it goes first), `null` means not set up. What each costs:
|
|
101
|
-
- `readText` null: automatic caption reading is unavailable. Read the words from the actual pictures (step 1) and
|
|
102
|
-
put them into the scenes (step 5), or prepare a selected reader if needed. Do not omit required caption beats.
|
|
103
|
-
- `transcribe` `"popost.ai"`: what the reference says is transcribed on popost.ai, paid in credits (in the cost
|
|
104
|
-
overview below). `null`, with `connect`: no account is connected and there is no transcriber of the user's own,
|
|
105
|
-
so what the reference says has not been read. If the reference has speech that the task needs, tell the user once that connecting an
|
|
106
|
-
account (`popost auth login`, recommended) adds transcription and voice-over; a tool of their own in
|
|
107
|
-
`POPOST_ASR_CMD` is the other way (`video-tools.md`). Resolve that gap before claiming speech/timing analysis;
|
|
108
|
-
a reference known to have no speech does not require paid transcription or a local speech-model installation.
|
|
109
|
-
- `speak` `"popost.ai"`: voice-over with `popost:` voices (`popost:default-male`, `popost:default-female`,
|
|
110
|
-
`popost:VOICE_ID`; `video-performers.md`), paid in credits. `null`: no voice-over. Leave out `--voice`, `"voice"`,
|
|
111
|
-
`--speak`, `--keep-length`, `--fit-tempo` and `--pace` below when voice-over is not required. If required narration
|
|
112
|
-
cannot be made, resolve the chosen speaker service or obtain user audio/a decision before proceeding without it.
|
|
113
|
-
- `music` `"popost.ai"` (with a connected account): a music bed can be generated on popost.ai when the reading of
|
|
114
|
-
the reference has music; the music plan decides (`video-sound.md`, read it before step 1's cost overview).
|
|
115
|
-
`null`: no generated music; the video's sound is its voice-over, a sound file the user gave, or the sound its
|
|
116
|
-
clips came with. A missing service does not authorize silently dropping sound required by the brief/reference.
|
|
117
|
-
- `generate` null: use captured pages, user footage and scenes when sufficient. If clips are required, offer the
|
|
118
|
-
integrated generator or preserve the user's chosen adapter, configure only that capability, and quote it before
|
|
119
|
-
submission (`video-tools.md`, "The built-in generator"). Missing footage is not permission to replace it with an
|
|
120
|
-
unrelated scene or leave an empty slot.
|
|
121
|
-
- `generate` set: generated clips cost money; with the built-in generator (`popost video generate`) popost.ai
|
|
122
|
-
credits (`video-tools.md`, "The built-in generator").
|
|
123
|
-
|
|
124
|
-
Put the actual source at `reference.mp4` (`cp` a supplied local file, or download a readable video file URL) before
|
|
125
|
-
quoting speech analysis. Before the first paid call, give the project its task title (free). Inspect the account only when using Popost services;
|
|
126
|
-
quote hosted reference transcription when the reference reading needs it:
|
|
127
|
-
|
|
128
|
-
```bash
|
|
129
|
-
popost usage --dir project --title "<a few words naming this video for the user: the product and the platform>"
|
|
130
|
-
popost account # selected Popost account and balance, when needed
|
|
131
|
-
popost video transcript reference.mp4 --quote # when hosted speech analysis is needed; quote is free
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
The first line names the video's line on the account page, in the user's language (for example "Coffee grinder
|
|
135
|
-
for TikTok"); run it once, before the first paid command (it is free and creates `project/`). Any paid transcription
|
|
136
|
-
must be covered before it runs: apply the existing analysis/commission authorization, or explain its quote and obtain
|
|
137
|
-
an initial analysis authorization. Do not require a separate yes when already covered. Propose no voice-over yet:
|
|
138
|
-
whether the video has one, and whether its people speak, is decided by
|
|
139
|
-
what the reference says and who says it (step 1). Refine the remaining production estimate after step 1, applying any
|
|
140
|
-
existing commission budget and obtaining a new decision only for missing coverage.
|
|
141
|
-
|
|
142
|
-
Done when: required local tools work, missing optional capabilities are understood, and any necessary paid analysis
|
|
143
|
-
is covered. If the user declines a capability essential to faithful production, agree a concrete alternative/input
|
|
144
|
-
instead of silently omitting it.
|
|
145
|
-
|
|
146
|
-
## 1. Read the reference
|
|
147
|
-
|
|
148
|
-
Put the reference at `reference.mp4` (`cp` a local file, or `curl -L -o reference.mp4 <url to the file>`), then:
|
|
149
|
-
|
|
150
|
-
```bash
|
|
151
|
-
popost video describe reference.mp4 --out ref --project project --confirm --max-credits <left>
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
With `transcribe` `"popost.ai"` this pays for the transcription the user agreed to in step 0 (`<left>` is here the
|
|
155
|
-
quote's `credits`; `--project project`: under the video's task, though the project has no files yet); when the user
|
|
156
|
-
said no to it, write `--no-speech` instead of `--confirm --max-credits`. A transcription that fails does not stop
|
|
157
|
-
the reading (`leftOut` says so): run the same command again, which starts a new one. `describe` measures shots, cuts, transitions, camera, motion, how much the picture moves, colours (captions and speech with those tools) and draws
|
|
158
|
-
the pictures to open, consecutive frames with the time of each under it: `ref/opening.jpg` (the first 3 s, 6 frames a
|
|
159
|
-
second), `ref/shots/NN-frames.jpg` (each shot from just before the change into it to its end, up to 12 frames) and
|
|
160
|
-
`ref/transitions/NN.jpg` (each change that is not a plain cut, frame by frame from 0.2 s before to 0.2 s after, named
|
|
161
|
-
by the shot it leads into). A time on an orange band is a frame inside a measured transition. With a text reader and a
|
|
162
|
-
transcriber `describe` can take a few minutes; every 15 s it writes a line on stderr saying which part is where
|
|
163
|
-
(`describe, 45 s: measure: done in 12 s; text: the reader is reading 150 frames (40 s); ...`). Give it up to five
|
|
164
|
-
minutes if your shell limits how long a command runs.
|
|
165
|
-
|
|
166
|
-
Read `ref/REFERENCE.md` (length, size, shots, and under "Not recovered" what the reading could not tell: each entry
|
|
167
|
-
says what, where, why and how to settle it) and `ref/timeline.md` (the beats: the lines
|
|
168
|
-
said or shown, numbered from 0; one line per shot). A line `Frame:` in REFERENCE.md means the shots show their content
|
|
169
|
-
inside one constant frame (a ground, a border): it gives the box of the content and what to build; `Black bars:` means
|
|
170
|
-
a picture of other proportions with bars around it; when it says the captions or a title sit on the black, every shot
|
|
171
|
-
keeps the picture in that box, or the captions end up over it.
|
|
172
|
-
|
|
173
|
-
Then, before you write any plan, open every picture: `ref/opening.jpg`, then for each shot NN `ref/shots/NN-frames.jpg`
|
|
174
|
-
with `ref/shots/NN.md` (colours, texts and where they sit, motion events), and every `ref/transitions/NN.jpg`. The labels
|
|
175
|
-
in the text files ("dissolve 13f", "slide cover right 50f", "Most likely: ...", "footage with 16 lines of its own text")
|
|
176
|
-
are measurements, and measurements can be wrong: when the frames show something else, what the frames show wins.
|
|
177
|
-
|
|
178
|
-
- A transition that reads "(does not fit well: look at transitions/NN.jpg; it may be an effect of its own)" is one
|
|
179
|
-
the measured kind does not explain. Go through its frames in order and say what moves: an object that flies across
|
|
180
|
-
and pulls the next picture in behind it, pages that fan out in depth, a reveal along a curve, elements that come in
|
|
181
|
-
one after another.
|
|
182
|
-
- A shot "most likely part of the change into #NN" (very short, on a flat ground, something moving) belongs to that
|
|
183
|
-
transition: one effect across the boundary, not a designed picture of its own.
|
|
184
|
-
- An effect that is not one of the standard transitions (cut, fade, flash, dissolve, wipe, slide, zoom, spin, blur,
|
|
185
|
-
glitch, shake, whip) is re-made as a scene that draws it, frame by frame as the pictures show it, and not as the
|
|
186
|
-
nearest standard transition.
|
|
187
|
-
|
|
188
|
-
"Most likely: ..." names the kind of shot the measured facts point to, with the facts (a recording of a page or an app,
|
|
189
|
-
a designed picture, filmed or photographic material): a hint that the frames confirm or correct, absent when the facts
|
|
190
|
-
do not say. The line "The camera ends on [x, y, width, height]" gives the part of the frame a clear zoom or pan goes to
|
|
191
|
-
(fractions of the canvas; a pull-out "starts on" one): aim your capture plan's zoom or your scene's camera at the same
|
|
192
|
-
part of your picture. To see a moment closer, `popost video look reference.mp4 --at 3.6,3.9,4.2 --out ref/look-in`
|
|
193
|
-
(seconds of the video; the pictures give them) writes those frames full size: open `ref/look-in/at-01.jpg` and the next ones.
|
|
194
|
-
|
|
195
|
-
The line `Motion amount:` of a shot says how much its picture changes between frames 1/15 s apart (0 is a still
|
|
196
|
-
picture; REFERENCE.md has the video's). It is a measurement, and it does not say why the picture moves (the camera,
|
|
197
|
-
the people, footage played fast). The shots of the re-make are held to it: `compare` gives both amounts for every shot.
|
|
198
|
-
|
|
199
|
-
A section `Paths` in a shot's file gives what was followed across the screen. For a change that an object leads, or
|
|
200
|
-
whose edge is not straight: the object's start and end (its centre, fractions of the canvas), its path angle (0 is to
|
|
201
|
-
the right, 90 down, -90 up), its speed, its size, the frames it takes, and the shape of the edge that opens the new
|
|
202
|
-
picture (straight with where it travels, a wedge with its opening, a circle with its centre). For an element that
|
|
203
|
-
travels while it enters or leaves: the same way and size. These are measured: set a scene from these numbers, not from
|
|
204
|
-
an impression of the frames (`ref/tracks.json` has the sampled positions, for a path that bends). A change that moves or
|
|
205
|
-
mixes its pictures (a push, a dissolve) has no path, and neither has what moves over a picture that does not hold still.
|
|
206
|
-
|
|
207
|
-
Write `ref/elements.json` from what you saw, one entry per shot: its layout in generic words (a full-frame screen
|
|
208
|
-
recording, a window on a designed ground, a title card, a person to camera), its layers (each with its box, a look
|
|
209
|
-
precise enough to redraw it, what it shows and its role: `design` keeps its look, `content` gets the new subject,
|
|
210
|
-
`platform` and `creator` are never re-made), the change into it (`custom`, described frame by frame, when it is no
|
|
211
|
-
standard transition), the captions' style and the words drawn differently, and every mark with what it marks and why.
|
|
212
|
-
What stays open after you looked (an entry of "Not recovered" you could not settle, anything you could not see: too
|
|
213
|
-
small, too fast, covered) goes into `"unrecovered"` beside `"shots"`: `{"what", "where": {"shot": N}, "why", "assumed":
|
|
214
|
-
what the re-make does instead}`. Label what you write with `status`: `measured` for a value copied from the reading (its lines end in a tag such as
|
|
215
|
-
`[measured 0.76]`, `[inferred: ...]`, `[unknown: ...]`), `inferred` for what you saw in the frames, `unknown` for what
|
|
216
|
-
you could not tell.
|
|
217
|
-
The schema, the roles and an example: `<skill>/references/video-elements.md`; `popost video elements questions ref`
|
|
218
|
-
prints them with this video's shots and the pictures in order. Then:
|
|
219
|
-
|
|
220
|
-
If `timeline.md` calls page headings captions, or misses the visible subtitle lines, include `captions.lines` in
|
|
221
|
-
the affected shots (the actual lines seen in the pictures, `[]` for none). The caption layer's box identifies the
|
|
222
|
-
band; the program matches the confirmed words to OCR times when saving the template. Answer unmatched-line warnings
|
|
223
|
-
before proceeding; no timing is guessed for a line OCR did not read.
|
|
224
|
-
|
|
225
|
-
```bash
|
|
226
|
-
popost video elements check ref
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
It holds the file to the measurement: a shot without an entry, a box outside the frame, a custom change without a
|
|
230
|
-
description, a watermark no `platform` layer covers, a mark without its reason, an end card of the platform that is not
|
|
231
|
-
dropped, a measured value contradicted without a note. Correct every error and answer every warning (each says what it found and what to write) until it prints
|
|
232
|
-
`"ok": true`.
|
|
233
|
-
|
|
234
|
-
The kind of the speech. REFERENCE.md has a line `Speech kind:` (or says why nothing was transcribed); the kind decides
|
|
235
|
-
what the re-make does with a voice:
|
|
236
|
-
|
|
237
|
-
| Kind | What it is | The re-make |
|
|
109
|
+
| Step | Page | What it does |
|
|
238
110
|
|---|---|---|
|
|
239
|
-
|
|
|
240
|
-
|
|
|
241
|
-
| `
|
|
242
|
-
|
|
|
243
|
-
|
|
|
244
|
-
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
syllables or fewer on average). Whether heard words are narration, said on camera or sung it cannot hear:
|
|
248
|
-
`Speech kind: unconfirmed` means you decide it from the frames.
|
|
249
|
-
|
|
250
|
-
```bash
|
|
251
|
-
popost video speech-kind show ref
|
|
252
|
-
popost video speech-kind confirm ref --narration <phrases> --on-camera <phrases>
|
|
253
|
-
```
|
|
254
|
-
|
|
255
|
-
`show` lists the phrases, each with its time and `picture` (a sheet in `ref/speech/` with the frame at the middle of
|
|
256
|
-
each phrase, its time under it). Open the sheets and hold each phrase against its frame and the frames of its shot:
|
|
257
|
-
is the person who says these words visible? `confirm` records one kind for every phrase (`--narration`,
|
|
258
|
-
`--on-camera`, `--sung`, `--fragments`, each with the numbers of its phrases, singly or as ranges like `2-6`; `--all <kind>` for all of them); a video
|
|
259
|
-
can be part narration, part on camera. It writes `timeline.md` again: read its beats once more ("on camera" marks a
|
|
260
|
-
beat a person says; sung words and fragments are no beats). `template save` refuses a reference whose kind is
|
|
261
|
-
unconfirmed.
|
|
262
|
-
|
|
263
|
-
The cost overview and the one budget, now that the reference is read (leave out what this video does not use):
|
|
264
|
-
|
|
265
|
-
- Voice-over, only when the kinds include `narration`: `popost video voice quote --voice default-male --text "<a
|
|
266
|
-
script as long as the reference's narration>"` (an estimate until the lines are written), and a little for pace
|
|
267
|
-
calibration (`plan --voice` speaks one sentence). No narration: no voice-over in the overview, and none is made,
|
|
268
|
-
unless the user asks for one in their own words.
|
|
269
|
-
- Generated clips and pictures: their price per second or per picture (`popost video generate --models`) times what
|
|
270
|
-
you plan. Every on-camera stretch is a clip in which a person speaks, as long as the stretch (`video-performers.md`).
|
|
271
|
-
- The transcription already paid (`chargedCredits` of `describe`).
|
|
272
|
-
- The music plan: `popost video music plan --project project --reading ref` proposes it from the reading of the
|
|
273
|
-
reference's sound (one bed: the user's file first; else the reference's own music, kept as it is, when nobody speaks
|
|
274
|
-
over it; else generated when the reference has music; none when it has none) with its price; put its `show` lines
|
|
275
|
-
in this overview, so the user confirms the music together with the budget: which music the video gets, and that a
|
|
276
|
-
music file of their own replaces it. Record what they agree to (`video-sound.md`). When the reference speaks over
|
|
277
|
-
its music, ask for their own file first. When it says generated music is not available, say that one line and plan
|
|
278
|
-
without a generated bed.
|
|
279
|
-
|
|
280
|
-
Show the remaining items, estimated total and balance, including any proposed quality-repair allowance. Apply the
|
|
281
|
-
existing commission/batch allocation when it covers them; agree a new scope/budget only where coverage is missing
|
|
282
|
-
(the shared money rule above). Do not make every video in an already authorized batch repeat the same fee interview.
|
|
283
|
-
The user agrees once; do not ask per command after that. When speaking people cost more than the user wants to spend,
|
|
284
|
-
the user decides what to do: never turn a speaking person into silent footage with a narration to save money.
|
|
285
|
-
|
|
286
|
-
Done when: you have opened every picture of `ref/`, `popost video elements check ref` prints `"ok": true` (every
|
|
287
|
-
shot has an entry that says its layout, how it begins and ends as its frames show it, and which layers are the
|
|
288
|
-
platform's or the author's), the speech kind is confirmed, and the user agreed a budget (or no paid work is planned).
|
|
289
|
-
|
|
290
|
-
Before saving a new replication template, run `popost video replication init ref --reference reference.mp4`,
|
|
291
|
-
complete `replication.json` from the actual source video/audio, and run
|
|
292
|
-
`popost video replication check ref --reference reference.mp4`. Include short in-shot events as well as cuts:
|
|
293
|
-
typing, cursor/marks, masked rolling digits, actor visibility, camera/focus moves and prop causality. Uncertain
|
|
294
|
-
speech/style or an unreviewed empty inventory stops paid production. A song does not become a narrator because ASR
|
|
295
|
-
recognized its lyrics. The complete contract and its local evidence are carried into the template and filled project.
|
|
296
|
-
|
|
297
|
-
## 2. Keep its structure
|
|
298
|
-
|
|
299
|
-
```bash
|
|
300
|
-
popost video template save ref --out template --name ref
|
|
301
|
-
popost video template show template
|
|
302
|
-
```
|
|
303
|
-
|
|
304
|
-
From `template show` read `canvas` and `card`. `shots[k]` is one entry per shot, in order: each keeps its length,
|
|
305
|
-
its cut or transition and its place; you choose what fills it. `captions[i]` is the new line of beat i (the card shows the reference's line and its length).
|
|
306
|
-
Each is a slot, a place for new content with a limit ("A caption line holds at most N full-width or M Latin
|
|
307
|
-
characters"). `slots.captions.box` is the caption band, `[x, y, width, height]` as fractions of the canvas.
|
|
308
|
-
|
|
309
|
-
If `beats` is 0 but the reference shows words (no text reader), there is no caption band: the words of each shot
|
|
310
|
-
go into its scene (step 5). More: `<skill>/references/video-templates.md`.
|
|
311
|
-
|
|
312
|
-
`template save` reads `ref/elements.json`: TEMPLATE.md names each shot's layout, the layers to keep, the places for the
|
|
313
|
-
new subject and the layers dropped (`template show` prints all of it as `shotElements`, with every box and look). A
|
|
314
|
-
change in that is an effect of its own stays `custom`, never a preset: the engine cuts there and a scene of yours
|
|
315
|
-
draws it (step 5). A last shot the reading dropped (the platform's end card) is left out, and the template's last
|
|
316
|
-
shot is your own closing. After correcting `elements.json`, save the template again.
|
|
317
|
-
|
|
318
|
-
Done when: you know the canvas size, the number of shots and beats, and the caption limit.
|
|
319
|
-
|
|
320
|
-
## 3. Collect the new content
|
|
321
|
-
|
|
322
|
-
The user's topic decides what the video shows. Before designing any scene, collect every source the request names (a
|
|
323
|
-
page, a README, a file), each with:
|
|
324
|
-
|
|
325
|
-
```bash
|
|
326
|
-
popost video source https://example.com/ --out project/source
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
It fetches that one page (no link is followed), saves its text into `project/source/` and downloads the pictures it
|
|
330
|
-
references into `project/source/pictures/`, the logo first, badges and tracking pixels left out. It prints an
|
|
331
|
-
inventory: each picture with its `file`, what the source `says` of it (its alt text), the `heading` it stands under and
|
|
332
|
-
its pixel size; `colours` (those of an SVG logo, a page's theme colour; `neutral` marks white, black and grays);
|
|
333
|
-
`site` (links to what is most likely the product's own site: candidates for `capture`) and `skipped`. Read the saved
|
|
334
|
-
text and open the pictures you plan to use. Then:
|
|
335
|
-
|
|
336
|
-
- Anything that shows the product or its interface is a real picture of the sources or a capture of its own pages (a
|
|
337
|
-
`picture` shot, an `"image"` item, an `<img>` in a scene: `../source/pictures/...` from the scene file). Never draw
|
|
338
|
-
an imitation of a product's interface in HTML. An abstract diagram (steps, a flow, a number) is fine, and must look
|
|
339
|
-
abstract. The logo is the collected file, never redrawn; brand colours come from `colours`.
|
|
340
|
-
- Pictures from third parties are not used, and facts come from first-party sources only: the request, the product's
|
|
341
|
-
own pages and repository. `video check` and `scene check` warn when the sources gave pictures and nothing in the
|
|
342
|
-
project shows one.
|
|
343
|
-
|
|
344
|
-
Use only what the sources say. When a source exists in several languages (a page with a language switch, a README in two languages),
|
|
345
|
-
collect the one in the language of the video, so that what is shown and what is said match. Copy the user's pictures and clips into `project/assets/` (`mkdir -p project/assets project/scenes`).
|
|
346
|
-
|
|
347
|
-
Every shot keeps its layout kind (TEMPLATE.md, `layout`): a full-frame recording stays a full-frame recording, a window
|
|
348
|
-
on a designed ground stays one, a person to camera stays one. When the new subject has no material of the same kind
|
|
349
|
-
for a shot, find its closest real material for that layout (another page, another recording, another photo), never
|
|
350
|
-
another layout: `template check` and `video check` warn when a shot read as full-frame footage is built as a designed
|
|
351
|
-
scene with small pictures, and the other way round; they also warn when the main picture of a shot (the reading's box) is rebuilt with no picture at all, or much smaller, larger or elsewhere (a full-frame recording drawn as a slide, a large window as a small one).
|
|
352
|
-
|
|
353
|
-
A web page becomes one of two things. (a) A directed recording (footage), when the page must be seen working:
|
|
354
|
-
scrolling, a click, typing. As in the reference, it shows one part of the page large enough to read, a box drawn
|
|
355
|
-
round what the voice names, a pointer that moves to it and clicks; a whole page scrolling by is too small to read.
|
|
356
|
-
(b) A still in a scene, when the shot is a designed picture with the page inside it (a framed window on a ground, a
|
|
357
|
-
zoom onto one number with a box drawn round it, screens side by side): do 1 to 3 below, then
|
|
358
|
-
`popost video capture <url> --size 1280x720 --hide '...' --still project/assets/page-01.png` (`--at <selector>` places
|
|
359
|
-
the window, `--full-page` takes all of the page) and write the scene with the screen helper, its steps addressed by
|
|
360
|
-
the `box` of each element from `--outline` (`<skill>/references/video-scenes.md`, "A screen inside a scene"). For
|
|
361
|
-
(a), make one recording per footage shot (one for shots that show the same place):
|
|
362
|
-
|
|
363
|
-
1. From the reference shot (its frames, its entry in `ref/elements.json`) decide what the shot shows: which part of the page, how
|
|
364
|
-
large, what is pointed at or clicked. Draft the line the voice says there (step 4 uses it). Note both under the shot.
|
|
365
|
-
2. Outline the page at the canvas size (step 2): `popost video capture https://example.com/pricing --size 1280x720 --outline`.
|
|
366
|
-
It prints `text.medianPx` (how tall the text is in the video), `sections` (headings, `y` px from the top),
|
|
367
|
-
`targets` (buttons, fields, cards, code, pictures, large numbers, links) and `overlays` (what is fixed over the
|
|
368
|
-
window), each with a `selector`. If `medianPx` is under 2% of the height (14 at 720), add `--zoom 1.5` to
|
|
369
|
-
every `capture` of this page and outline again.
|
|
370
|
-
3. Hide every overlay except the one of kind `header` (cookie banners, language pop-ups, chat buttons) with
|
|
371
|
-
`--hide 'div.cookie-banner,div.lang-switch'`, their selectors as `--outline` printed them.
|
|
372
|
-
4. Write the plan, `capture-01.json`: scroll to the section, zoom to the element the line is about, highlight what
|
|
373
|
-
the line names, point and click when the reference does, hold. A shot whose reading says its page scrolls, zooms, changes page or has a pointer that moves needs this directed recording (or the screen helper's steps in a scene), never a still with a slow drift: the checks warn. Copy each selector from `--outline` exactly. 30
|
|
374
|
-
frames are a second; make the plan 1.5 times as long as the shot, so that a longer voice does not run out of
|
|
375
|
-
footage. All steps: `<skill>/references/video-tools.md`, "Capture plans". This one lasts 9.5 s:
|
|
376
|
-
|
|
377
|
-
```json
|
|
378
|
-
[{ "hold": 15 }, { "scroll": { "to": "#pricing", "frames": 40 } },
|
|
379
|
-
{ "zoom": { "to": "div.plan-pro", "frames": 25, "fill": 0.7 } }, { "highlight": { "to": "div.plan-pro .price", "frames": 12 } },
|
|
380
|
-
{ "hold": 45 }, { "point": { "to": "button.buy-pro", "frames": 18 } }, { "click": "button.buy-pro" }, { "hold": 120 }]
|
|
381
|
-
```
|
|
111
|
+
| 0 | [What the machine has](video-step-0-machine.md) | the local tools, the speaker and the models at hand (`video doctor`); what a missing one costs |
|
|
112
|
+
| 1 | [Read the reference](video-step-1-read.md) | `describe` the reference, open every picture of `ref/`, confirm the speech kinds, check the reading (`elements check`), agree the cost |
|
|
113
|
+
| 2 | [Keep its structure](video-step-2-structure.md) | `template save` and `template show`: the canvas, the shots, the beats and the caption limits |
|
|
114
|
+
| 3 | [Collect the new content](video-step-3-content.md) | collect the user's sources (pages, captures, pictures, footage, generated clips) into `project/assets/` |
|
|
115
|
+
| 4 | [Write the lines and the fill](video-step-4-lines.md) | the brief, the lines within the voice's budgets (`plan template --dry`), `fill.json`, `template check` |
|
|
116
|
+
| 5 | [Write the scenes](video-step-5-scenes.md) | one HTML scene per designed shot, with the reference's layout and motion; `scene check` |
|
|
117
|
+
| 6 | [Build with the voice, and check](video-step-6-voice.md) | `template fill --speak`: the narration in takes, the picture following it; sound effects, `preflight`, the checks |
|
|
118
|
+
| 7 | [Render, compare, deliver](video-step-7-deliver.md) | render, `compare` with the reference, fix and review, deliver the editable Studio |
|
|
382
119
|
|
|
383
|
-
|
|
384
|
-
`--caption-band` is the top of the caption band, which covers the lowest part of the picture: the second number of
|
|
385
|
-
`slots.captions.box` from `template show` (step 2), such as 0.82. A zoom then ends with its element above the band,
|
|
386
|
-
and a note says when it cannot or when a highlight lies under the band. Leave it out only for a video without
|
|
387
|
-
captions (`template show` has no `slots.captions`). Each of its `notes` says what was wrong and what to do (hide
|
|
388
|
-
an element that still covers the window, zoom to a smaller element, scroll first). Correct the plan or the options
|
|
389
|
-
and record again. Frame the page so that what the line names sits above the band, and large text of the page does
|
|
390
|
-
not lie under the captions.
|
|
391
|
-
6. Look at two frames of it, when the zoom has ended and near the end (seconds; this plan has zoomed by 2.7 s):
|
|
392
|
-
`popost video look project/assets/page-01.mp4 --at 3,8 --out look/page-01`, then open `look/page-01/at-01.jpg`
|
|
393
|
-
and `at-02.jpg`. Use the recording only when the text the line is about is readable, the element is large near
|
|
394
|
-
the middle and nothing covers it. Otherwise zoom closer or hide what covers it, and record again.
|
|
120
|
+
## Pages
|
|
395
121
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
(`video-tools.md`, "Generated clips": the request, the price, what it prints). The clips are made on popost.ai while
|
|
399
|
-
you build the rest; run the same command again to pick them up before they are placed (nothing is paid twice). A shot in which a person says an
|
|
400
|
-
on-camera beat is a clip with `"speech"`: the lines, who says each, their language and the beat each re-makes; the
|
|
401
|
-
program takes the times from the beats and writes the dialogue into the prompt (`video-performers.md`). `materials`
|
|
402
|
-
refuses a list that leaves an on-camera beat to no clip. Every clip is asked for by the role of its sound, never with
|
|
403
|
-
music: a clip with lines for its speaker's voice, any other for the sound of its place, or silent under a narrator
|
|
404
|
-
(`"sound"`: `speech`, `exhibit`, `ambience`, `silent`; `video-sound.md`); `--template` gives the inference what the
|
|
405
|
-
reading says. After speaking clips are made, `popost video speech-check project` checks that each said its lines.
|
|
406
|
-
The first such run of the project makes
|
|
407
|
-
its clips the agreed clips; any other paid clip later is "unplanned" (the money rules above). Two rules about motion:
|
|
122
|
+
Every page about video, what it holds and when to open it. Open a page when its row says so, and only the part the
|
|
123
|
+
step needs; a catalogue is searched with its command, not read whole.
|
|
408
124
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
- A shot longer than the longest clip the model makes: `template save --max-shot <seconds>` cuts it into parts, and
|
|
426
|
-
the clip of each later part says `"continues"` with the file of the part before it, so it starts from that clip's
|
|
427
|
-
last frame. Reference pictures stay the default; frames are for that and for a clip
|
|
428
|
-
that must begin on an exact picture (`video-tools.md`, "Reference pictures or frames").
|
|
429
|
-
|
|
430
|
-
Then write `project/materials.json`, one entry per file, saying what it shows:
|
|
431
|
-
`{ "assets/page-01.mp4": "the pricing page: zooms to the Pro plan, boxes its price, the pointer clicks Buy" }`.
|
|
432
|
-
|
|
433
|
-
Done when: every footage or picture shot you plan has its file in `project/assets/`, listed in `materials.json`, and
|
|
434
|
-
you have looked at two frames of every recording.
|
|
435
|
-
|
|
436
|
-
## 4. Write the lines and the fill
|
|
437
|
-
|
|
438
|
-
Write the request in your own words into `brief.txt`: the topic, the audience, the language, what must be said.
|
|
439
|
-
|
|
440
|
-
```bash
|
|
441
|
-
popost video plan template --brief brief.txt --assets project --dry --voice <voice> --fit-tempo 1.12
|
|
442
|
-
```
|
|
443
|
-
|
|
444
|
-
`<voice>`: `popost:default-male`, `popost:default-female` or `popost:VOICE_ID` from the live platform catalog (`video-performers.md`), or a name a speaker of the user's own understands. With a `popost:` voice, `plan` speaks a sentence to time it, paid like all speech: add `--confirm --max-credits <left>` (`--dry` does not make it free; once timed, the pace is kept and not paid again). It prints `answer`
|
|
445
|
-
(how many shots and captions, and the voice to name), `budgets` (`pace`: the voice's characters a second; per line,
|
|
446
|
-
the most characters that can be said in its beat, the voice sped up at most 1.12 times), `rules`, `forms` and
|
|
447
|
-
`materials`; `messages` repeats them. Write `fill.json`:
|
|
448
|
-
|
|
449
|
-
```json
|
|
450
|
-
{ "shots": [{ "scene": "scenes/shot-01.html", "slots": { "title": "Why fast pages win" } },
|
|
451
|
-
{ "footage": "assets/page-01.mp4", "in": 0 },
|
|
452
|
-
{ "scene": "scenes/shot-03.html" }],
|
|
453
|
-
"captions": ["Three habits of fast websites", "Habit one: measure before you fix", "Follow for habit two"],
|
|
454
|
-
"voice": "<voice>" }
|
|
455
|
-
```
|
|
456
|
-
|
|
457
|
-
- `shots`: exactly one entry per shot, in the template's order. A designed picture is a `scene` (written in step 5;
|
|
458
|
-
every shot takes one). `footage` and `picture` name files of `materials`; `"in"` is the clip's first frame to
|
|
459
|
-
show (0 when unsure). Also possible: `{"color": "#101014"}`, `{"card": {"title": "...", "lines": ["..."]}}`.
|
|
460
|
-
A file whose proportions differ from the canvas is cropped to fill the shot (`"fit": "cover"`, the default);
|
|
461
|
-
`"fit": "contain"` shows it whole on a `"ground"` colour; `template fill` warns when cover would cut more than a tenth.
|
|
462
|
-
- Every shot shows what its line says. When no file you have shows it, make the shot a `scene` (a still of the
|
|
463
|
-
product with a label or a box on the thing named, the steps as a row of words with arrows, a number set large);
|
|
464
|
-
never fill a shot with material about something else, and never leave a clip of other proportions alone on an
|
|
465
|
-
empty ground: show it inside a designed shot, a scene with the clip in a box over it, written as the shot's
|
|
466
|
-
`"items"` in fill.json (`video-scenes.md`, "A screen inside a scene", the part "Footage inside a scene"); fill keeps
|
|
467
|
-
them through every later fill and re-flow.
|
|
468
|
-
- Words the reference laid over a shot (TEMPLATE.md: `words "..."` on the shot) are `"words": ["..."]` on that shot,
|
|
469
|
-
a line per place in order, drawn where the reference's were; re-make them with the new video's words. A bar of
|
|
470
|
-
words through the video (the sections, the current one marked) is design text, not a watermark: give it the new
|
|
471
|
-
video's sections with `"bar": [...]`, or draw it in each scene.
|
|
472
|
-
- `captions`: exactly one line per beat, in order, in the language of the brief, together one short script about
|
|
473
|
-
the topic. Keep each line within its budget, or near the length of the reference's line: a longer line makes the
|
|
474
|
-
video longer. `""` leaves a beat empty; with 0 beats, leave `captions` out. Every line says something whole: when a
|
|
475
|
-
budget is short, move words to the neighbouring beat or split one sentence over two beats; never cut a line to a
|
|
476
|
-
fragment (`template check` warns when a line is far shorter than the reference's text of its beat). When the reading says some caption words are drawn differently, mark the words your line stresses, `*like this*`, as the reference does; `template check` and `video check` warn when no line marks one. Take the
|
|
477
|
-
reference's way of speaking, never its promises: a call to action the new video's owner cannot keep ("comment X
|
|
478
|
-
and I send you …", a giveaway, a link or account that does not exist) becomes one they can (follow, visit the real
|
|
479
|
-
address from the sources), and a figure the reference gave about itself is never said about the new subject.
|
|
480
|
-
- Each beat keeps its job (a hook, a proof, a demo, a call to action), and its content is the new subject's strongest
|
|
481
|
-
material for that job, from the request first and the sources second. A kind of fact that is weak or absent for the
|
|
482
|
-
new subject (a count, a ranking, a price) is not copied in a weaker form: say what the request stresses instead.
|
|
483
|
-
The shot's mark (a box, a circle, a zoom, a pointer: `emphasis` in `ref/elements.json`) keeps its kind and look and
|
|
484
|
-
goes on what the new line says, that strongest point, never on the new subject's version of the reference's fact.
|
|
485
|
-
- `voice`: the same `<voice>`, as `answer` and `rules` say: `template fill --speak` reads it from the fill. No times, no
|
|
486
|
-
frame numbers except `in`, no other keys.
|
|
487
|
-
- The voice follows the speech kind (step 1; TEMPLATE.md repeats it):
|
|
488
|
-
- `narration`: a voice-over. Its beats' lines are spoken by `--speak`.
|
|
489
|
-
- `on-camera`: the line of such a beat (TEMPLATE.md: "on camera") is the line the person says in the clip of that
|
|
490
|
-
shot; write the same words in `captions[i]` and in the clip's `speech.lines`. The voice-over never reads it, and
|
|
491
|
-
it is drawn as a caption when its beat is a shown one. Fill the shot with that clip from `"in": 0`.
|
|
492
|
-
- `sung`, `fragments`, `none`, `unknown`: no voice. Leave out `--voice`, `"voice"`, `"say"`, `--speak`,
|
|
493
|
-
`--keep-length`, `--fit-tempo` and `--pace` here and in step 6; the caption lines are still drawn. For `unknown`,
|
|
494
|
-
write into the delivery notes that the speech was not transcribed and the video therefore has no voice-over.
|
|
495
|
-
A reference without narration gets a voice-over only when the user asked for one: pass their own words with
|
|
496
|
-
`--voice-asked "<their words>"` to `plan`, `template check` and the first `template fill` (the project then keeps
|
|
497
|
-
them), and name them in the delivery notes. The checks refuse a voice nobody asked for.
|
|
498
|
-
- Sound is mixed in layers, by itself (`video-sound.md`, rules R1 to R5). A clip in which a person speaks is heard at
|
|
499
|
-
full level and nothing speaks over it. Every other clip keeps the sound it came with, lowered by 18 dB while a line
|
|
500
|
-
of the voice-over is spoken and back up in the pauses; a silent clip is not heard. A `"sound"` lies under
|
|
501
|
-
everything, lowered the same way while anybody speaks, gives way altogether under a clip with music of its own, and
|
|
502
|
-
fades out at the end when it is longer than the video (shorter, it is not repeated). A shot's `"audio"` overrides
|
|
503
|
-
this for its clip: a number fixes its level, `false` mutes it (`video-templates.md`).
|
|
504
|
-
- `"sound"` is a file the user gave, taken in with `popost video music own --file <their file> --out
|
|
505
|
-
project/assets/<name> --given "<their words that gave it>"`, or the music `popost video music make` made under the
|
|
506
|
-
agreed plan. Nothing else: never put a narration together with other
|
|
507
|
-
tools (`voice speak` lines mixed with ffmpeg) and name it as `"sound"`, never write a voice or music track into
|
|
508
|
-
`video.json` by hand, never take the music or the voice out of the reference, never make up a tone to fill silence, and never mute
|
|
509
|
-
a clip to be safe. The checks refuse a sound without a record of where it came from. A quiet video is not a fault to
|
|
510
|
-
repair; the user adds music when they post, or in an editor.
|
|
511
|
-
- Sound effects (a whoosh on a transition, a pop as a card lands, keys under typed text) follow the reading too: only
|
|
512
|
-
where it says the reference has them (the sound analysis, `sfx`: `yes`), or where the user asked. They come from the
|
|
513
|
-
Skill's free catalogue and are placed in step 6 by `popost video sfx place` ([video-sfx.md](video-sfx.md)).
|
|
514
|
-
|
|
515
|
-
For strict replications, the confirmed speech kinds also populate `replication.json`: distinguish narration, on-camera dialogue, music/vocals, effects and ambience. A skipped ASR result or a song lyric does not request a narrator. Record every actual audio route and file hash in `replication.audio.json`; the strict final review checks these against the resolved timeline. Explicitly authorized reference-music preservation uses the verified source-audio workflow in [video-replication.md](video-replication.md), rather than an invented uploaded-file provenance.
|
|
516
|
-
|
|
517
|
-
```bash
|
|
518
|
-
popost video template check template --fill fill.json --pace <budgets.pace> --fit-tempo 1.12
|
|
519
|
-
```
|
|
520
|
-
|
|
521
|
-
Done when: `"ok": true` (its note that the files were not looked at is expected: `template fill` does it in step 5).
|
|
522
|
-
|
|
523
|
-
## 5. Write the scenes
|
|
524
|
-
|
|
525
|
-
This step decides most of the result: the reference's look and motion live in its designed shots. Write one HTML file
|
|
526
|
-
in `project/scenes/` for every `scene` of fill.json, drawing the whole shot with the reference shot's layout, colours,
|
|
527
|
-
type and motion (its entry in `ref/elements.json`, its frames) and the new content. Shots of one design (three numbered steps) can share
|
|
528
|
-
a file with different `slots`.
|
|
529
|
-
|
|
530
|
-
**Look at the motion first.** `ref/REFERENCE.md` has a `Movement:` line when shots move throughout, and `timeline.md`
|
|
531
|
-
marks each such shot `MOVES THROUGHOUT`. For every one of them, and for every shot when the reference is motion
|
|
532
|
-
graphics, do this before writing its scene; it is not optional:
|
|
533
|
-
|
|
534
|
-
1. Open `ref/shots/NN-frames.jpg` (consecutive frames with their times) and say what moves, from where to where, and
|
|
535
|
-
what keeps moving after the main move.
|
|
536
|
-
2. Read `ref/shots/NN.md`, "Motion events": the measured curve of the shot's main moving element (start, duration,
|
|
537
|
-
overshoot, bounces, squash, the closest easing, ready to paste). For another element, measure it:
|
|
538
|
-
`popost video measure curve reference.mp4 --from S --to S --roi x,y,w,h`.
|
|
539
|
-
3. Read `<skill>/references/video-motion.md` (the motion rulebook and its recipes) and search the effects catalogue
|
|
540
|
-
(`popost video scene example --search "<what moves>"`, `<skill>/references/video-effects.md`) before drawing an
|
|
541
|
-
effect by hand.
|
|
542
|
-
|
|
543
|
-
The rules (the whole contract: `<skill>/references/video-scenes.md`):
|
|
544
|
-
|
|
545
|
-
1. A whole HTML page; `html, body` exactly the canvas size (step 2), `margin: 0`, `overflow: hidden`. Inline `<style>`
|
|
546
|
-
and SVG; pictures by a path relative to the scene file (`../assets/logo.png`); nothing from the network.
|
|
547
|
-
2. Motion: CSS `@keyframes` with `animation: <name> <duration> <delay> both`, written as if the shot started at
|
|
548
|
-
0 s; the engine sets every animation to the frame's time. A counter or a typed text:
|
|
549
|
-
`window.__popostScene = { render(seconds) { ... } }`, which sets everything it changes from `seconds` alone.
|
|
550
|
-
Motion in sequence (a list that staggers in, several elements one after another): a GSAP timeline, after
|
|
551
|
-
`popost video scene library project`; read "A timeline library" in `video-scenes.md` first. A bounce, a slam, a
|
|
552
|
-
pop, a draw-on, a morph, particles, a glitch, a counter, lit 3D: the motion helper
|
|
553
|
-
(`popost video scene library project --name motion`), three.js (`--name three`) or an entry of the effects
|
|
554
|
-
catalogue, as `video-motion.md` shows; never one element dropping on a CSS keyframe where the reference bounces.
|
|
555
|
-
3. Never: `setTimeout`, `setInterval`, `requestAnimationFrame`, `Date.now()`, `performance.now()`,
|
|
556
|
-
`Math.random()`, CSS `transition`, `<video>`, `<audio>`, `<iframe>`, `fetch`.
|
|
557
|
-
4. Use the actual filled shot's clock. Match the reference entrance, dwell, exit and handoff; do not move every
|
|
558
|
-
entrance into the first half or erase an observed exit. After speech retiming or custom-transition ownership
|
|
559
|
-
changes, export `video replication timeline project` and refresh the event map. All related layers use that
|
|
560
|
-
same clock and viewport, including marks, cursor, number cells and their labels.
|
|
561
|
-
5. Put `data-slot="name"` on each element that holds only a text (or an `<img>`) of the topic: the check warns when
|
|
562
|
-
the glyphs of a marked text leave its box, or when a box around it with `overflow: hidden` cuts them off. A fill's `"slots": {"name": "new words"}` replaces its text (an `<img>`'s
|
|
563
|
-
`src`, as a path relative to the scene file: `"../assets/new.png"`).
|
|
564
|
-
6. Keep the caption band (`slots.captions.box`) free of the scene's own text; never draw the captions yourself.
|
|
565
|
-
7. Fonts of the machine (`fc-list : family` lists them): `font-family: "Noto Sans CJK SC", "Noto Sans", sans-serif`.
|
|
566
|
-
The check measures the glyphs: a `line-height` of 1.2 holds Chinese text, Latin letters that reach below the line
|
|
567
|
-
(g, p, y) need 1.4 or room below.
|
|
568
|
-
|
|
569
|
-
Start from this example (1280x720: a card slides in, a label fades up, a number counts up); change its sizes,
|
|
570
|
-
layout, colours, words and motion to the reference shot's:
|
|
571
|
-
|
|
572
|
-
```html
|
|
573
|
-
<!doctype html>
|
|
574
|
-
<html><head><meta charset="utf-8">
|
|
575
|
-
<style>
|
|
576
|
-
html, body { margin: 0; width: 1280px; height: 720px; overflow: hidden; background: #1d2b53;
|
|
577
|
-
font-family: "Noto Sans CJK SC", "Noto Sans", sans-serif; }
|
|
578
|
-
.card { position: absolute; left: 380px; top: 140px; width: 520px; padding: 32px 36px; box-sizing: border-box;
|
|
579
|
-
background: #ffffff; border-radius: 12px; animation: slide-in 0.6s cubic-bezier(.2,.8,.2,1) 0s both; }
|
|
580
|
-
.label { font-size: 22px; font-weight: 700; line-height: 1.4; color: #e76f51; animation: fade-up 0.4s ease-out 0.5s both; }
|
|
581
|
-
.title { font-size: 44px; font-weight: 800; line-height: 1.4; color: #1d2b53; }
|
|
582
|
-
.count { position: absolute; left: 380px; top: 380px; font-size: 64px; font-weight: 800; line-height: 1.4;
|
|
583
|
-
color: #ffffff; animation: fade-up 0.4s ease-out 0.8s both; }
|
|
584
|
-
@keyframes slide-in { from { transform: translateX(-900px); } to { transform: none; } }
|
|
585
|
-
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
|
|
586
|
-
</style></head>
|
|
587
|
-
<body>
|
|
588
|
-
<div class="card">
|
|
589
|
-
<div class="label" data-slot="label">WEB PERFORMANCE</div>
|
|
590
|
-
<div class="title" data-slot="title">Why fast pages win</div>
|
|
591
|
-
</div>
|
|
592
|
-
<div class="count" id="count"></div>
|
|
593
|
-
<span data-slot="value" hidden>53%</span>
|
|
594
|
-
<script>
|
|
595
|
-
// Counts from 0 to the number in the slot "value" between 0.8 s and 2.0 s, then holds.
|
|
596
|
-
window.__popostScene = { render: function (seconds) {
|
|
597
|
-
var value = document.querySelector('[data-slot="value"]').textContent;
|
|
598
|
-
var p = Math.min(1, Math.max(0, (seconds - 0.8) / 1.2));
|
|
599
|
-
document.getElementById('count').textContent = value.replace(/\d+/, function (n) { return String(Math.round(n * p)); });
|
|
600
|
-
} };
|
|
601
|
-
</script>
|
|
602
|
-
</body></html>
|
|
603
|
-
```
|
|
604
|
-
|
|
605
|
-
Save the text of every source you take a figure or a claim from into `project/source/` (a `.txt` or `.md` file
|
|
606
|
-
each, the request too), so that `scene check` can find every number a scene or a caption shows.
|
|
607
|
-
|
|
608
|
-
A shot whose change in is `custom` (TEMPLATE.md: `custom in, drawn by ...`) is drawn by one scene that holds both
|
|
609
|
-
pictures and the moving object, frame by frame as `ref/transitions/NN.jpg` shows it. "Drawn by the scene of the shot
|
|
610
|
-
before": that scene ends with the effect, and `template fill` moves the cut to the effect's end, so the scene runs on
|
|
611
|
-
over the first frames of the next shot and must show that shot's beginning as the effect reveals it. "Drawn by this
|
|
612
|
-
shot's scene": the cut moves to the effect's start, and the scene begins with the effect over the end of the shot
|
|
613
|
-
before. Start from the nearest example scene when there is one (an object that leads a reveal, a card that turns in
|
|
614
|
-
depth, doors that fold, a wipe in streaks: `popost video scene example` lists them with their parameters), set its
|
|
615
|
-
parameters from the shot's measured "Paths" and hold a sheet of its frames against the reference's
|
|
616
|
-
(`<skill>/references/video-scenes.md`, "Example scenes with parameters"). Never replace the effect by a preset, and never patch `video.json` with a script after `template fill`: the
|
|
617
|
-
template holds it. Layers the reading gave the role `platform` or `creator` (a watermark, an account, the platform's
|
|
618
|
-
end card, the author's face or name) are never drawn.
|
|
619
|
-
|
|
620
|
-
When every scene file exists, build the project and check the scenes:
|
|
621
|
-
|
|
622
|
-
```bash
|
|
623
|
-
popost video template fill template --fill fill.json --out project
|
|
624
|
-
popost video scene check project --shots project/scene-shots
|
|
625
|
-
```
|
|
626
|
-
|
|
627
|
-
`template fill` writes `project/video.json` and leaves your files alone. `scene check` opens every scene and keeps
|
|
628
|
-
three frames of each, `project/scene-shots/segment-NN-fFRAME.png` (NN: the shot). Correct every error and warning
|
|
629
|
-
about a scene; run `scene check` again (`template fill` again only when fill.json changed). Then open the middle frame
|
|
630
|
-
of each scene beside `ref/shots/NN-frames.jpg`: the same kind of picture, elements in the same places, as dense, the
|
|
631
|
-
same colours, every text legible and inside its box (the check does not see text that runs out of a box around it
|
|
632
|
-
that does not hide its overflow). Correct the scene where they differ.
|
|
633
|
-
|
|
634
|
-
Done when: `scene check` prints `"ok": true` with no warning about a scene, and each scene looks like its shot.
|
|
635
|
-
|
|
636
|
-
## 6. Build with the voice, and check
|
|
637
|
-
|
|
638
|
-
```bash
|
|
639
|
-
popost video template fill template --fill fill.json --out project --speak --keep-length --fit-tempo 1.12 --pace <budgets.pace> --confirm --max-credits <left>
|
|
640
|
-
popost video sfx place project
|
|
641
|
-
popost video check project --layout
|
|
642
|
-
popost video scene check project
|
|
643
|
-
popost video template check template --fill fill.json --assets project --pace <budgets.pace> --fit-tempo 1.12
|
|
644
|
-
```
|
|
645
|
-
|
|
646
|
-
`--speak` speaks every caption line of a narration beat into `project/assets/voice.m4a` (a line a person says on
|
|
647
|
-
camera is left to its clip; every time it runs; it takes minutes; a line already spoken in the same words is not
|
|
648
|
-
paid again) and
|
|
649
|
-
re-flows each beat to its spoken line; `--keep-length` keeps each beat at least as long as in the reference, so the
|
|
650
|
-
cuts keep its rhythm; `--fit-tempo 1.12` speeds a line that would run over its beat up as far as it needs, at most
|
|
651
|
-
12% (hardly heard; the pitch stays), and only the rest makes the beat longer. Its `notes` say which lines were sped
|
|
652
|
-
up and give the new length. How a caption line comes on screen is measured (`text.json`, `captionLook.reveal`; REFERENCE.md and TEMPLATE.md say it): a source whose lines appear whole at once gets whole lines, and `template check` warns about a `"captionReveal": "words"` it did not have; a source whose lines build word by word gets that by default with a voice. Only where nothing was measured and the reading says the words appear one by one, add `"captionReveal": "words"` to the fill (`template check` warns when it is missing). From now on run `template fill` only with these options, or the voice is dropped.
|
|
653
|
-
Without a speaker, or for a video without a voice (step 4: no narration in the reference), leave out `--speak --keep-length --fit-tempo 1.12 --pace <budgets.pace> --confirm --max-credits <left>`; `template fill` refuses them there. The last command
|
|
654
|
-
looks at the files of the fill and at `project/video.json`: run it again after every hand edit of `video.json`; it
|
|
655
|
-
warns when the captions are much smaller or larger than the reference's, with both sizes in pixels (`video check` does
|
|
656
|
-
too). `scene check` also warns when a scene is far emptier than its reference shot (draw what the shot holds, as
|
|
657
|
-
densely) and when a scene or a caption shows the reference's own words or figures (say what your sources say instead).
|
|
658
|
-
|
|
659
|
-
`sfx place` lays the sound effects on what moves: the cues the scenes declare, the transitions no cue marks, and the
|
|
660
|
-
caption reveals the reference sounds. `template fill` writes `video.json` anew and drops them, so it runs after every
|
|
661
|
-
fill, as here. It follows the reading: where the reference has no effects, or nobody listened, it places nothing and
|
|
662
|
-
says why (`--asked "<the user's words>"` only when the user asked for effects). Where the reading names effects and the
|
|
663
|
-
user wants the re-make to sound like the reference, cut its own effect sounds first (`popost video sfx extract project
|
|
664
|
-
--reference reference.mp4 --reading ref`) and place with `--prefer reference`: for the user's own re-make only. It
|
|
665
|
-
prints each effect (`effects`: where it meets its picture, its cue and sound) and what it left out (`skippedBy`). Busier than the reference: run
|
|
666
|
-
it with `--density low`. `video check` holds every effect to the voice: lower or drop the one a warning names. A single
|
|
667
|
-
effect you delete or change by hand in `video.json` stays only until the next fill.
|
|
668
|
-
|
|
669
|
-
Done when: all five print `"ok": true`, with no warning about the size of the captions or about an effect.
|
|
670
|
-
|
|
671
|
-
## 7. Render, compare, deliver
|
|
672
|
-
|
|
673
|
-
For a new replication, rendering reports `artifactReady: true`, `requirementsMet: null` until the exact output is
|
|
674
|
-
reviewed. Numeric similarity and a successful `compare` are measurements, not a fidelity pass. Follow
|
|
675
|
-
[strict replication review](video-replication.md): inspect the opening, active motion and resolved state of every
|
|
676
|
-
required event, not only 25/50/75% scene samples. Check real pair identity/stage, style/performer archetype, all
|
|
677
|
-
audible roles and duration. Keep `replication.plan.json` mapped to the compiled project, write the evidence review,
|
|
678
|
-
then run `popost video replication check project --reference reference.mp4 --artifact final.mp4`.
|
|
679
|
-
Only `qualityStatus: "accepted"` establishes a completed strict replication. Missing or failed requirements remain
|
|
680
|
-
pending/failed even when the file renders. An upstream failure is a checkpoint, not permission to substitute a
|
|
681
|
-
simpler visual medium. Ordinary comparison warnings still guide iteration; they are not all made fatal globally.
|
|
682
|
-
|
|
683
|
-
```bash
|
|
684
|
-
popost video render project --out final.mp4
|
|
685
|
-
popost video compare reference.mp4 final.mp4
|
|
686
|
-
```
|
|
687
|
-
|
|
688
|
-
`compare` scores the whole video per dimension from 0 to 1 (1 is the same), then prints `shots` (each shot of the
|
|
689
|
-
reference against the matching part of yours), `motionAmount` (how much the picture moves in both videos; `less` and
|
|
690
|
-
`more` list the shots that move less than half or more than twice as much as the reference's, and its `note` says what
|
|
691
|
-
to do: fix them like a shot of `worst`), `paths` (each path measured in the reference against yours at the same moment:
|
|
692
|
-
`differs` names what is not alike, the reference's number first: the path angle, the size, the duration, the shape of
|
|
693
|
-
the edge; set the scene from the reference's numbers), `notRecovered` (what the reading of the reference did not
|
|
694
|
-
recover and what you added: it goes into the delivery notes) and `worst`: the shots that differ most, each with `by` (the dimension
|
|
695
|
-
that makes it so: `picture`, `colour`, `motion`, `text` or `transition`), its seconds in both videos and a `look` command; `stillShots` names every shot
|
|
696
|
-
of yours that stands still for more than 40% of its length while the reference shot moves throughout: each is in `worst` with a `problem`
|
|
697
|
-
(its `message` and its `fix`), and each is fixed (the scene re-written so that it moves to its last frame, `video-motion.md`), never only noted. With a
|
|
698
|
-
text reader, run `popost video text final.mp4 --out final.text.json` first and add
|
|
699
|
-
`--reference-text ref/text.json --other-text final.text.json`: the shots are then compared on their text too. A round:
|
|
700
|
-
|
|
701
|
-
1. Run `compare`. For each entry of `worst`, run its `look` command and open the picture it writes
|
|
702
|
-
(`review/shot-NN/at-01.jpg`, full size): A is yours, B the reference. Name what differs: layout, a size, a colour,
|
|
703
|
-
how dense, when something moves.
|
|
704
|
-
An entry with `by: "transition"` is the change into that shot (every change that is not a cut in the reference is
|
|
705
|
-
scored on the curve of how much of the picture changes across it, its kind and how plain it is); its `look` shows 6 moments across the change. Fix it in the scene that draws it
|
|
706
|
-
(`custom`, video-elements.md) or with the preset whose line in video-elements.md matches the reference's frames; open
|
|
707
|
-
its look picture first.
|
|
708
|
-
2. Fix it: a scene (edit its HTML, run `popost video scene check project`), or the fill (edit fill.json, run step 6 again).
|
|
709
|
-
3. Render again; its `next` names the compare to run.
|
|
710
|
-
|
|
711
|
-
A round is finished when every shot of `worst` is fixed or written into the delivery notes with the reason it stays (a
|
|
712
|
-
source that does not have it, a missing tool or material). `compare` counts the rounds: `round` is how many states of
|
|
713
|
-
the project have been compared, this one included (rendering again without a change is the same state), and `next`
|
|
714
|
-
says what the round asks. At least two rounds means: deliver only a render whose compare printed `"round": 2` or
|
|
715
|
-
more; after a fix, render and compare again; at most four. `stillWorst` names the shots that stayed among the worst
|
|
716
|
-
with a similar score since an earlier round: fix them or write down why they stay. When `render` prints a `warning`,
|
|
717
|
-
the render before it was never compared: compare before changing more. When it prints `problems`, the music ends
|
|
718
|
-
before the video does: fix it as their `fix` says (video-tools.md, "Generated music") before delivering. To see the effects as the reference shows
|
|
719
|
-
them, `popost video look final.mp4 --shots-like ref --out review/frames` draws the pictures of `ref/` again from your
|
|
720
|
-
render, at the same share of its length and under the same names: open `review/frames/transitions/NN.jpg` beside
|
|
721
|
-
`ref/transitions/NN.jpg` for every effect, and `review/frames/shots/NN-frames.jpg` beside `ref/shots/NN-frames.jpg`.
|
|
722
|
-
An overview (`popost video look final.mp4 --against reference.mp4 --out review`, one sheet per shot) is fine too; neither
|
|
723
|
-
replaces opening the single shots of `worst`. With a text reader, `popost video readback project final.mp4 --confirm --max-credits <left>` says whether every
|
|
724
|
-
caption is legible (and heard, with a transcriber; popost.ai transcription of the voice is paid, `--no-speech` leaves it out: write it for a video with music and no voice), and warns for each shot whose text stays on screen smaller than
|
|
725
|
-
1.8% of the height (`textSizes`: the smallest and median per shot): zoom in, take the still at `--scale 2`, or show
|
|
726
|
-
fewer words. It also warns for each shot whose captions do not stand out from what is behind them
|
|
727
|
-
(`captionContrast`: white letters on a light page, dark ones over the page's own text): put them on a plate,
|
|
728
|
-
outline them, change their colour, or move the band to a calm part of the frame. It reads every caption and every
|
|
729
|
-
shot twice, at most two frames a second, and its first line says how long that takes (a second line when the frames
|
|
730
|
-
hold much more text than captions). It keeps the transcript beside the project, so a readback after a fix that left
|
|
731
|
-
the sound alone does not listen again.
|
|
732
|
-
|
|
733
|
-
With effects, run the `look` command `sfx place` printed, on the render, and open its frames (`review/sfx/`): where each
|
|
734
|
-
effect meets its picture something moves or lands, or the effect goes (a sound ahead of its picture is worse than one a
|
|
735
|
-
frame late). Effects are not in `compare`'s scores.
|
|
736
|
-
|
|
737
|
-
Open the editable Studio with the existing preview editor (selection, timeline operations and cloud saving: [video-editing.md](video-editing.md)):
|
|
738
|
-
|
|
739
|
-
```bash
|
|
740
|
-
popost video preview project --edit --reference reference.mp4
|
|
741
|
-
```
|
|
742
|
-
|
|
743
|
-
Start this with the host's background-process tool and keep the service alive after delivery. Wait for its real JSON
|
|
744
|
-
output and use its `url`; do not guess a port. Fetch `api/state` under that URL and confirm it has `source` and
|
|
745
|
-
`edit`, then open the URL with the host's browser or side-panel tool. Check that the timeline and project load, a
|
|
746
|
-
text edit saves, undo restores it, a reload keeps the saved state, and the editor can render. Use the same project
|
|
747
|
-
that produced the delivered video. The URL is a local editor on this computer while that service runs.
|
|
748
|
-
|
|
749
|
-
When a template deliberately drops trailing platform shots, `compare` reports the retained reference interval and `omittedShots` after checking its sampled visual fingerprint. An unrelated reference or an older project without that provenance is compared in full; do not read the omitted endcard as a failure of the new closing.
|
|
750
|
-
|
|
751
|
-
Deliver `final.mp4`, its editable Studio URL, the `project/` directory and the delivery notes (`NOTES.md`): what is as in
|
|
752
|
-
the reference, what differs and why (no voice, a missing tool, a source that did not have something), each shot of
|
|
753
|
-
the last `worst` that was not fixed, with its reason, and under "Not recovered" every entry of `compare`'s
|
|
754
|
-
`notRecovered` (the reading's list and what you added to `elements.json`): what was not recovered and what the video
|
|
755
|
-
does instead. Never leave an entry out because the result looks fine: the user decides whether the assumption holds. Say what the video's sound is (the voice-over, people who speak in clips, the user's file, the clips' own sound, or none), its effects (how many, from the catalogue or the reference's own sounds; none, and why: the reading heard none), the reference's speech kind and what followed from it (a voice-over the user asked for is quoted with their words; `unknown`: not transcribed, so no voice-over), and that the user
|
|
756
|
-
can add or swap music in the Studio or when they post. Say the Studio is open only after it has actually loaded.
|
|
125
|
+
| Page | Holds | Open it |
|
|
126
|
+
|---|---|---|
|
|
127
|
+
| [video-replication.md](video-replication.md) | the strict replication contract: the event inventory, the target map, the audio and pair checks, the review bound to the artifact | every new replication of a reference, from step 1; again at review (step 7) |
|
|
128
|
+
| [video-elements.md](video-elements.md) | what a model reads in each shot (`elements.json`): roles, marks, and how each value is known | step 1, when writing or checking `ref/elements.json` |
|
|
129
|
+
| [video-templates.md](video-templates.md) | templates and fills: the slots and their limits, the forms of a fill, speaking a fill | steps 2, 4 and 6, when a fill is refused or a form is unclear |
|
|
130
|
+
| [video-scenes.md](video-scenes.md) | the scene contract: the clock, timelines, the voice's times, example scenes, slots, screens, the checks | step 5, before writing the first scene |
|
|
131
|
+
| [video-motion.md](video-motion.md) | the motion rulebook: eases by role, each effect as a function of time, sound cues | step 5, for a shot that moves throughout and for motion graphics |
|
|
132
|
+
| [video-effects.md](video-effects.md) | the catalogue of every example scene (generated) | never whole: `popost video scene example --search "<words>"` finds an entry; open it only to browse one class |
|
|
133
|
+
| [video-sound.md](video-sound.md) | the voice-over, the music, the clips' own sound and the effects: the rules | when planning the sound (steps 1, 3 and 4) and when a sound check fails |
|
|
134
|
+
| [video-sfx.md](video-sfx.md) | the catalogue of sound effects, and effects in a project | step 6 (`sfx place`), and to add an effect by hand |
|
|
135
|
+
| [video-performers.md](video-performers.md) | people and shared voices: identity by role, recurring people, the voice catalogue | when a shot shows a person or when the voice is chosen (steps 3 and 4) |
|
|
136
|
+
| [video-native-observation.md](video-native-observation.md) | what generated clips actually say: transcribing them and importing what was heard | after generating clips that speak, in a strict replication |
|
|
137
|
+
| [video-project.md](video-project.md) | the project file `video.json` and what a hand edit may add | before editing `video.json` by hand (after step 6) |
|
|
138
|
+
| [video-tools.md](video-tools.md) | the tools, their environment variables, and common failures with their fixes | when a command fails or a tool is missing ("Common failures") |
|
|
139
|
+
| [video-editing.md](video-editing.md) | the editable Studio (`preview --edit`) and what it edits | at delivery (step 7) and for a request to edit a video |
|
|
140
|
+
| [video-draft-export.md](video-draft-export.md) | export to a Jianying Pro or CapCut draft | when the user wants a draft for a desktop editor |
|