Video as code: canvas scenes rendered with WebCodecs in headless Chrome, a review viewer, and agent skills that build the video from your references.
Changelog
Changes are listed by release, newest first. The sections dated before 0.1.0 record what was built on the way to the first release.
Unreleased
Added
motlab helpprints the list of commands, likemotlab --helpand-h. Before, it stopped with "unknown mode".test/cli.test.jschecks all three and that a wrong command still fails.- Steps for an agent that puts the viewer on the user's VPS (docs/install-for-agents.md, step 6): the domain and its DNS, a password the user writes into a file only they can read, Caddy, which ports to open and which not, a systemd user service (in docs/viewer.md) and how to check it. The skill and AGENTS.md point to them. Not run on a real VPS yet.
motlab doctorshows whether earshot is there, the optional tool the skill uses to listen to sound. It isokwhen the CLI and its models are there, andwarnwith what to do when the CLI is missing or its models (about 1.1 GB) are not downloaded. It never makes the doctor fail, and motlab never installs it. The check runsearshot doctor, which took 0.9 s on the test laptop and loads no models. Checked with earshot 0.4.1 there, andtest/doctor.test.jscovers the missing, no-models and ready cases with faked output. Not tried: a machine where earshot is installed but its models are not downloaded."qp"and"codec"inproject.json, and--qpand--codeconmotlab render, set the file size against quality for a project, and the viewer's Export uses them too. Before, onlymotlab videotook them."qp": 22made an 8 s 4K render of a busy page 30% smaller (12.49 to 8.68 MB) with SSIM 0.9964 to 0.9960 and VMAF unchanged at 99.98. docs/rendering.md has a File size section with the measurements: HEVC, a second ffmpeg pass (NVENC HEVC, x264, SVT-AV1), keyframe spacing and a higher QP for P-frames were measured too, and none beat raising the QP at the same quality. The default stays QP 18.test/render.test.jschecks that the QP reaches the encoder, that a wrong value is refused, and that a part made at another QP is not reused from the cache.- The viewer can run on a server and be opened at a domain of your own:
MOTLAB_VIEWER_PASSWORD=... motlab start --domain viewer.example.com, behind a reverse proxy such as Caddy for HTTPS. It still listens only on127.0.0.1. Every request then needs a login, whatever Host header the proxy sends: a password of at least 12 characters, which gives a 30-day session cookie that is HttpOnly, Secure and SameSite=Strict. Writes must come from the viewer's own page on the domain, and after 5 wrong passwords in a minute the login waits.motlab edit,stopandrestarton the server send a token the viewer writes to~/.motlab/viewer-tokenand removes when it stops. docs/viewer.md shows the Caddyfile and the Tailscale option. Checked:test/access.test.js, the real viewer with curl sending the domain's Host header, and Chrome on localhost (sign-in, a wrong password, saving a click,motlab editandstopthrough the token). Not tried: a real VPS behind Caddy with a real certificate. - A transition can be a layer drawn over a hard cut:
"transition": { "layer": "assets/kits/acme/transitions/swish/transition.js", "duration": 0.6 }, such as the asset skill'stransition.js. The module'sdraw(ctx, p, W, H)covers the last half of the duration of the scene before and the first half of the next, in the page's own pixels.preaches 0.5 at the cut, and the video keeps its length because nothing overlaps. Before, each of the two scene pages had to draw its half by hand. It is an option for when the user asks for one: the skill still designs each transition frame by frame in the scenes by default. The render draws it on the transition part and the viewer over the preview, and the module is part of the cache key. A note on a frame inside it recordstransition: { layer, from, frame, frames }. Checked:test/render.test.jsrenders a layer at--scale 2and checks the frame count and where it is drawn on both sides of the cut;test/motion.test.jschecks how the frames are split; the asset skill's swish covered the whole frame at the cut and showed the same picture 0.2 s after it in the viewer and in a 1080p render. Not tried: a layer that loads its own images or fonts. motlab renderand the viewer's Export render several scenes and transitions at once, each in its own Chrome, after the first scene has picked the encoder.--parallel Nsets how many; the default is 3, but never more than one per 4 CPU threads or per 1 GB of free memory. If a part fails while several run, the finished parts are kept and the rest are rendered one at a time, so a machine that cannot run three still finishes. Each part's log is printed in one piece when it ends. On the test laptop (Ryzen 7 5800H, 16 threads, RTX 3060 Laptop), a project of 12 two-second scenes with 11 transitions went from 78 s to 45 s at 1080p and from 93 s to 53 s at 4K; four at a time was no faster than three. The example project went from 12.7 to 13.1 s to 8.9 to 9.6 s at 1080p, with an identical MP4.test/render.test.jsrenders a four-scene project three at a time and checks the frame count and the colours of every scene and transition, then breaks one scene and checks that it is tried again alone and its error is the one reported. Not tried: a machine with fewer threads or less memory, and a GPU that runs out of encoder sessions.- A scene transition can come from a
.glslfile in the project, as"type": "transitions/swipe.glsl". The file is a gl-transitions shader:vec4 transition(vec2 uv)withgetFromColor,getToColor,progressandratio. Its uniforms (float, int, bool, vec2 to vec4, ivec2 to ivec4) take their defaults from the comment after them, as gl-transitions writes them, andparamssets them. The viewer and the render compile the file before the first frame and report a mistake with its line in the file. The file's contents are in the cache key, so--onlyrenders an edited transition again. The skill's motion reference says how to write one, and how to match a transition from a reference video by laying frames from both on contact sheets. Checked: the 11 built-in shaders parse back to the uniforms and defaults listed with them;test/render.test.jsrenders a project with a shader file at its defaults and withparams, and checks that a mistake on line 3 is reported on line 3; the wipe from the docs looked the same in the viewer and in a 1080p render, and the viewer showed a compile error with its line. Not tried: shaders copied from gl-transitions beyond the 11 built in, and matching a real reference video. - One recording can be split over several scenes by section, with captions from a transcript.
cuts.jsontakes"sections": [{ "name", "from" }]in seconds of the recording (cut_pauses.py --sections hook=0,demo=41.5writes them and prints where each lands), andcutList(cuts, clip, { section: 'demo' })plays that section from time 0: it starts at the cut nearest itsfromand runs to the next section's cut, so the section scenes add up to the cut voice.edit.captions(transcript)takes Whisper's JSON with word times, or a list of{ text, start, end }, drops words that were cut out or lie outside the section, and returns caption lines in the scene's time, broken at pauses, sentence ends and a character limit. motlab does not transcribe. Checked:test/cuts.test.js(new) checks section starts and lengths with and without a dissolve and how captions are placed;test/render.test.jsrenders two section scenes of one grey-coded recording and checks all 24 frames;cut_pauses.py --sectionson a made-up take matchedcutList. Not tried: a real Whisper transcript and a real take split into sections. - With no system Chrome, motlab uses the newest Chromium that Playwright downloaded, from Playwright's folder (
~/.cache/ms-playwrighton Linux,~/Library/Caches/ms-playwrighton macOS,%LOCALAPPDATA%\ms-playwrighton Windows, orPLAYWRIGHT_BROWSERS_PATH), somotlab doctorpasses withoutCHROMEon a machine set up for Playwright (issue #8). The folder names come from Playwright's own code, and a test checks the lookup on folders made for it. Not tried: a real Playwright download found this way. The render in issue #8 used that Chromium withCHROMEset. motlab render --only 3(or--only 3,5) re-renders only the scenes you name, plus the transitions touching them, and takes the rest from the cache in~/.cache/motlab/parts(%LOCALAPPDATA%\motlab\partson Windows, orMOTLAB_CACHE_DIR), which a full render leaves behind. A scene with no cached part is rendered, so--onlyon a project that was never rendered works like a full render. A finished render removes the cached parts it did not use, so the cache holds the last render only and--onlyneeds the same--scaleas that render. The cache key holds the motlab version, so parts made by an older version are rendered again after an update. The cache keys on the scene page itself: a file the scene loads changing (a shared script, a font, a picture) is not noticed, so render the whole project again then. Checked on the example project (3 scenes, 9 s, 1080p) on Ubuntu 24.04 with no GPU, SwiftShader, while other builds were running on the same machine: a full render took 44 to 49 s,--only 3took 17 to 24 s. The --only output differs from a full render by the same amount two full renders differ from each other (average PSNR 68.9 dB in both cases, from the encoder's run-to-run variation).test/render.test.jsrenders a project, changes one scene, re-renders with--onlyand checks the frame count, the cached log line, the colours of the cached, transition and re-rendered frames, and that the old parts are gone.
Fixed
motlab stillsat 4K stopped with "TypeError: Failed to fetch" after 109 stills of a busy 1920x1080 page at--scale 2(4.6 MB PNGs, about 500 MB in all), every time. The page uploaded each still as a Blob, and Chrome frees a Blob only when garbage collection runs, which Blob memory does not trigger. Stills are now uploaded as an ArrayBuffer, and the raw bitstream path joins its chunks into one ArrayBuffer the same way. Checked on the Windows laptop: the same 200 stills at 4K all came out. Not covered by an automated test, because it needs about 500 MB of stills.
Changed
- docs/rendering.md no longer says WebCodecs probably skips NVENC. It encodes on the RTX 3060's NVENC:
nvidia-smishowed the encoder at up to 51% during a 4K encode, on the same adapter that draws. The session count it showed as zero does not include Media Foundation sessions. The roadmap question is removed. - The install docs now say a Chromium you already have works: set
CHROMEto it, for example the Chromium Playwright downloads, instead of installing Google Chrome. The README, the install docs and the roadmap also record that a real video has now been rendered on Linux: a 42 s, 1080x1920 project on Ubuntu 24.04 with no GPU in about 82 s (issue #8). An install from the npm registry on Linux and anything on macOS are still untested.
0.3.0 (2026-11-18)
Added
--skill hermesfor setup and the installer puts the skills where Hermes Agent reads them:skills/in its home, which isHERMES_HOMEwhen that is set, else~/.hermes, or%LOCALAPPDATA%\hermeson Windows. Hermes does not read~/.agents/skillsunless it is added to its config.--skill museis another name foragents, because Muse Code reads~/.agents/skills. The README and the install docs list both agents. Checked on the Windows laptop with a test home: setup copied both skills to the two folders, andmotlab uninstallremoved them again. Neither agent was installed here, so neither has loaded the skills yet.- Full screen in the viewer has a player bar. Before, it showed the preview alone. Now one white card runs along the bottom of the full-screen preview, as in the cinema viewer of DaVinci Resolve or Frame.io: a scrub bar split into the scenes, with the open notes' numbers above it and a range as a blue band, then the time and the scene on the left, previous, play and next in the middle of the screen, and a button on the right that leaves full screen. Click or drag the scrub bar to move in time, rest on it to see the time, click a note's number to open it; the arrows step a frame anywhere in full screen. The timeline and its range, zoom and timeline buttons stay out. So that it covers no part of the frame, the bar stays hidden, also while paused, and comes up while the pointer is in the bottom 120 px of the screen, like an auto-hidden taskbar; it also shows for 2.5 s on entering full screen and after Space, the arrows, Home or End, and never while a note is drawn or moved. While the video plays and the pointer rests, the cursor hides too.
Fopens and closes full screen, tooltips show there too, and the full-screen button no longer keeps the focus, so Space plays instead of leaving full screen. Checked in a windowed Chrome on the Windows laptop over the DevTools protocol, on a 1920x1080 screen: a click at the middle of the scrub bar went to 00:04.50 of 9 s, a drag to 80% to 00:07.20 and the scene name followed, the play button sat at the middle of the screen whatever the scene name, the arrows stepped one frame, a note's number opened that note, the bar hid 2.5 s after entering while paused, came up with the pointer near the bottom and stayed there, went when the pointer left, showed after an arrow key, stayed down while a box was drawn to 40 px above the bottom edge, and hid with the cursor while playing, a note could be drawn and moved, and the exit button brought the timeline back. Headless Chrome refuses full screen, so this has no automated test. - An open note's box can be moved by dragging inside it and resized by dragging a corner or an edge, and an open point can be dragged. Before, a box in the wrong place had to be deleted and drawn again. The box stays inside the frame and keeps its number, text and frame, and its picture in
selection/is drawn again. - Delete all done notes, under the unfolded done notes, deletes the open version's done notes and their pictures in one go, after a second click within 4 s. Both note changes were checked in headless Chrome on the example project: moving, resizing from a corner, flipping a box by dragging a corner past the other one, dragging it off the frame, moving a point, the cursors over each part, a new box drawn over a closed one, and clearing two done notes while an open one stayed.
- The viewer has a phone layout. Held upright, it is one column that scrolls: the preview across the top instead of a small preview in a large grey area, the play toolbar with the full-screen button, the timeline, then the notes, scenes and audio, notes first, instead of a side drawer. The header keeps the project and its version, and Export shows its icon. The menus open across the width under the header, and the open note's card sits across the bottom of the screen above the keyboard. Held sideways (below 500 px high), the side panel starts closed and floats, so the preview went from 135x76 to 286x161 px at 844x390. Menus fit the screen's height, and on a 360 px phone the toolbar's buttons shrink to 38 px so it fits. In full screen on a touch screen, a tap near the bottom brings the player bar up, and a drag from there still draws a box. Checked in headless Chrome with a phone emulated at 390x844, 360x740, 844x390 and 740x360 (no sideways scrolling, every menu inside the screen, a note drawn with touch events and saved), the tap in full screen in a windowed Chrome with touch emulated, and the desktop layout unchanged. A real phone has not been tried.
Fixed
- Running motlab as root, as in a container or on a VPS logged in as root, failed at the first scene with "Chrome exited early (code 1): Running as root without --no-sandbox is not supported", because Chrome refuses to start as root and motlab passed no such flag. Chrome now gets
--no-sandboxwhen motlab runs as root, and only then; motlab only opens the user's own pages. Checked on Ubuntu 24.04 as root, no GPU, Google Chrome 157:motlab render example --scale 1went from failing at once to a 9 s, 1080p render in 13.6 s (8.5 s on a repeat run, with the encoder probe cached), andnpm testpassed 34/34. Not tried: a non-root user in a container where Chrome's sandbox still fails. - Footage in WebM or MKV showed some frames one frame late: at 30 fps every third frame (2, 5, 8 and so on) was the one before. These containers store timestamps in whole milliseconds, so a frame due at 0.0667 s is stored at 0.067 s, and
clip.frame(t)did not count it as shown yet.footage.jsnow rounds the time it is asked for to the millisecond for these two containers, and MP4 and MOV work as before. Checked on the Windows laptop with clips made by ffmpeg in which every frame is a different grey: VP9 in WebM and MP4, H.264 in MKV, MP4 and MOV, at 24, 25, 29.97, 30 and 60 fps, rendered at 30 fps and at the clip's own rate, 40 cases, every output frame the source frame due at that time (12 of the 40, all WebM or MKV, were wrong before). Stills in a jumbled order and stepping frame by frame in the viewer showed the right frames too.test/render.test.jsrenders a VP9 WebM and checks every frame. Not tried: footage filmed on a phone in these containers.
Changed
- The copyright line in
LICENSEnames Stanyslaus Hary (motlab) instead of "motlab contributors". The licence is still MIT. - The repository has a sponsor button (
.github/FUNDING.yml, GitHub Sponsors, Ko-fi and Saweria), and the README has a star history chart above the licence.
0.2.2 (2026-11-17)
Fixed
- 0.2.1's setup dropped every copy of Node's folder from the front of PATH before checking whether npm's command folder was on it. That is right on Windows, where nvm 2.0's shim puts it there, but on macOS and Linux nvm puts Node's folder first in the terminal itself, and it is npm's global folder, so setup would have written an unneeded launcher to
~/.local/binand asked to add that folder to PATH. Outside Windows only the copy npx adds is dropped now. The check is insrc/userpath.js, and seven PATH cases intest/install.test.js(Linux nvm directly and through npx, Linux system Node, a folder really off PATH, nvm for Windows directly and through npx, Node from nodejs.org) cover it on the CI runners. The 0.2.1 version failed both Linux nvm cases. - A scene transition whose WebGL context was lost failed with "transition fade: null", because the shader logs come back empty then. It happened twice in three CI runs on the Ubuntu runner, where Chrome draws with SwiftShader, at the first shader compile. The mixer now builds a new canvas and context and draws the frame again, and only a second loss stops the render, with a message that says so. A loss that draws nothing without an error is caught too, by checking the context after the draw. Checked in Chrome on Windows with
WEBGL_lose_context: a context lost once drew the frame (the right colour), one lost every time stopped with the message, and a normal one drew as before. CI then passed three runs in a row on both runners. Why the runner loses the context was not found; a GPU watchdog during a slow software compile is a guess. - When mediabunny is not installed, as in a clone where
npm ciwas never run, the renderer said only that the page "failed to fetch dynamically imported module ... mediabunny.mjs" before it fell back to the raw bitstream. It now says mediabunny is not installed and to runnpm ciin the engine folder. Seen on a Linux VPS where the tests ran in a fresh clone; checked on Windows with a copy of the engine that has nonode_modules. motlab doctortold a user missing Python packages to runpip install -r skills/motlab/requirements.txt, a path that only works from a clone. It now prints the full path. Seen on the Linux VPS after an npm install.
Changed
- When Chrome is missing on Linux,
motlab doctorprints the commands that install Google's.debon x64 Debian or Ubuntu, and says the Chromium snap can fail headless, instead of "install Google Chrome or Chromium from your distribution". On other processors it says to use the distribution's Chromium, not the snap. Checked by printing the hint with the platform set to Linux x64 and arm64 on the Windows laptop; the commands have not been run on Linux. - The README's install section lists the setup command for each agent (Claude Code, the agents that read
~/.agents/skills, Antigravity, several at once, any other folder) instead of a folded list of options.
Tried on Windows 11 with nvm for Windows 2.0 and this laptop's own PATH: npm install -g of the packed tarball, then npx @motlab/cli setup from a test home wrote the launcher when npm's folder was off PATH and none when it was on PATH. On a Linux VPS (Ubuntu, Xeon Platinum 8255C, 2 cores, 8 GB, no GPU, Node 24.22.3 with npm's prefix in ~/.npm-global), with a tarball packed from this branch: npx @motlab/cli setup --skill none wrote no launcher, which motlab found npm's own command, doctor was ready, the example rendered at 960x540 with SwiftShader and the software H.264 encoder (about 180 to 215 fps, 1.5 to 2.3 s a scene), and after npm ci in a clone npm test passed. Not tried: macOS, and nvm on Linux outside the tests.
0.2.1 (2026-11-17)
Published from commit 984fcea; the package on npm matches that commit file for file.
Fixed
npm install -g @motlab/cligave no workingmotlabcommand under nvm for Windows 2.0, whose shim mode keeps npm's global folder off PATH, and the README's next step,motlab setup, failed there with "not recognized". Setup now notices when npm's command folder is not on PATH and writes the samemotlablauncher to~/.local/binthat the clone installer writes, pointing at the engine in npm's folder, and prints the line that adds~/.local/binto PATH when it is missing.motlab uninstallremoves it, and an update withnpm install -g @motlab/cli@latestkeeps it working. Where npm's folder is on PATH nothing changes (but see 0.2.2 for nvm on macOS and Linux).- Setup run from npx's cache, with no global install, stops and says to install first instead of copying skills from a folder npx may clear.
motlab doctorreported mediabunny missing when npm put it next to the engine folder instead of inside it, as npx does. It now finds it the way the server does, through Node's module resolution.
Changed
- The README and the install docs run setup as
npx @motlab/cli setup, which works beforemotlabis on PATH; npx runs the installed package and downloads nothing.
Tried on Windows 11 with the packed tarball in separate npm folders and home folders: npm's folder off PATH (launcher written, motlab --help through it, uninstall removed it), on PATH (no launcher), from a copy laid out like npx's cache (stops, exit 1), and over a clone's launcher (dry run: replaced, naming what it ran). With nvm for Windows 2.0, npm install -g of the tarball then npx @motlab/cli setup wrote the launcher, and motlab --help and update ran through it. doctor found mediabunny inside the engine folder and next to it, and failed with it gone.
0.2.0 (2026-11-17)
Added
- motlab is on npm as
@motlab/cli, in the npm organizationmotlab, since the namemotlabalone was taken there by an unrelated package. The command is stillmotlab.npm install -g @motlab/cliinstalls the engine and the command. The package holds the engine, the skills, the example project and the docs (90 files, 943 kB packed);bench/,test/and the README images stay in the repository. motlab setupcopies the skills to agent folders after an npm install. It runsinstall.js --skills-only, so it takes the installer's skill options (--skill,--skill-dir,--link,--update,--force,--dry-run) and ends withmotlab doctor.
Changed
- From an npm install,
motlab updateasks npm for the newest version and prints the commands that get it (npm install -g @motlab/cli@latest, thenmotlab setup --update), andmotlab uninstallsays to finish withnpm uninstall -g @motlab/cli. A clone works as before. - The README installs with npm first; the clone and
install.jsare under "From a clone instead".
Tried on Windows 11: the packed tarball installed with npm install -g --prefix into a separate folder, with a separate home folder. motlab setup --skill claude,agents, setup --update --dry-run, update, uninstall --yes, and motlab render of a copy of the example at --scale 0.5 (9 s, 3 scenes, in 11 s). After the publish, the same from the registry: npm install -g @motlab/cli into a separate folder (the same shasum as the packed tarball), update (up to date), setup --dry-run and the render. npm held the first publish for about a minute and a half as a staged release, showing a placeholder 0.0.0-stage, before 0.2.0 became latest. A global install with nvm for Windows 2.0 (shim mode) put the command in installs\v24.20.0, which is not on PATH: nvm's .shim folder only holds the shims nvm ships with (codex among them, which is why that one works). With npm_config_prefix set to %APPDATA%\npm, which is on PATH, motlab --help and update ran from npm. The docs give npm config set prefix "%APPDATA%\npm" for nvm users, or the clone. Over skills linked to a clone, motlab setup removed the links (the clone's files untouched) and copied the skills, and node install.js --skills-only --link linked them back. Not tried: macOS and Linux.
0.1.0 (2026-11-16)
The first release.
Added
CI on GitHub Actions (
.github/workflows/ci.yml):motlab doctorandnpm test, the end-to-end renders among them, onubuntu-latestandwindows-latestwith Node 24, the runner's Google Chrome and ffmpeg (8.0.1 from Ubuntu, 9.0.2 from Chocolatey). The runners have no GPU, so Chrome draws in software there. All 30 tests pass on both.The viewer runs as a background server.
motlab startstarts it on 4173 (the next free port up to 4190 when something else has 4173) and returns,motlab stopends it (asking it to exit, so a running export closes its Chrome), andmotlab restartstarts it again from the folder it ran in.motlab edit <project>now opens the project in the running viewer and ends, starting the viewer first when none runs, instead of staying in the terminal until Ctrl+C;motlab start --foregroundis the old way. The server's output goes to~/.motlab/viewer.log. A stop request from another site's page gets a 403, like the viewer's other writes. Tried on Windows: start in 0.5 s, a second start says it is running, edit, restart from another folder (the menu kept the first folder), stop, edit with no viewer running, and a viewer on 4174 while another server held 4173.motlab uninstallremoves the launchers that run motlab, the two skill folders in every agent folder from~/.motlab/install.json(or the agent folders the installer knows),~/.motlaband the encoder timings, after listing them and asking.--yesskips the question,--dry-runonly lists, and without a terminal it needs--yes. A linked skill is removed as a link. The clone is left. A test runs it in a made-up home folder; a junction made like--linkdoes was also removed without touching its target.THIRD_PARTY_NOTICES.md: the MIT licence of gl-transitions, whose shaders are copied intosrc/page/transitions.js(the MIT licence asks for its text to go with copies), and the licences of what motlab installs or loads from a CDN.The README shows the 19-second motlab ad (made with motlab and its skill) as a silent animated WebP,
assets/demo.webp: 960x540, 24 fps, 4.6 MB. A GIF of the same ad was 7.3 MB at 720 px and 12 fps.bench/run.mjstakesIGPU=1to run only motlab's settings on Chrome's default GPU (the newbench/motlab-igpu.mjsleaves out--force_high_performance_gpu), which on the test laptop is the integrated Radeon that Remotion and HyperFrames drew on. On the Radeon motlab took 8.0 to 12.0 s at 1080p and 13.2 to 22.5 s at 4K, no slower than on the RTX 3060 except the 4K default (22.5 s against 19.4 s), so the gap to the other two stays about the same.bench/run.mjstakesCPU=1to run the benchmark with Chrome drawing in software (ANGLE on SwiftShader) and CPU encoders only: Remotion--gl=swangle, HyperFrames--no-browser-gpu, and motlab through the newbench/motlab-cpu.mjswith--encoder sw. On the test laptop motlab was the fastest at 1080p (19.2 s with 4 workers, HyperFrames 28.3 s, Remotion 46.7 s), but at 4K HyperFrames was faster (43.4 s against motlab's 60.7 s). The GPUs were still in the laptop; a machine without one was not tested.docs/rendering.mdalso notes that Remotion and HyperFrames drew on the integrated Radeon in the GPU benchmark, and that the saved encoder probe keeps one machine.bench/run.mjstakesSCALE=2to render every setting at 4K (motlab--scale 2, Remotion--scale=2, HyperFrames--resolution landscape-4k), with 4K reference stills, intoresults-4k.json.bench/: one scene (a turning gradient, 160 moving cards with numbers, text) rendered by motlab, Remotion 4.0.543 and HyperFrames 0.9.52 with the same Chrome, timed three times per setting, with SSIM against lossless stills. On the test laptop at 1080p and 300 frames, motlab took 9.5 to 12.6 s, HyperFrames 27.2 s and Remotion 30.7 s at their fastest settings. The table and what was not measured are indocs/rendering.md, and the README now shows its results as a table instead of the earlier synthetic benchmark. Not run at 4K or outside Windows.motlab update. In the clone the command runs from, it fetches the branch fromorigin, lists the new commits, fast-forwards to them and runs the newinstall.js --update, which runsnpm ci, writes the launcher and copies the skills again to every folder they were installed in. It stops when the clone has changes to tracked files, is not on a branch, or has commits of its own. The installer now keeps where it put the skills, the launcher and--linkin~/.motlab/install.json; for an install from before that file,--updatefinds the skill in the agent folders it knows.--dry-runprints the steps. A test runsinstall.js --update --dry-runagainst a made-up home folder. Tried on Windows in a test clone one commit behind a local bare repository, with a made-up home that had old skills in~/.claude/skillsand~/.gemini/config/skills: the dry run, the update (both skill folders replaced, the record written, doctor Ready) and a second run that said it was up to date. The skill runs it when the user asks for an update.The viewer in English as well as Indonesian. It follows the browser (Indonesian when one of its languages is Indonesian, English otherwise), and the last row of the project menu switches to the other language and remembers it. All its text is one table,
TEXT, and a test checks that every key the page uses is in it in both languages. The server's few error messages are now in English; the page shows its own text for them. Tried in the desktop app's browser on the example project: every label, tooltip, menu, the note card, the range bar and the timeline's key list read in each language, and the version name check worked. The pane was hidden, so the layout was checked through the page's text, not by eye.The installer puts the skills where more agents look.
--skill agentswrites to~/.agents/skills/, the shared folder that Codex, Cursor, OpenCode, GitHub Copilot, Gemini CLI, Amp and Windsurf read;--skill antigravitywrites to~/.gemini/config/skills/, the one folder both the Antigravity App and its CLI read (the CLI's own~/.gemini/antigravity-cli/skills/and~/.gemini/skills/are not read by the App);--skill copilotto~/.copilot/skills/. Targets can be joined with commas (--skill claude,agents,antigravitycovers all of them), and--skill-dir <dir>takes any other agent's folder. The folders come from each agent's docs as of November 2026. A test checks that each skill's name matches its folder and its description is at most 500 bytes.A second skill,
skills/motlab-assets: reusable asset kits built as code, without AI image, video or 3D models. A kit is a folder withtokens.json,style.md,kit.jsonand each asset's source and outputs, and a video copies it intoassets/kits/. 2D assets are SVG rendered to transparent PNG at any scale throughtemplates/asset.htmlandmotlab stills(a 400x600 character to 1600x2400 in 2.6 s). 2D characters are oneparts.svgplus arig.jsonof pivots and parents, posed in a scene withtemplates/svgparts.js. A transition is atransition.jslayer drawn over motlab's hard cut, half in each scene, with a preview page that also writes a PNG sequence with alpha.scripts/palette.pyreads the main colours of references and measures assets against the kit's colours;scripts/sheet.pytiles any images on a checker for review.3D in the asset skill has two paths, and the skill asks which one. The light path needs no Blender:
scripts/mesh_export.pywrites distance-function meshes as GLB and OBJ + MTL with flat PBR colours (a two-part test mug of 194,646 vertices in 2.9 s), andtemplates/model.htmlrenders turntable stills of a GLB through three.js (four 1024 px views in 2.6 s). The main path uses Blender:scripts/blender/asset3d.pybakes base colour, roughness, normal and AO maps, exports GLB, FBX and OBJ, renders a Cycles turntable with transparent background, and re-imports the files to check them. On the same mug with Blender 5.2 and an RTX 3060 Laptop: bake 7.5 s, export 1.2 to 2.3 s, four 1024 px views at 32 samples 16.8 s; the GLB, FBX and OBJ came back with the same meshes, materials and 6 texture images.scripts/blender/check_blender.pyprints the Blender version, the Cycles device, and whether MPFB, a Blender MCP add-on and Rigify are installed.install.jsinstalls both skills.Done notes. Tandai selesai in an open note, or
"done": truewritten by the agent inselection.json, takes the note off the preview and the timeline and folds it under Selesai at the end of the Catatan list; Buka lagi opens it again. The viewer keeps the file'sdonefor notes it did not change, and reads it again on focus, so the agent can mark notes while the page is open. The skill skips done notes and marks each note done once it is applied. Tried on a copy of the example in the desktop app's browser: done and reopened in the card,donewritten into the file while the page was open (picked up on the next click and on a focus event, and not overwritten), and a note in a second version left alone.Tooltips in the viewer's style instead of the browser's: a dark label with the shortcut in a key cap, and a list of the timeline's keys when the pointer rests on it.
Notes in the viewer. A drag on the preview draws a box and a click marks a point, and a card opens under it to type what is wrong there; a range can get a note too. Notes stay until they are deleted, numbered across all versions of the folder, and are listed under Catatan in the side panel and as numbered tags on the timeline. A box or point shows only on the frame it was drawn on.
selection.jsongetsmarks, and each box or point note getsselection/<n>.png. The skill reads them and works through them by number. Tried on a copy of the example in the desktop app's browser: a box, a point, a range note and a note in a second version, reloading, opening from the list and deleting (its picture went with it).A time range on the viewer's timeline, marked the way video editors do it: a range tool (the button in the play toolbar, or
R, as in Final Cut Pro) and a drag on the timeline, Shift+drag,IandOat the playhead (Premiere, Resolve, Final Cut, Frame.io), orXfor the scene under the playhead (their Mark Clip). Its edges have blue heads like the playhead and can be dragged. It is a light blue band, a range bar next to the play toolbar shows it with Catatan and ×, Play loops inside it, andselection.jsongetsrange: { start, end, scenes }on the frame grid. Tried on the example project in the desktop app's browser, also at 375 px wide.Versions in the viewer. Every
.jsonfile in a project folder with asceneslist is a version, and the second name in the header is a menu of them (project.jsonis "Utama"). "Versi baru dari ini" copies the open version toproject-<name>.jsonand opens it. Export renders the open version, andselection.jsonnames it asproject. Tried on a copy of the example with a version that left out the last scene: the viewer showed 2 scenes (6.50 s) and a 720p export wroteout/iklan-b-tiktok-720p.mp4in 7 s.One viewer for many projects. Each project is at
/p/<folder>/, and the project name in the header is a menu of the projects the viewer knows: folders with aproject.jsonup to four levels under the folder it was started from, and every project opened before (~/.motlab/recent.json). A secondmotlab editadds its project to the running viewer instead of starting one on the next port, andmotlab editworks without a project. Tried with the example and a copy of it on another drive, next to two older viewers on 4173 and 4174.The viewer's export can be cancelled. While an export runs, the Export button is faded with a spinner and a red "Batalkan" button appears under it; pressing it closes the render's Chrome and stops ffmpeg, and the menu says "Export dibatalkan". On the example project at 4K it stopped in 0.3 s during the second scene, with no Chrome process, temp folder or output file left behind. The server route is
POST /export/cancel, andrenderProjectandrenderVideotake anAbortSignalassignal.MIT licence, and an install guide, agent install guide and docs for projects, the viewer, the command line and rendering under
docs/.install.js: one installer for Windows, macOS and Linux. It runsnpm ci, writes amotlablauncher to~/.local/bin, copies or links the skills to the agent skill folders you pick (see--skillindocs/install.md), and checks the machine.motlab doctor: checks Node, Chrome, ffmpeg, ffprobe, the npm packages and the skill's Python packages, and prints how to get what is missing.skills/motlab/requirements.txtfor the skill's Python scripts.CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, AGENTS.md, ROADMAP and GitHub issue and pull request templates.
Skill:
get_sfx.pysearches Openverse for openly licensed sound effects (CC0 by default, or any licence that allows commercial use), downloads the chosen ones and keeps aCREDITS.mdwith a credit line for each. Without a key Openverse allows 20 requests a minute and 200 a day (its rate-limit headers on 2026-11-13). It retries withcertifiwhen the Windows certificate store rejects a valid chain, as it did forcdn.freesound.orgon the test laptop.mix.py: a cue can name arole(hit,whoosh,riser,click,ui,pop,tap,key,tick,ambience) that sets its level and anchor. The levels follow the Clipwing real-sfx skill (hit −4, whoosh −9, riser −12, click −14, ambience −24 dBFS peak).mix.py --voice <file> [--duck 9]turns the effects down while the voice speaks. On a test mix with two seconds of synthetic speech, a whoosh under speech came out 9.0 dB lower and a click 0.6 s after it about 0.5 dB lower.mix.pywarns about one recording 5 or more times in a row and abouttick,keyandpopruns closer than 66, 87 and 114 ms (the spacings in earshot's launch kit), and ends with up to five "listen by ear" moments for the user.Skill: when earshot is installed (its CLI or MCP tools), the agent uses it to shortlist sounds from a library by what they are, measure the mix (LUFS, true peak) and render a missing sound from code. It asks before fetching earshot's 1.1 GB of models. Without earshot nothing changes. Not tested with earshot installed: the laptop used for this change does not have it.
Skill:
template-three.htmlfor real 3D with three.js 0.186.1 (a GLB or glTF model, or a placeholder box, on a shadow floor with a 2D title over it; model animations throughmixer.setTime(t)), andtemplate-p5.htmlfor generative graphics with p5.js 2.3.4, withreferences/engine-p5.mdon keeping p5 frames independent of each other. Both load the library from jsDelivr, so rendering them needs the network. Stills rendered forwards and in reverse were identical byte for byte, and a 3-scene project with both rendered at 1080p and 4K and played in the viewer, on the test laptop (RTX 3060 Laptop). Not tested with a real product model or in p5's WebGL mode.Transitions between scenes. A scene in
project.jsoncan be{ "file": ..., "transition": { "type", "duration", "ease", "params" } }, and the scene before turns into it through one of 11 shaders from gl-transitions 1.43.0 (MIT):fade,fadecolor,Directional,directionalwipe,directionalwarp,circleopen,CrossZoom,crosswarp,SimpleZoom,LinearBlur,cube. The two scenes overlap for the transition, so the video is that much shorter. The render draws it as a part of its own (__motlab/transition.html), the viewer mixes the same two canvases with the same code (src/page/transitions.js), and the timeline marks the overlap with a bowtie. On the example project, a transition frame in the viewer and in the 1080p MP4 differed by 1.37 levels of 255 on average.selection.jsongets atransitionfield inside one./__motlab/motion.jsfor scene pages: easings, CSScubicBezier, exact springs (spring({ stiffness, damping, mass, velocity }), solved in closed form so frame order does not matter), keyframes (tween),staggerandmotionBlur.test/motion.test.jschecks them.Cut lists for talking heads:
skills/motlab/scripts/cut_pauses.pycuts the pauses out of a recording with ffmpegsilencedetectintocuts.json, and writes the voice with the same cuts./__motlab/cuts.jsplays the list in a scene with alternating punch-in zoom, an eased glide between framings, a slow drift and optional dissolves. On 40 s of a talking-head take: 10 parts, 38.64 s to 33.47 s, and the cut voice was the length of the list to within 10 ms, with and without a dissolve.Skill:
references/motion-and-libraries.md, with tested ways to drive GSAP 3.15.0, Anime.js 4.5.0, Lottie (lottie-web 5.13.0) and Theatre.js core 0.7.2 fromrenderAt(t). Each moved a test box to the expected position in forward and reverse order, in stills and in the viewer.A banner at the top of the README (
assets/banner.svg). Its text is outlined to paths from Syne, Instrument Sans and IBM Plex Mono (all OFL), so it looks the same on GitHub without loading fonts.
Changed
The git history starts again from one commit that holds the files as they are now; this changelog keeps the dated record of what changed. The repository on GitHub was created again for it, still private, and the old one is archived as a private repository under another name. An existing clone has to be cloned again.
THIRD_PARTY_NOTICES.mdnow says the example project's sounds were made for this repository and are under its MIT licence.The README starts with the motlab ad instead of the banner, as an animated AVIF,
assets/demo.avif: 1920x1080, 30 fps, 19.9 s, 2.1 MB, made from the 4K render with SVT-AV1 at CRF 30 (SSIM 0.994 on frame 300 against the 4K frame scaled to 1080p). The old WebP was 960x540 at 24 fps and 4.6 MB, which looked soft at the README's width.assets/banner.svgandassets/demo.webpare gone. Checked in Chrome that the AVIF plays and loops; Safari before 16.4 does not play animated AVIF.The README follows a shorter layout: a centered title with the install command and links, what motlab does, numbered quick start and how-it-works steps, and a FAQ in folded sections. The speed table and the docs table are unchanged. A "Watch the demo" section plays the 2-minute English walkthrough, and the ad's paragraph links to the ad with sound; both are 1080p H.264 under GitHub's 10 MB video limit, uploaded as GitHub attachments through the public
staryone/motlab-mediarepository, so they play inline and stay viewable while this repository is private.The skill's helper scripts, the 2D and 3D templates and seven references were written again from scratch, so all of
skills/motlabis motlab's own work under its MIT licence. The scripts keep their command lines and function names (Puppet.create,GL3D.create, thekit,tracksandmesh_from_sdffunctions,mix.py's cue format). What behaves differently:kit.renderputs frame f at (f - 1) / fps seconds instead of spreading the frames over 0 to the end, and keys with linear interpolation through a preference, which also works in Blender 5's layered actions;kit.load_modelalso reads FBX;mesh_from_sdf.netsplaces each vertex at the average of the cell's edge crossings (classic surface nets) and returns the vertices and quads;example_scene.pyis now a speaker with a dark band;synth_sfx.pymakes nine sounds with lower-case names (synth whoosh short,synth pop, ...);contact_sheet.pykeeps the stills' aspect ratio and takes--width;key.pytakes--tol;grid.pyshows transparent areas on magenta;compose_into_clip.pyuses Pillow instead of OpenCV, so the skill andmotlab doctorno longer ask for OpenCV. Checked on the test laptop: the mesher's sphere, ellipsoid, bar, union, cut and revolved shapes came out closed with outward normals (sphere volume within 0.2% of 4/3 pi); the newmix.pyon the old cue file and sound kit printed the same placements and warnings as the old one, with samples at most 0.001 apart;puppet.jsandgl3d.js(depth order, fog, depth of field, floor reflection, light band,project) were looked at throughmotlab stills, and the puppet's stills were identical in forward and reverse order; the four templates rendered stills; the Blender example rendered 100 frames at 1280 px and 24 samples in 402 s on Blender 5.2 (OptiX), the flat look rendered, and a frame-player page turned the frames into an MP4 with every frame closest to its own PNG (mean difference 0.22 of 255); the asset skill'sasset3d.pybaked, exported and re-imported the new example's body, andmesh_export.pywrote it as GLB and OBJ.Tested the ROADMAP items that could be tested on the Windows test laptop without downloading anything new, and moved the results into the docs that own them: footage (a 20-minute recording, variable frame rate, HEVC 8 and 10-bit, every frame checked by a number drawn into it), a 12-scene project with all 11 transitions,
cut_pauses.pyon a whole 10-minute take, three.js with a 15 MB GLB with 4K textures and with a Rigify rig, a heavy p5.js sketch and p5.js in WebGL mode, GSAP's SplitText, MorphSVG and DrawSVG, dotLottie, Lottie image and text layers,puppet.js,svgparts.jsandtransition.jsthrough the renderer, brand fonts in all four templates, a whole Blender sequence played by a scene page, Rigify export, a Blender MCP running the asset skill's scripts, the viewer with 20 WebGL scenes and an hour of audio, the viewer's sound against the render, full screen and notes in full screen in a windowed Chrome, notes drawn with emulated touch, the project menu's walk of a home folder (0.77 s, 0.33 s the second time),motlab updatepulling three commits from GitHub into a fake home, a 10-minute render at 4K (1,126 s, 3.16 GB, with other tests running), and the benchmark at 4K, where motlab took 13.1 to 19.4 s and the fastest of Remotion and HyperFrames 48.9 s. Two viewer tabs on one project were confirmed to lose a note, which is fixed (see Fixed). The dotLottie, GSAP plugin and Blender sequence patterns are in the skill's references. Not tested, as each needs a download or another account: Linux and macOS, a machine without a GPU, Rive, MPFB, and agents other than Claude Code.The skill has been used from start to finish on two real briefs: a 2-minute demo video of motlab (10 scenes) and a 19-second ad for motlab (7 scenes), both rendered to 4K MP4. Making them used the viewer's notes and ranges with a real mouse and keyboard, the agent marking notes done, and scene transitions, so ROADMAP no longer lists those or the skill itself as untested. Its longest render is now that 2-minute video instead of 480 frames. Render times for them were not recorded. ROADMAP also says that a transition as a layer over the cut already exists in the asset skill, and that
motlab updatehas only fetched from GitHub, not pulled new commits from it.--skill codexnow installs to~/.agents/skills/, the only user folder Codex's docs list. A copy in~/.codex/skills/from an older install can be deleted.Both skill descriptions are under 500 characters. The motlab one was 1,067, over the Agent Skills limit of 1,024, and Codex skips a skill whose description is too long. The skills also say "the agent" or "you" instead of "Claude", so they read right in any agent.
selection.jsonno longer hasboxandpoint, and the viewer no longer writesselection.png: a box or point is now a note inmarks, with its picture inselection/<n>.png. A box no longer follows the playhead to other frames, and Escape no longer removes it (Hapus in the note does). An oldselection.pngis removed on the next save.A project file named
project-<name>.jsonnow renders to<folder>-<name>.mp4, without theproject-(promo-v2.mp4, notpromo-project-v2.mp4). Other file names are named as before.renderProjectwrites the final MP4 as<name>.mp4.partand renames it when it is complete, asrenderVideoalready did, so a failed or cancelled export no longer leaves a half-written file inout/.renderVideotakesheadandtail(frames to leave out at the start and the end of a page),url(a page the server provides) andquery, which project transitions use.mix.py: a cue withoutalignis now placed byautoinstead ofpeak: the role's anchor, or for a cue without a role,startwhen the peak is within 60 ms of the audible start,arrive(first at −3 dB of the peak) when the sound is nearly full 100 ms or more before its peak, andpeakotherwise. Struck sounds now start on the beat instead of their lead-in coming before it. Old cue files that relied on thepeakdefault sound different; add"align": "peak"to keep the old placement. A cue needsdborrole.The README is now a short overview. The engine reference moved to
docs/.The
refs/folder of UI screenshots is no longer in the repository or its history.
Fixed
Renders made while Chrome draws in software (SwiftShader, or a machine without a GPU) had shifted colours: Chrome writes such frames as full range YUV, and every file was tagged limited range, so
#30E2A8decoded as (41, 243, 179) instead of (48, 226, 168). The range now comes from the encoder'sdecoderConfig, and ffmpeg writes it into the container and the bitstream. On a GPU nothing changes. Found by the first CI runs, reproduced and checked on the test laptop with SwiftShader. motlab's SSIM in the benchmark without a GPU went from 0.980 to 0.982 and 0.983 at 1080p, and from 0.988 to 0.991 and 0.992 at 4K.Scene transitions failed with "scene transitions need WebGL2" on a Linux machine without a GPU. Chrome now gets
--enable-unsafe-swiftshader, so WebGL falls back to software there; with a GPU it changes nothing.Two viewer tabs on one project lost notes. Each tab saved its whole list, so a note made in one tab was dropped when the other saved, and both gave their new note the same number, the second overwriting the first one's picture. A save now names the notes the tab deleted, the server keeps the rest (
mergeNotesinsrc/editor.js, tested intest/notes.test.js) and moves a new note to the next free number when its number was taken, and the page takes in the file's notes after every save and on focus. Notes get anid; notes from before ids are matched by number. Tried with two tabs in a windowed Chrome: notes 1 and 2 from the two tabs, each listed in both after a focus change, and a delete in one tab that the other did not undo. A running viewer keeps the old code until it is started again.A project whose scenes had different canvas sizes rendered without a word and made an MP4 that changed resolution partway through (1920x1080, then 1280x720, then 1920x1080 in the test).
motlab renderand Export now stop with an error that names the scene and both sizes.test/render.test.jschecks it.The render put mono audio files 3 dB lower than the viewer plays them. ffmpeg's up-mix to stereo lowers a mono channel by 3 dB on each side, while WebAudio copies it to both at full level. Mono files now go to both channels at full level in the render too. On the example project (all three files are mono) the viewer, recorded off its audio graph, and the render now differ by 0.02 dB instead of 3.0 dB. Renders of existing projects with mono files get 3 dB louder.
test/render.test.jschecks the level.A page whose
window.readynever resolves mademotlab render,videoandstillswait forever in silence. They still wait, since a heavy page can take long, but print "Still waiting for window.ready after 30 s" with the page and its errors.template-three.htmlasked forPCFSoftShadowMap, which three.js 0.186 has removed; it fell back toPCFShadowMapwith a console warning for every scene. It now asks forPCFShadowMap, so the shadows are as before without the warning.puppet.js's header left out the last two arguments ofdraw(cw,ch, the target canvas size).The viewer's Cancel button did nothing. The page asked for
export/cancelrelative to/p/<project>/, the server only answers/export/cancel, and the 404 was swallowed, so the render ran on and the button stayed on "Cancelling…". The page now asks for/export/cancel. Tried in the desktop app's browser on the example project at 720p: cancelled 4 s in, during scene 1, it stopped in 0.8 s with "Export cancelled" and no file left inout/.get_sfx.py searchfailed with HTTP 401 whenever--maxwas given or--nwas above 20: without a key Openverse refuses apage_sizeabove 20 ("page_size may not exceed 20 for anonymous requests"), and the script asked for 40. It now asks for pages of 20, reads up to 3 of them with--max, lists at most 20 sounds, and prints the API's message instead of a traceback when a request fails. Tried on 2026-11-15 withsearch whoosh --max 2and--n 30.Docs and help text that no longer matched the code.
motlab --helpsaid--rootdefaults to the page's folder; it is the nearest folder with aproject.json. The viewer's message for a folder with no project is in English, like its other server messages.motlab doctorsaysnpm ci, notnpm install. The docs now say that stills are named with two decimals (0.50.png), that a 4K export is named-2160p, that a scene must be longer than its transitions together, that removing motlab includes~/.motlab/, and the viewer's export controls by their English names. The skill no longer sayscompose_into_clip.pytakes an export: it takes transparent PNG frames from Blender. It changes no render or viewer behaviour beyond the one message;npm testpassed and the message was checked on an empty folder.The motlab skill's Blender
kit.pysaved frames to the drive root when the output folder was relative (framesbecameC:rameson Windows). It now resolves the folder against the working folder.The 2D and 3D templates kept their preview loop (
requestAnimationFrame) running inside the viewer, because the viewer loads scenes without?t=. Each loaded scene drew frames in the background while nothing played: with the old check, the three.js template drew 900 frames in 3 seconds in the desktop app's browser, and none with the new one. A template now loops only when it is opened by hand, not in an iframe.Viewer playback stuttered on busy scenes. It drew a frame on every display refresh, so a 30 fps video was drawn about 213 times a second in the test browser, and the first frame after a cut into a footage scene waited 161 to 221 ms for the footage to seek. The viewer now draws only when the frame changes (29 to 30 draws a second on the same project), and draws the next scene's first frame while it loads ahead, so that first frame takes 10 to 17 ms. Measured on a 16-scene 1080x1920 project with 1440x1440 footage, on the test laptop's AMD integrated GPU; see
docs/viewer.md.The viewer ran out of file handles (
EMFILE: too many open files) after many reloads of a project with large footage. The browser aborts many Range requests while it seeks, and the server left the file open for each one. Files are now sent withstream.pipeline, which closes the file when the request is aborted.test/server.test.jsaborts 20 requests on a 32 MB file and checks that every file stream closes; before the fix all 20 stayed open.motlab stills,eventsandvideonow serve the nearest folder above the page with aproject.jsonwhen--rootis not given. Before, a scene that loaded../files needed--root, and without iteventscould write an empty list.A script error while the page loads now names the file, line and column. A
SyntaxErrorused to come without them.mix.pyreads.ogg,.opusand.m4afiles from the library (they were skipped without a word) and prints aWARNINGfor each cue outside0to--len, which was cut off or silent before.contact_sheet.pyreads.pngstills, the default ofmotlab stills, as well as.jpg, and says so when the folder has none. It used to fail with "cannot write empty image" on a folder of PNGs.
Security
- The viewer's server only accepts writes (every POST:
/selection,/versions,/export,/export/cancel,/open) from its own page or frommotlab edit(no Origin). A request from another origin, or with a host name other than127.0.0.1,localhostor[::1], gets a 403, so another site open in the browser cannot writeselection.jsonor start an export.
2026-11-12
- Viewer: drag a box or click a point on the preview.
selection.jsongetsbox,pointandframe, andselection.pngshows that frame with the box. The box stays when the time changes, and a click on the empty space around the preview removes it. - Viewer: the box and point are a thin outline in the style of the Claude canvas selection box, and the + cursor turns white over dark parts of the frame.
- Viewer: the timeline zooms up to 24 px per frame, scrolls sideways and follows the playhead, and it can be hidden.
- Viewer: only three scene pages stay loaded, so long projects open and play lighter. A 45-scene project opened in about 4 seconds.
- Skill: moved to
skills/motlab, reads the exact frame and audio point fromselection.json, and picks a Google Font when no brand font is given.
2026-11-11
- First version: canvas scene pages rendered in headless Chrome with WebCodecs, a project format with audio, the web viewer with Export, the footage layer with Range requests, and the motlab skill.