@usemosio/cli-linux-x64 1.0.0-next.1 → 1.0.0-next.4
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/THIRD_PARTY_NOTICES.md +22 -0
- package/apps/studio/dist/assets/Workspace-Dr-hVeFd.js +34 -0
- package/apps/studio/dist/assets/{agent-panel-CqJuv5Sn.js → agent-panel-DMrVed-J.js} +5 -5
- package/apps/studio/dist/assets/{boundary-bK2S8z05.js → boundary-DL9veUlN.js} +1 -1
- package/apps/studio/dist/assets/{feedback-BqzXUdVd.js → feedback-x6ZumR_x.js} +1 -1
- package/apps/studio/dist/assets/index-C6juWzGV.js +1984 -0
- package/apps/studio/dist/assets/index-CjDBKmB_.css +2 -0
- package/apps/studio/dist/assets/inspector3d-sqergHSP.js +1 -0
- package/apps/studio/dist/index.html +4 -3
- package/apps/studio/dist-host/studio-host.mjs +262 -3
- package/bin/mosio +0 -0
- package/bin/mosio-agent +0 -0
- package/crates/mosio/src/adapters/mosio-three.js +112 -8
- package/crates/mosio/src/adapters/room-env-pmrem.json +1 -0
- package/crates/mosio/src/runtime.js +205 -6
- package/fixtures/camera-inspect/mosio.json +56 -0
- package/fixtures/camera-inspect/scenes/behind.html +22 -0
- package/fixtures/camera-inspect/scenes/cut.html +18 -0
- package/fixtures/camera-inspect/scenes/edges.html +18 -0
- package/fixtures/camera-inspect/scenes/good.html +23 -0
- package/fixtures/camera-inspect/scenes/read.html +22 -0
- package/fixtures/camera-inspect/scenes/shake.html +23 -0
- package/fixtures/camera-inspect/scenes/speed.html +18 -0
- package/fixtures/camera-inspect-vertical/mosio.json +31 -0
- package/fixtures/camera-inspect-vertical/scenes/good.html +20 -0
- package/fixtures/camera-inspect-vertical/scenes/safe.html +18 -0
- package/fixtures/cloudrun-gpu/audio/music.wav +0 -0
- package/fixtures/cloudrun-gpu/audio/vo.wav +0 -0
- package/fixtures/cloudrun-gpu/mosio.json +18 -0
- package/fixtures/cloudrun-gpu/scenes/cube.html +25 -0
- package/fixtures/direct-seek/mosio.json +4 -0
- package/fixtures/direct-seek/scenes/clock.html +9 -0
- package/fixtures/direct-seek/scenes/meta.html +11 -0
- package/fixtures/direct-seek/scenes/pure.html +11 -0
- package/fixtures/direct-seek/scenes/slow.html +11 -0
- package/fixtures/direct-seek-media/mosio.json +6 -0
- package/fixtures/direct-seek-media/scenes/pure.html +11 -0
- package/fixtures/gl-readback/mosio.json +16 -0
- package/fixtures/gl-readback/scenes/compositor.html +23 -0
- package/fixtures/gl-readback/scenes/readback.html +23 -0
- package/fixtures/inspect-physics/expect.json +18 -0
- package/fixtures/inspect-physics/mosio.json +29 -0
- package/fixtures/inspect-physics/scenes/calm.html +46 -0
- package/fixtures/inspect-physics/scenes/physics.html +47 -0
- package/package.json +1 -1
- package/primitives/README.md +23 -2
- package/primitives/example/shared/mosio-prims.js +349 -1
- package/primitives/impact-burst/golden/f030.png +0 -0
- package/primitives/impact-burst/golden/f032.png +0 -0
- package/primitives/impact-burst/golden/f036.png +0 -0
- package/primitives/impact-burst/impact-burst.js +51 -0
- package/primitives/impact-burst/primitive.json +130 -0
- package/primitives/impact-burst/scene.html +24 -0
- package/primitives/stick-figure/golden/f030.png +0 -0
- package/primitives/stick-figure/golden/f092.png +0 -0
- package/primitives/stick-figure/golden/f140.png +0 -0
- package/primitives/stick-figure/primitive.json +179 -0
- package/primitives/stick-figure/scene.html +40 -0
- package/primitives/stick-figure/stick-figure.js +297 -0
- package/primitives/zoom-through/primitive.json +7 -2
- package/primitives/zoom-through/zoom-through.js +6 -5
- package/scripts/3d-acceptance.sh +8 -1
- package/scripts/3d-attach-bench.mjs +119 -0
- package/scripts/3d-bake-room-env.mjs +74 -0
- package/scripts/3d-e2b-job.sh +1 -0
- package/scripts/3d-gen-heavy-fixture.py +65 -0
- package/scripts/3d-trace-summary.py +14 -0
- package/scripts/acceptance/camera-inspect.sh +49 -0
- package/scripts/acceptance/direct-seek.sh +68 -0
- package/scripts/acceptance/export.sh +5 -3
- package/scripts/acceptance/frames.sh +7 -2
- package/scripts/acceptance/hardening.sh +37 -6
- package/scripts/acceptance/hub.sh +208 -0
- package/scripts/acceptance/inspect.sh +21 -2
- package/scripts/acceptance/revisions-git.sh +137 -0
- package/scripts/acceptance/revisions-sync.sh +323 -0
- package/scripts/acceptance/revisions.sh +118 -4
- package/scripts/acceptance/segcache.sh +100 -0
- package/scripts/acceptance/split.sh +78 -0
- package/scripts/bootstrap.sh +20 -1
- package/scripts/check-error-codes.py +9 -1
- package/scripts/check-file-size.sh +45 -0
- package/scripts/ci.sh +4 -4
- package/scripts/dedupe-report.sh +47 -0
- package/scripts/e2b/template/provision.sh +1 -1
- package/scripts/fastpath/cdp.mjs +25 -0
- package/scripts/fastpath/dbg.mjs +11 -0
- package/scripts/fastpath/e2b.mjs +40 -0
- package/scripts/fastpath/features/gen.py +109 -0
- package/scripts/fastpath/features/mosio.json +100 -0
- package/scripts/fastpath/features/scenes/backdrop.html +11 -0
- package/scripts/fastpath/features/scenes/blend.html +11 -0
- package/scripts/fastpath/features/scenes/canvas2d.html +11 -0
- package/scripts/fastpath/features/scenes/filter.html +11 -0
- package/scripts/fastpath/features/scenes/gradient.html +11 -0
- package/scripts/fastpath/features/scenes/iframe.html +11 -0
- package/scripts/fastpath/features/scenes/image.html +11 -0
- package/scripts/fastpath/features/scenes/svg.html +11 -0
- package/scripts/fastpath/features/scenes/text.html +11 -0
- package/scripts/fastpath/features/scenes/typo.html +11 -0
- package/scripts/fastpath/features/scenes/video.html +11 -0
- package/scripts/fastpath/features/scenes/video2.html +11 -0
- package/scripts/fastpath/features-xfade/mosio.json +49 -0
- package/scripts/fastpath/features-xfade/scenes/image.html +11 -0
- package/scripts/fastpath/features-xfade/scenes/video.html +11 -0
- package/scripts/fastpath/fixtures/gen_layout.py +80 -0
- package/scripts/fastpath/fixtures/l12-no-reset/assets/img/photo-1015.jpg +0 -0
- package/scripts/fastpath/fixtures/l12-no-reset/mosio.json +34 -0
- package/scripts/fastpath/fixtures/l12-no-reset/scenes/main.html +20 -0
- package/scripts/fastpath/fp.mjs +91 -0
- package/scripts/fastpath/inpage.js +68 -0
- package/scripts/fastpath/recipes.py +49 -0
- package/scripts/fastpath/sandbox.sh +68 -0
- package/scripts/fastpath/sandbox10.sh +57 -0
- package/scripts/fastpath/sandbox11.sh +18 -0
- package/scripts/fastpath/sandbox12.sh +30 -0
- package/scripts/fastpath/sandbox13.sh +16 -0
- package/scripts/fastpath/sandbox14.sh +28 -0
- package/scripts/fastpath/sandbox15.sh +36 -0
- package/scripts/fastpath/sandbox16.sh +60 -0
- package/scripts/fastpath/sandbox17.sh +34 -0
- package/scripts/fastpath/sandbox18.sh +59 -0
- package/scripts/fastpath/sandbox19.sh +67 -0
- package/scripts/fastpath/sandbox2.sh +41 -0
- package/scripts/fastpath/sandbox20.sh +34 -0
- package/scripts/fastpath/sandbox21.sh +22 -0
- package/scripts/fastpath/sandbox22.sh +22 -0
- package/scripts/fastpath/sandbox23.sh +21 -0
- package/scripts/fastpath/sandbox3.sh +151 -0
- package/scripts/fastpath/sandbox4.sh +161 -0
- package/scripts/fastpath/sandbox5.sh +69 -0
- package/scripts/fastpath/sandbox6.sh +85 -0
- package/scripts/fastpath/sandbox7.sh +81 -0
- package/scripts/fastpath/sandbox8.sh +62 -0
- package/scripts/fastpath/sandbox9.sh +130 -0
- package/scripts/fastpath/srv.mjs +15 -0
- package/scripts/fastpath/www/probe.html +1 -0
- package/scripts/gen-media-fixtures.sh +1 -0
- package/scripts/gl-readback-check.sh +26 -0
- package/scripts/hpbench/make-bench-fixtures.sh +43 -0
- package/scripts/hpbench/render-cgroup.sh +56 -0
- package/scripts/install.sh +2 -1
- package/scripts/npm-clean-install-proof-win.sh +64 -0
- package/scripts/platform-smoke.sh +80 -0
- package/scripts/prim.mjs +31 -13
- package/scripts/user-journey.sh +68 -0
- package/skills/mosio-3d/SKILL.md +31 -3
- package/skills/mosio-brief/SKILL.md +80 -0
- package/skills/mosio-brief/references/brief.md +141 -0
- package/skills/mosio-brief/references/copy.md +99 -0
- package/skills/mosio-brief/references/narration.md +61 -0
- package/skills/mosio-brief/references/storyboard.md +98 -0
- package/skills/mosio-collab/SKILL.md +104 -0
- package/skills/mosio-collab/references/hub.md +62 -0
- package/skills/mosio-engine/SKILL.md +44 -13
- package/skills/mosio-engine/references/camera.md +12 -2
- package/skills/mosio-engine/references/character.md +88 -0
- package/skills/mosio-engine/references/checks.md +11 -4
- package/skills/mosio-engine/references/delivery.md +29 -2
- package/skills/mosio-engine/references/kit-primitives.md +8 -4
- package/skills/mosio-engine/references/layout.md +8 -0
- package/skills/mosio-engine/references/plan.md +3 -1
- package/skills/mosio-engine/references/project.md +15 -3
- package/skills/mosio-engine/references/publish.md +79 -0
- package/skills/mosio-engine/references/registry.md +27 -15
- package/skills/mosio-engine/references/timeline.md +19 -1
- package/skills/mosio-engine/references/timing.md +2 -1
- package/skills/mosio-import/SKILL.md +1 -1
- package/skills/mosio-import/references/from-hyperframes.md +1 -1
- package/skills/mosio-import/references/from-remotion.md +1 -1
- package/skills/mosio-media/SKILL.md +16 -4
- package/skills/mosio-media/references/audio.md +29 -11
- package/skills/mosio-media/references/captions.md +26 -5
- package/skills/mosio-media/references/editing.md +70 -0
- package/skills/mosio-media/references/footage.md +40 -8
- package/skills/mosio-media/references/voice.md +52 -7
- package/skills/mosio-replicate/references/mosio.md +1 -1
- package/toolchain.lock.json +151 -4
- package/apps/studio/dist/assets/Workspace-KSOFeEgc.js +0 -32
- package/apps/studio/dist/assets/index-B-uuTqe9.js +0 -1785
- package/apps/studio/dist/assets/index-CajSh04l.css +0 -2
- package/apps/studio/dist/assets/inspector3d-vDz97X99.js +0 -1
|
@@ -18,6 +18,13 @@ Look before you cut: the filmstrip and a few stills tell you where the good mate
|
|
|
18
18
|
whether the file is rotated. `W_VFR` from `probe` means the frame rate varies; Mosio still places frames exactly, but
|
|
19
19
|
expect uneven motion in the source.
|
|
20
20
|
|
|
21
|
+
Frame rate: check `r_frame_rate` for every clip against the project's `fps`. Mosio shows the source frame at or before
|
|
22
|
+
each output frame and does not blend, so 24 (23.976) fps footage in a 30 fps project repeats every fourth frame: a slow
|
|
23
|
+
pan judders. For a montage made mostly of 24 fps clips, set the project to 24 fps (captions and scenes follow the
|
|
24
|
+
project rate). If the project must stay at 30, set `"retime": "blend"` on the 24/25 fps clips with slow, even camera
|
|
25
|
+
moves (pans, drone shots): the repeat becomes an even glide. Keep `nearest` on fast action, where blending shows a
|
|
26
|
+
double image. Slow motion (`speed` 1/2 or slower) also looks smoother with `blend`.
|
|
27
|
+
|
|
21
28
|
## 2. Place it
|
|
22
29
|
|
|
23
30
|
```json
|
|
@@ -36,6 +43,18 @@ expect uneven motion in the source.
|
|
|
36
43
|
titles, captions and callouts above. Scene pages are transparent over footage.
|
|
37
44
|
- Framing: `fit` (`contain`, `cover`, `fill`, `none`), `crop` in source pixels, `transform` (`x`, `y` offset from centre,
|
|
38
45
|
`scale`, `rotation`), `opacity`, `fade_in` / `fade_out` in frames.
|
|
46
|
+
- Movement: `transform_keys` animates `transform` (keys at clip-local frames, `ease` `in-out` by default). A slow
|
|
47
|
+
push-in (`scale` 1 to 1.08 over the whole clip) keeps a held shot alive; a quick punch-in (1 to 1.2 over 6-8 frames,
|
|
48
|
+
then hold) lands an emphasis; a pan moves `x` across a wide shot cropped to 9:16.
|
|
49
|
+
- A subject that moves in landscape footage cropped to 9:16 walks out of a fixed crop. Look at
|
|
50
|
+
`mosio media still FILE --time SOURCE_IN`, take the subject's box (a face: forehead to chin, a little wider than
|
|
51
|
+
the face), then `mosio media track P CLIP --box x,y,w,h --apply`. Check `lost_frames` and a few frames with
|
|
52
|
+
`mosio media frame`; a box with texture (a face, a logo) tracks better than a plain shirt.
|
|
53
|
+
- Colour: `"grade": {"exposure": EV, "contrast": C, "saturation": S, "temperature": T}` per clip. Clips from different
|
|
54
|
+
cameras rarely match: pull a frame of each (`mosio media frame`), compare brightness and white balance side by side,
|
|
55
|
+
and grade the odd ones toward the hero shot (exposure first, then temperature, then saturation). Small steps:
|
|
56
|
+
exposure ±0.3, temperature ±0.3 and saturation 0.8-1.2 cover most mismatches; a whole-video look belongs on every
|
|
57
|
+
clip, not just one.
|
|
39
58
|
- Joins: overlapping clips on one video track stack, the later on top; give the later clip a `transition`
|
|
40
59
|
(`crossfade` or `wipe-left`) or the overlap is a hard cut (`W_CLIP_OVERLAP`). A clip that runs past the end of its file
|
|
41
60
|
holds the last frame (`W_SOURCE_OVERRUN`): trim it or start earlier.
|
|
@@ -54,6 +73,7 @@ Every change is one command and one revision, so it can be diffed and rolled bac
|
|
|
54
73
|
| move in time | `mosio media edit P move CLIP --to FRAME` |
|
|
55
74
|
| slow down, speed up, freeze | `mosio media edit P speed CLIP RATE`, `freeze CLIP --at FRAME --frames N` |
|
|
56
75
|
| reframe | `crop`, `fit`, `transform`, `opacity` |
|
|
76
|
+
| colour match | set `grade` on the clip in `mosio.json` |
|
|
57
77
|
| join | `transition CLIP crossfade --frames N` |
|
|
58
78
|
| sound | `gain CLIP DB`, `fade CLIP --in N --out N`, `mute`, `track TRACK --gain-db DB` |
|
|
59
79
|
|
|
@@ -68,30 +88,42 @@ before moving anything.
|
|
|
68
88
|
the picture is busy.
|
|
69
89
|
- `mosio plan P` shows that a footage edit re-renders only the frames it touches.
|
|
70
90
|
|
|
71
|
-
## 5.
|
|
91
|
+
## 5. Montage to music
|
|
92
|
+
|
|
93
|
+
- Beats first: `mosio media beats music.wav --fps F` on the exact range the video uses (cut the file to that range, or
|
|
94
|
+
set the clip's `source_in` to match). Check the reported tempo by ear against a few beats: a tracker can lock onto
|
|
95
|
+
half or double the tempo; cut on every beat, every second or every fourth beat, whichever matches the music's bar.
|
|
96
|
+
- Put every cut on a beat frame. With an entry `transition`, centre it on the beat (start `frames/2` early).
|
|
97
|
+
- A speed ramp is two clips of the same file: the first at speed 1, the second continuing where it stopped
|
|
98
|
+
(`source_in` = previous `source_in` + speed x frames / fps) at `"1/2"`. The join is seamless because both read the
|
|
99
|
+
same source timeline.
|
|
100
|
+
- Colour: shots from different cameras and stock sites differ a lot. Grade every clip toward one look before judging
|
|
101
|
+
the rhythm (`grade` on each clip, exposure and temperature first).
|
|
102
|
+
- Keep the music unducked and at full level (`gain_db` about -6 before loudness normalisation); the picture has no
|
|
103
|
+
voice to make room for.
|
|
104
|
+
|
|
105
|
+
## 6. Working with screen recordings
|
|
72
106
|
|
|
73
107
|
- Record or export at the delivery size or larger; a recording scaled up looks soft.
|
|
74
|
-
- Cut the dead parts (loading, mouse searching) with `trim` and `split` rather than speeding the whole clip
|
|
108
|
+
- Cut the dead parts (loading, mouse searching) with `trim` and `split` rather than speeding the whole clip; waits
|
|
109
|
+
you keep follow `editing.md`, section 5.
|
|
75
110
|
- Move into the part that matters with `transform` (scale and offset) over a few frames, then hold; shrinking the whole
|
|
76
111
|
screen to fit makes its text unreadable.
|
|
77
112
|
- A cursor already in the recording must not fight a `cursor-click` primitive on top: use one or the other.
|
|
78
113
|
|
|
79
|
-
##
|
|
114
|
+
## 7. Someone talking to camera
|
|
80
115
|
|
|
81
116
|
An interview, a tip, a lesson clip: one person whose words carry the video.
|
|
82
117
|
|
|
83
|
-
-
|
|
84
|
-
the breath stays; keep a short pause that means something.
|
|
118
|
+
- Which takes to keep, how tight to cut the pauses, where b-roll goes: `editing.md`.
|
|
85
119
|
- Landscape footage in 9:16: `crop` around the speaker, and on every other cut a small punch-in (`transform`, about
|
|
86
120
|
1.1x) so the jump does not show.
|
|
87
|
-
- B-roll proves what is being said, one line at a time: a picture-only clip (`"audio": false`) on a track above while
|
|
88
|
-
the speech keeps going underneath.
|
|
89
121
|
- Overlays (a callout, a number, a lower third) one at a time, gone within about 4 s, never over the face: callouts at
|
|
90
122
|
the top, the lower third above the captions. Pick the two or three claims worth remembering; a number only when it is
|
|
91
123
|
said out loud.
|
|
92
124
|
- Captions follow `captions.md`, retimed to the cut. End on a 2 to 3 s card with one line and one action.
|
|
93
125
|
|
|
94
|
-
##
|
|
126
|
+
## 8. Rendered clips from elsewhere
|
|
95
127
|
|
|
96
128
|
A clip whose `src` is an `artifact.json` comes from an external renderer (for example a 3D render); it is placed and
|
|
97
129
|
cached like any clip. The manifest format and `mosio media artifact` are described in the Mosio repo
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# Voice-over
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
from a text-to-speech provider they use
|
|
5
|
-
|
|
3
|
+
The local `mosio` places and mixes a voice; it does not record or synthesise one. A voice comes from the person (a
|
|
4
|
+
recording), from a text-to-speech provider they use, or from Mosio Cloud: its MCP tools `list_voices`,
|
|
5
|
+
`create_voiceover` and `create_sound` make a voice-over, a dialogue, music or a sound effect with the workspace's own
|
|
6
|
+
Gemini or ElevenLabs key, and give back each word's times (section 4). This page covers writing for the ear, directing a
|
|
7
|
+
generated voice, making one with Mosio Cloud, checking a take, and using its word timings.
|
|
6
8
|
|
|
7
9
|
## 1. Write for listening
|
|
8
10
|
|
|
@@ -35,9 +37,51 @@ A script that reads well on paper often sounds stiff.
|
|
|
35
37
|
them out of any text you later match against captions.
|
|
36
38
|
- Several speakers (a dialogue between two characters): one voice per character, sent as separate lines in order, and
|
|
37
39
|
keep each character's voice the same across scenes.
|
|
38
|
-
- Generate a sentence or two first, check them (section
|
|
40
|
+
- Generate a sentence or two first, check them (section 5), then the whole script with the same settings.
|
|
39
41
|
|
|
40
|
-
## 4.
|
|
42
|
+
## 4. Make it with Mosio Cloud
|
|
43
|
+
|
|
44
|
+
Script, voice, word times, captions, in that order. The tools come from the `mosio-cloud` MCP server, which
|
|
45
|
+
`mosio mcp install` adds next to `mosio`; the person signs in once (Claude Code: `/mcp`, then Authenticate on
|
|
46
|
+
`mosio-cloud`; Codex: `codex mcp login mosio-cloud`). With no such tools, use the person's recording or provider
|
|
47
|
+
(sections 3, 5).
|
|
48
|
+
|
|
49
|
+
1. **Script.** Write it for the ear (section 1), one line per sentence, with the direction kept apart from the words.
|
|
50
|
+
Numbers written as they are said. A script of a few sentences first; the whole one once the first take is right.
|
|
51
|
+
2. **Voice.** `list_voices` lists, per provider whose key the workspace saved, its models and voices (id, name,
|
|
52
|
+
language) and whether it takes a delivery `style` (Gemini) or makes sounds (ElevenLabs). No provider listed means no
|
|
53
|
+
key: an owner or admin saves one at the `settings_url` it returns, in the dashboard, never in the chat
|
|
54
|
+
(`voice_key_missing` says the same; the page is the dashboard's `/settings`). Pick one voice per role in the
|
|
55
|
+
audience's language and keep it, and a model it lists (for example ElevenLabs `eleven_flash_v2_5`).
|
|
56
|
+
3. **Make the take.** `create_voiceover` with `text` (one narrator) or `lines` (a dialogue: `[{speaker, voice, text,
|
|
57
|
+
style}]`, in order), and `provider`, `model`, `voice`; `style` (Gemini only) carries the direction ("pelan, hangat,
|
|
58
|
+
tekan angka"). `project_id` puts it into a Cloud video; `replaces: <media_id>` redoes a take and deletes the old one
|
|
59
|
+
once the new one exists. Each call is paid by the workspace's key: change the script or the direction between calls,
|
|
60
|
+
do not retry the same one.
|
|
61
|
+
4. **Word times.** The answer gives the speech length and its phrases with start and end, and says how long the video
|
|
62
|
+
must be so the last word is not cut. Every word with its time and confidence is in `inspect_media` with the
|
|
63
|
+
`media_id` (`words: {from, to}` for a range): at once with ElevenLabs, a few minutes after the take with Gemini
|
|
64
|
+
(a transcript).
|
|
65
|
+
5. **Into the project.** Download the take at once from `audio_url` in the answer's structured content (a signed URL,
|
|
66
|
+
valid for about an hour; `inspect_media` gives no URL, so a lost one means `create_voiceover` again) to
|
|
67
|
+
`assets/audio/vo.mp3`. Declare it twice in `mosio.json`, in `"assets"` and as an audio entry, or the render stops with
|
|
68
|
+
`E_UNDECLARED_ASSET`:
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
"assets": ["assets/audio/vo.mp3"],
|
|
72
|
+
"audio": [ { "id": "vo", "src": "assets/audio/vo.mp3", "start_frame": 0, "gain_db": 0 } ]
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
(or a track, `audio.md`). Write the words as `{"words": [{"text", "start", "end"}]}` (seconds) and use it as the caption source
|
|
76
|
+
(`captions.md`, the `word-highlight` preset). Time each scene to its phrase with `scene-retime` (section 2), then
|
|
77
|
+
check the take (section 5).
|
|
78
|
+
|
|
79
|
+
`create_sound` makes music (`kind: "music"`, `instrumental`) or a sound effect (`kind: "sound_effect"`) from a `prompt`,
|
|
80
|
+
with `seconds` and `loop`, on the ElevenLabs key. Describe the sound in plain words (what, how, where: "a soft wooden
|
|
81
|
+
click, close, dry"), one effect per call, and place it in a quiet space between words (`audio.md`). Music is a bed under
|
|
82
|
+
the voice: ask for instrumental.
|
|
83
|
+
|
|
84
|
+
## 5. Check a take
|
|
41
85
|
|
|
42
86
|
You cannot hear it, so measure what can be measured and name the rest for a person.
|
|
43
87
|
|
|
@@ -49,9 +93,10 @@ You cannot hear it, so measure what can be measured and name the rest for a pers
|
|
|
49
93
|
| names, numbers and terms spoken right | a transcript of the take compared with the script, word by word |
|
|
50
94
|
| what no tool hears | mispronounced words, a direction tag read aloud, skipped or repeated words, a flat or robotic delivery: list the timestamps for the person to listen to |
|
|
51
95
|
|
|
52
|
-
##
|
|
96
|
+
## 6. Word timings
|
|
53
97
|
|
|
54
|
-
Word timings (start and end of each word) come from the provider when it returns them
|
|
98
|
+
Word timings (start and end of each word) come from the provider when it returns them (`inspect_media` for a Mosio
|
|
99
|
+
Cloud take), or from a transcript of the take (`mosio media transcribe`).
|
|
55
100
|
One list serves everything:
|
|
56
101
|
|
|
57
102
|
- captions, including the word-by-word preset (`captions.md`);
|
|
@@ -39,7 +39,7 @@ mosio init P --width W --height H --fps F # from facts.json
|
|
|
39
39
|
mosio check P # after each scene
|
|
40
40
|
mosio stills P --at scene.start,scene.end,<frames> # compare by eye with the reference strips (kept outside P)
|
|
41
41
|
mosio review-sheet P # every seam of the replica on one image
|
|
42
|
-
mosio render P -o out.mp4
|
|
42
|
+
mosio render P -o out/final.mp4
|
|
43
43
|
replicate-video diff <reference> out.mp4 -o .replicate/diff
|
|
44
44
|
```
|
|
45
45
|
|
package/toolchain.lock.json
CHANGED
|
@@ -20,7 +20,31 @@
|
|
|
20
20
|
"binary_relpath": "chrome-headless-shell-linux64/chrome-headless-shell",
|
|
21
21
|
"binary_sha256": "ff725c1ed878243206416340acd981e9f60bb8265557f927967c782cfa480db4",
|
|
22
22
|
"modified": false,
|
|
23
|
-
"license_note": "Chrome for Testing build of Chromium (BSD-3-Clause + third-party notices in LICENSE.headless_shell). Downloaded on demand, never committed. Redistribution and the CfT trusted-content limitation are open items in docs/DEPENDENCIES.md."
|
|
23
|
+
"license_note": "Chrome for Testing build of Chromium (BSD-3-Clause + third-party notices in LICENSE.headless_shell). Downloaded on demand, never committed. Redistribution and the CfT trusted-content limitation are open items in docs/DEPENDENCIES.md.",
|
|
24
|
+
"platforms": {
|
|
25
|
+
"mac-arm64": {
|
|
26
|
+
"url": "https://storage.googleapis.com/chrome-for-testing-public/158.0.8127.88/mac-arm64/chrome-headless-shell-mac-arm64.zip",
|
|
27
|
+
"zip_sha256": "69320f6869c4defbbdac8b8fa83aef65dc63975e83bbd06899b75dbea5c464b3",
|
|
28
|
+
"zip_bytes": 105060087,
|
|
29
|
+
"binary_relpath": "chrome-headless-shell-mac-arm64/chrome-headless-shell",
|
|
30
|
+
"binary_sha256": "94aa2ddc006b462298814c4f4ed86f13bd834223c28e3f3d60218773a8960ccc"
|
|
31
|
+
},
|
|
32
|
+
"mac-x64": {
|
|
33
|
+
"url": "https://storage.googleapis.com/chrome-for-testing-public/158.0.8127.88/mac-x64/chrome-headless-shell-mac-x64.zip",
|
|
34
|
+
"zip_sha256": "dc1ac31965cb2ec7794aed8c66127aceea304ae15353cd56fc4b8bde44091548",
|
|
35
|
+
"zip_bytes": 112314759,
|
|
36
|
+
"binary_relpath": "chrome-headless-shell-mac-x64/chrome-headless-shell",
|
|
37
|
+
"binary_sha256": "408f411de4c6d9757e047c1be0812c622b360620497e271fce173db07ff4cf27"
|
|
38
|
+
},
|
|
39
|
+
"win64": {
|
|
40
|
+
"url": "https://storage.googleapis.com/chrome-for-testing-public/158.0.8127.88/win64/chrome-headless-shell-win64.zip",
|
|
41
|
+
"zip_sha256": "e935ea2d4633495b5e9ab7bc66bcd982806329c0ee9ecbafc1ac9596a3b34cdb",
|
|
42
|
+
"zip_bytes": 127879225,
|
|
43
|
+
"binary_relpath": "chrome-headless-shell-win64/chrome-headless-shell.exe",
|
|
44
|
+
"binary_sha256": "d91b470cb8433104e63b6678793d481f8385a52bf32c3f0e6a60cb583b9d6c06"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"platforms_note": "The top-level url/zip_sha256/binary_* are linux64. Other platforms use the entry for their Chrome for Testing platform name (same version); see docs/design/macos.md."
|
|
24
48
|
},
|
|
25
49
|
"ffmpeg": {
|
|
26
50
|
"source": "debian package",
|
|
@@ -66,15 +90,97 @@
|
|
|
66
90
|
"license_file": {
|
|
67
91
|
"url": "https://github.com/eugeneware/ffmpeg-static/releases/download/b6.1.1/linux-x64.LICENSE",
|
|
68
92
|
"sha256": "8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903"
|
|
69
|
-
}
|
|
93
|
+
},
|
|
94
|
+
"platforms": {
|
|
95
|
+
"darwin-arm64": {
|
|
96
|
+
"source": "FFmpeg 7.0.2 static release build for macOS arm64 by Martin Riedl (https://ffmpeg.martin-riedl.de/), one zip per binary",
|
|
97
|
+
"version": "7.0.2",
|
|
98
|
+
"version_line": "ffmpeg version 7.0.2-https://www.martin-riedl.de",
|
|
99
|
+
"archive": "zip",
|
|
100
|
+
"ffmpeg": {
|
|
101
|
+
"url": "https://ffmpeg.martin-riedl.de/download/macos/arm64/1726073313_7.0.2/ffmpeg.zip",
|
|
102
|
+
"zip_sha256": "cb0c071e58945231ae9596ce21c46b94810142d0a664ed1dcc2e9c6f1b2525c4",
|
|
103
|
+
"zip_bytes": 25955867,
|
|
104
|
+
"binary_sha256": "b6a6c09a3d7654fdf4a1867e022e14ad361c86d04cc9e00d043d4b74b45f5ecb",
|
|
105
|
+
"binary_bytes": 61969584
|
|
106
|
+
},
|
|
107
|
+
"ffprobe": {
|
|
108
|
+
"url": "https://ffmpeg.martin-riedl.de/download/macos/arm64/1726073313_7.0.2/ffprobe.zip",
|
|
109
|
+
"zip_sha256": "77a8678ea1e47a8495ddebf6561a142abfd8105c1286bfda080dba5f5b064ee2",
|
|
110
|
+
"zip_bytes": 25885338,
|
|
111
|
+
"binary_sha256": "51e209b846c2b68ca2268995ccc02c8c34fb489e96ce97ae4d36f561ad807574",
|
|
112
|
+
"binary_bytes": 61895104
|
|
113
|
+
},
|
|
114
|
+
"buildconf_sha256": "7b2aa936e8aa986eb567816bf1f828779f8ca3d9bc8dabce04b2d8ea434697d8",
|
|
115
|
+
"license_file": {
|
|
116
|
+
"url": "https://raw.githubusercontent.com/FFmpeg/FFmpeg/n7.0.2/COPYING.GPLv3",
|
|
117
|
+
"sha256": "8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"darwin-x64": {
|
|
121
|
+
"source": "FFmpeg 7.0.2 static release build for macOS amd64 by Martin Riedl (https://ffmpeg.martin-riedl.de/), one zip per binary",
|
|
122
|
+
"version": "7.0.2",
|
|
123
|
+
"version_line": "ffmpeg version 7.0.2-https://www.martin-riedl.de",
|
|
124
|
+
"archive": "zip",
|
|
125
|
+
"ffmpeg": {
|
|
126
|
+
"url": "https://ffmpeg.martin-riedl.de/download/macos/amd64/1726075833_7.0.2/ffmpeg.zip",
|
|
127
|
+
"zip_sha256": "2b11f1ad35a67b9bbe0bf726a3eb0171d4eeabf95081bb34af1b371ecaa1c607",
|
|
128
|
+
"zip_bytes": 31130037,
|
|
129
|
+
"binary_sha256": "375a0588d99874013b5b4cb6009490fce9bb470fe6bb6e45e29a3ce3caaa3fc7",
|
|
130
|
+
"binary_bytes": 89877040
|
|
131
|
+
},
|
|
132
|
+
"ffprobe": {
|
|
133
|
+
"url": "https://ffmpeg.martin-riedl.de/download/macos/amd64/1726075833_7.0.2/ffprobe.zip",
|
|
134
|
+
"zip_sha256": "efb9b2153dd7748dc8e09027bddb13f4a1472ae4381966f3d2e6646e4350df37",
|
|
135
|
+
"zip_bytes": 31071671,
|
|
136
|
+
"binary_sha256": "3f6e5b66ec284e1547b1cc857046f743496b8e0fd4de96659ced1efc25df49c3",
|
|
137
|
+
"binary_bytes": 89802528
|
|
138
|
+
},
|
|
139
|
+
"buildconf_sha256": "524f138f03c4f444892d974acff454ab94cb4973d3398fe4aa432b3ce6c97fd8",
|
|
140
|
+
"license_file": {
|
|
141
|
+
"url": "https://raw.githubusercontent.com/FFmpeg/FFmpeg/n7.0.2/COPYING.GPLv3",
|
|
142
|
+
"sha256": "8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"win32-x64": {
|
|
146
|
+
"source": "FFmpeg 7.0.2 release essentials build for Windows x64 by gyan.dev (https://www.gyan.dev/ffmpeg/builds/), from its GitHub release mirror; one zip holding ffmpeg.exe and ffprobe.exe",
|
|
147
|
+
"version": "7.0.2",
|
|
148
|
+
"version_line": "ffmpeg version 7.0.2-essentials_build-www.gyan.dev",
|
|
149
|
+
"archive": "zip",
|
|
150
|
+
"ffmpeg": {
|
|
151
|
+
"url": "https://github.com/GyanD/codexffmpeg/releases/download/7.0.2/ffmpeg-7.0.2-essentials_build.zip",
|
|
152
|
+
"zip_sha256": "d5308d30872b2739cf53169df61faba8639d39a19b20b91e611c177ef676f64c",
|
|
153
|
+
"zip_bytes": 91406388,
|
|
154
|
+
"member": "ffmpeg-7.0.2-essentials_build/bin/ffmpeg.exe",
|
|
155
|
+
"binary_sha256": "33cf0d2a42486a59f74f3b3741d8ff71bed82169db7125e91804cf264b365a4a",
|
|
156
|
+
"binary_bytes": 86541824
|
|
157
|
+
},
|
|
158
|
+
"ffprobe": {
|
|
159
|
+
"url": "https://github.com/GyanD/codexffmpeg/releases/download/7.0.2/ffmpeg-7.0.2-essentials_build.zip",
|
|
160
|
+
"zip_sha256": "d5308d30872b2739cf53169df61faba8639d39a19b20b91e611c177ef676f64c",
|
|
161
|
+
"zip_bytes": 91406388,
|
|
162
|
+
"member": "ffmpeg-7.0.2-essentials_build/bin/ffprobe.exe",
|
|
163
|
+
"binary_sha256": "af3c38d4a25acf3bf0f16c3e36b7f0700bbf8fc1159057186a6f3f1fe7cd1611",
|
|
164
|
+
"binary_bytes": 86380544
|
|
165
|
+
},
|
|
166
|
+
"buildconf_sha256": null,
|
|
167
|
+
"license_file": {
|
|
168
|
+
"url": "https://raw.githubusercontent.com/FFmpeg/FFmpeg/n7.0.2/COPYING.GPLv3",
|
|
169
|
+
"sha256": "8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903"
|
|
170
|
+
},
|
|
171
|
+
"license": "GPL-3.0-or-later as built (--enable-gpl --enable-version3, libx264, libvpx and others). Downloaded on the user's machine, not redistributed by Mosio; see docs/DEPENDENCIES.md."
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"platforms_note": "The top-level url/sha fields are linux-x64. darwin-* use the entry for `${process.platform}-${process.arch}` (same FFmpeg release, 7.0.2); buildconf_sha256 null = not measured yet, doctor reports it as unverified."
|
|
70
175
|
}
|
|
71
176
|
},
|
|
72
177
|
"fonts": {
|
|
73
178
|
"packages": {
|
|
74
179
|
"fonts-inter": "4.1+ds-1",
|
|
75
|
-
"fonts-dejavu-core": "2.37-8"
|
|
180
|
+
"fonts-dejavu-core": "2.37-8",
|
|
181
|
+
"fonts-noto-color-emoji": "2.051-0+deb13u1"
|
|
76
182
|
},
|
|
77
|
-
"note": "Fixtures never rely on system fonts: gen-assets copies the needed font files into each project's assets/ and pins their hashes.",
|
|
183
|
+
"note": "Fixtures never rely on system fonts: gen-assets copies the needed font files into each project's assets/ and pins their hashes. Emoji are the exception: no project ships an emoji font, so the toolchain pins one (Noto Color Emoji) and the browser falls back to it for every emoji character.",
|
|
78
184
|
"download": {
|
|
79
185
|
"note": "Used by the npm install instead of fonts-inter: `mosio setup` downloads this file into $MOSIO_HOME/fonts and writes $MOSIO_HOME/fontconfig/fonts.conf so the browser sees it. Same bytes as the font in the Debian package's upstream release.",
|
|
80
186
|
"family": "Inter",
|
|
@@ -88,6 +194,23 @@
|
|
|
88
194
|
"url": "https://raw.githubusercontent.com/rsms/inter/v4.1/LICENSE.txt",
|
|
89
195
|
"sha256": "262481e844521b326f5ecd053e59b98c8b2da78c8ee1bdbb6e8174305e54935a"
|
|
90
196
|
}
|
|
197
|
+
},
|
|
198
|
+
"emoji": {
|
|
199
|
+
"note": "Linux only. `mosio setup` (npm install) and scripts/bootstrap.sh's static fallback download this file next to Inter in $MOSIO_HOME/fonts; Debian hosts get it from the fonts-noto-color-emoji package above (Debian builds its own TTF, so the bytes differ from this upstream file). Windows and macOS use the system emoji font (Segoe UI Emoji, Apple Color Emoji).",
|
|
200
|
+
"family": "Noto Color Emoji",
|
|
201
|
+
"version": "2.051",
|
|
202
|
+
"platforms": [
|
|
203
|
+
"linux"
|
|
204
|
+
],
|
|
205
|
+
"file": "NotoColorEmoji.ttf",
|
|
206
|
+
"url": "https://raw.githubusercontent.com/googlefonts/noto-emoji/v2.051/fonts/NotoColorEmoji.ttf",
|
|
207
|
+
"file_sha256": "72a635cb3d2f3524c51620cdde406b217204e8a6a06c6a096ff8ed4b5fd6e27b",
|
|
208
|
+
"file_bytes": 10673480,
|
|
209
|
+
"license": "SIL OFL 1.1",
|
|
210
|
+
"license_file": {
|
|
211
|
+
"url": "https://raw.githubusercontent.com/googlefonts/noto-emoji/v2.051/fonts/LICENSE",
|
|
212
|
+
"sha256": "6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2"
|
|
213
|
+
}
|
|
91
214
|
}
|
|
92
215
|
},
|
|
93
216
|
"libraries": {
|
|
@@ -116,6 +239,30 @@
|
|
|
116
239
|
],
|
|
117
240
|
"served_at": "/_lib/three@0.187.0/build/three.module.js (+ /_lib/three@0.187.0/examples/jsm/...)",
|
|
118
241
|
"license_note": "MIT (three.js authors). Optional 3D adapter library; served only to projects that declare it."
|
|
242
|
+
},
|
|
243
|
+
"lottie-web": {
|
|
244
|
+
"optional": true,
|
|
245
|
+
"version": "5.13.0",
|
|
246
|
+
"tarball": "https://registry.npmjs.org/lottie-web/-/lottie-web-5.13.0.tgz",
|
|
247
|
+
"tarball_sha256": "00f306a9b5669abf9622c418b549681d1b858e0b7fa7ea6adc0772ca57c3fd4f",
|
|
248
|
+
"file_in_tarball": "package/build/player/lottie.min.js",
|
|
249
|
+
"file_at": "build/player/lottie.min.js",
|
|
250
|
+
"file_sha256": "2eb762973aec914d981f426123040bfac9d26217239605e225ddc7cee17618ac",
|
|
251
|
+
"extract_dirs": [
|
|
252
|
+
"package/build/player/lottie.min.js"
|
|
253
|
+
],
|
|
254
|
+
"served_at": "/_lib/lottie-web@5.13.0/build/player/lottie.min.js",
|
|
255
|
+
"license_note": "MIT (Airbnb / Bodymovin authors). Optional: Lottie JSON animations; served only to projects that declare it."
|
|
256
|
+
},
|
|
257
|
+
"d3": {
|
|
258
|
+
"optional": true,
|
|
259
|
+
"version": "7.9.0",
|
|
260
|
+
"tarball": "https://registry.npmjs.org/d3/-/d3-7.9.0.tgz",
|
|
261
|
+
"tarball_sha256": "7e36605710a2ba54846797c8c6d888911341b215ae53257dc32a49a0b824355e",
|
|
262
|
+
"file_in_tarball": "package/dist/d3.min.js",
|
|
263
|
+
"file_sha256": "f2094bbf6141b359722c4fe454eb6c4b0f0e42cc10cc7af921fc158fceb86539",
|
|
264
|
+
"served_at": "/_lib/d3@7.9.0/d3.min.js",
|
|
265
|
+
"license_note": "ISC (Mike Bostock). Optional: charts and data-driven SVG; served only to projects that declare it."
|
|
119
266
|
}
|
|
120
267
|
},
|
|
121
268
|
"blender": {
|