Files
patriothacks/.omo/ulw-research/20261118-121942/report.html
T

190 lines
16 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>LLM-authored demo-video harnesses: research + applied upgrade</title>
<style>
:root { color-scheme: light dark; }
* { box-sizing: border-box; }
body {
margin: 0;
font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
color: var(--foreground, light-dark(#1a1a1a, #e8e8ec));
background: var(--background, light-dark(#ffffff, #0f1115));
line-height: 1.55;
}
.wrap { max-width: 920px; margin: 0 auto; padding: 8px 4px 32px; }
h1 { font-size: 1.5rem; margin: 0 0 4px; line-height: 1.25; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--border, light-dark(#e5e5ea, #2a2d34)); }
h3 { font-size: 0.98rem; margin: 1.1rem 0 0.4rem; }
p { margin: 0.5rem 0; }
.lede { color: var(--muted-foreground, light-dark(#555, #a0a4ad)); font-size: 0.98rem; }
.meta { font-size: 0.82rem; color: var(--muted-foreground, light-dark(#6b6b70, #8a8d96)); margin-top: 0.3rem; }
a { color: var(--primary, light-dark(#1d4ed8, #60a5fa)); text-decoration: none; }
a:hover { text-decoration: underline; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 0.6rem 0 1rem; }
th, td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--border, light-dark(#e5e5ea, #2a2d34)); vertical-align: top; }
th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-foreground, light-dark(#6b6b70, #8a8d96)); font-weight: 600; }
td.verdict-yes { color: var(--success, light-dark(#15803d, #4ade80)); font-weight: 600; }
td.verdict-no { color: var(--muted-foreground, light-dark(#8a8a8a, #70737c)); }
.pill { display: inline-block; font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; background: var(--muted, light-dark(#f1f1f4, #1c1e24)); color: var(--muted-foreground, light-dark(#555, #a0a4ad)); margin-right: 6px; }
.card { background: var(--card, light-dark(#fafafa, #171a1f)); border: 1px solid var(--border, light-dark(#e5e5ea, #2a2d34)); border-radius: var(--radius, 10px); padding: 14px 16px; margin: 0.8rem 0; }
.finding { font-size: 0.93rem; }
.finding + .finding { margin-top: 0.7rem; }
.cite { font-size: 0.78rem; color: var(--muted-foreground, light-dark(#8a8a8a, #70737c)); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0.8rem 0 1.2rem; }
@media (max-width: 480px) { .compare { grid-template-columns: 1fr; } }
.compare figure { margin: 0; }
.compare img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--border, light-dark(#e5e5ea, #2a2d34)); }
.compare figcaption { font-size: 0.78rem; color: var(--muted-foreground, light-dark(#6b6b70, #8a8d96)); margin-top: 5px; text-align: center; }
.compare figcaption b { color: var(--foreground, light-dark(#1a1a1a, #e8e8ec)); }
.howcomputed { font-size: 0.82rem; color: var(--muted-foreground, light-dark(#6b6b70, #8a8d96)); background: var(--muted, light-dark(#f7f7f9, #15171c)); border-radius: 8px; padding: 10px 14px; margin: 1rem 0; }
.annex summary { cursor: pointer; font-size: 0.9rem; font-weight: 600; padding: 6px 0; }
.annex td, .annex th { font-size: 0.82rem; }
code { font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 0.85em; background: var(--muted, light-dark(#f1f1f4, #1c1e24)); padding: 1px 5px; border-radius: 4px; }
.effort { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.85rem; }
.effort div { color: var(--muted-foreground, light-dark(#6b6b70, #8a8d96)); }
.effort b { color: var(--foreground, light-dark(#1a1a1a, #e8e8ec)); display: block; font-size: 1.05rem; }
</style>
</head>
<body>
<div class="wrap">
<h1>People build LLM-authored demo videos with code pipelines, not generation models - and the right one for this project was already a two-line change away</h1>
<p class="lede">Nine research lanes, 60+ sources across 35+ domains, one debate round, three direct code-execution checks, and one real end-to-end render against this project's own app.</p>
<p class="meta">Research session <code>.omo/ulw-research/20261118-121942/</code> · full synthesis in <code>SYNTHESIS.md</code>, claim graph in <code>claim-graph.md</code>, debate record in <code>debate-log.md</code></p>
<h2>The landscape splits into three real categories</h2>
<div class="card">
<div class="finding">
<span class="pill">Category 1</span><b>Programmatic video frameworks</b> - Remotion, Manim, Motion Canvas. An LLM writes React/Python/TypeScript code; a renderer turns it into video. Remotion dominates for marketing/product content and can composite motion graphics directly on top of an <i>existing</i> recording. Manim dominates for math/STEM explainer content specifically - real, measured (an N=100 classroom study), but with essentially zero presence in literal UI/product-demo tooling. Motion Canvas sits in between but its original project has had no release since December 2024.
<div class="cite">Sources: remotion.dev, github.com/GJI9/reshoot, arxiv.org (4 papers read in full), slama.dev</div>
</div>
<div class="finding">
<span class="pill">Category 2</span><b>Playwright/Puppeteer-native demo-video pipelines</b> - the directly relevant category for a project that already records with Playwright. A real, active open-source ecosystem (<code>playwright-recast</code>, <code>demowright</code>, Playwright 1.59's native Screencast API) takes a captured browser session and layers cursor highlights, zoom-to-element, captions, and voiceover on top.
<div class="cite">Sources: github.com/ThePatriczek/playwright-recast, github.com/matte97p/demowright, playwright.dev, bug0.com</div>
</div>
<div class="finding">
<span class="pill">Category 3</span><b>Commercial AI-polished screen recorders</b> - Arcade, Screen Studio, Tella, Supademo. Not uniformly LLM-driven despite "AI-powered" marketing. Screen Studio's zoom/cursor is 100% classical computer vision; Arcade and Tella each split into a classical-CV layer plus a genuinely separate LLM-driven product (Tella's "Auto Capture" is an agent that writes and self-tests its own browser-navigation script).
<div class="cite">Sources: screen.studio, arcade.software/ai-terms, tella.com</div>
</div>
</div>
<h2>What this means for THE COMMONS: the recommendation, verified three independent ways</h2>
<p>This project already records demo video with Playwright's <code>recordVideo</code> and already has a working ffmpeg install. That rules out two of the three leading options outright and makes the third a near-zero-cost addition:</p>
<table>
<thead><tr><th>Option</th><th>Integration cost</th><th>Verdict</th></tr></thead>
<tbody>
<tr>
<td><b>playwright-recast</b></td>
<td>Add <code>context.tracing.start()/.stop()</code> around the existing script - the tour itself is untouched. Needs only the system <code>ffmpeg</code>/<code>ffprobe</code> this project already uses.</td>
<td class="verdict-yes">Adopted</td>
</tr>
<tr>
<td>demowright</td>
<td>Owns the entire browser lifecycle itself; requires porting the whole tour into its own step DSL from scratch.</td>
<td class="verdict-no">Ruled out - confirmed by direct source read, not inference</td>
</tr>
<tr>
<td>Remotion rebuild</td>
<td>Needs a new React/Node render toolchain; two real OSS examples prove it works, but with a self-reported sync-drift risk on long clips the maintainer has no generic fix for.</td>
<td class="verdict-no">Available if a heavier, more customizable pass is ever wanted - not needed here</td>
</tr>
</tbody>
</table>
<p>Three independent checks confirmed <code>playwright-recast</code> is real and does what it claims, each a materially different failure mode:</p>
<ol style="font-size:0.92rem">
<li><b>Documentation</b> - the project's own README names the exact API surface needed.</li>
<li><b>Direct code execution</b> - <code>npm install playwright-recast</code> + introspecting the live <code>Recast</code> class confirmed every claimed method genuinely exists.</li>
<li><b>Source clone</b> - a SHA-pinned <code>git clone</code> read of both <code>playwright-recast</code> and <code>demowright</code>'s actual source confirmed the integration mechanics directly, which is how demowright's disqualification was proven rather than assumed.</li>
</ol>
<p>The formal debate round caught something all three checks missed: they prove the API <i>exists</i>, not that it renders well. So a fourth check was run - an actual end-to-end render against this project's own app - and it surfaced two real, fixable issues no amount of reading would have found: <code>autoZoom()</code> silently requires <code>subtitlesFromTrace()</code> to run first, and the default recording resolution upscales 4.64x for a 1080p render, visibly softening text. Both are fixed in the shipped script (<code>e2e/demoVideoFull.e2e.mjs</code>): recording now happens at 2x device-pixel density via Playwright's own documented launch-arg trick, and the final render targets that exact resolution instead of upscaling.</p>
<h2>Before and after, from this project's own two renders</h2>
<div class="compare">
<figure>
<img src="/tmp/frame-6.png" alt="Water Watch screen from the original plain screen recording, no cursor or highlight visible" />
<figcaption><b>Before</b> - plain Playwright <code>recordVideo</code> capture, no motion graphics</figcaption>
</figure>
<figure>
<img src="/tmp/enh-frame-4.png" alt="Water Watch screen from the recast-enhanced recording, showing a visible cursor and a blue click ripple directly on the Submit reading button" />
<figcaption><b>After</b> - same moment, real trace-derived cursor + click ripple on "Submit reading"</figcaption>
</figure>
<figure>
<img src="/tmp/frame-18.5.png" alt="Wallet transaction history from the original plain recording, softer text, no cursor" />
<figcaption><b>Before</b> - wallet signature panel, plain capture</figcaption>
</figure>
<figure>
<img src="/tmp/enh-frame-20.png" alt="Wallet transaction history from the recast-enhanced recording, sharp text at 2x device scale, cursor visible mid-navigation" />
<figcaption><b>After</b> - same panel, sharp 2x-scale capture, cursor mid-navigation</figcaption>
</figure>
</div>
<h2>What the research also settled</h2>
<table>
<thead><tr><th>Question</th><th>Answer</th></tr></thead>
<tbody>
<tr><td>Is Manim/Motion Canvas really "dominant" for LLM demo videos?</td><td>Refuted as stated, true once rescoped to math/STEM explainers specifically - the four academic systems surveyed share one benchmark and define their own task as math theorems; the one non-math academic system (logo animation) chose plain HTML/CSS/JS instead.</td></tr>
<tr><td>Are "AI-powered" screen recorders actually LLM-driven?</td><td>Splits by vendor, and even by product within one vendor. Screen Studio: no. Arcade's separate AI Video product and Tella's Auto Capture: yes, confirmed via a legal subprocessors disclosure (Arcade) and an architectural description (Tella).</td></tr>
<tr><td>What should a hackathon demo video actually contain?</td><td>~2-3 minutes total, 15-30s of problem framing before the demo, the live demo at 50-75% of runtime, narration preferred over background music (one platform's rules ban background music outright). The oft-repeated "judges decide in 30 seconds" and "video is 10-15% of the score" figures are, respectively, single-sourced and outright folklore with no real platform backing.</td></tr>
</tbody>
</table>
<div class="howcomputed">
<b>How this was computed.</b> Nine background research lanes (team_create was unavailable in this environment, documented and worked around with plain task lanes) covered eight orthogonal axes in one wave; one lane failed twice with a 429 token-limit error isolated to a single agent category and was respawned under a different one rather than retried identically. Every claim is tagged to a URL, a file:line, or a command's real output in <code>claim-graph.md</code>; three high-risk claims went through a formal debate round recorded in full in <code>debate-log.md</code>.
</div>
<h2>Delivered</h2>
<ul style="font-size:0.92rem">
<li>The upgraded script: <code>e2e/demoVideoFull.e2e.mjs</code>, with <code>playwright-recast</code>, <code>ffmpeg-static</code>, and <code>ffprobe-static</code> added as real devDependencies (not a throwaway install).</li>
<li>A new, upgraded final video with real cursor highlights, click ripples, and auto-zoom layered onto the exact tour this project already had.</li>
<li>The full research trail: <code>brief.md</code>, <code>claim-graph.md</code>, <code>debate-log.md</code>, <code>expansion-log.md</code>, <code>SYNTHESIS.md</code> - all under this session's directory.</li>
</ul>
<details class="annex">
<summary>Sources consulted (representative 29 of 60+)</summary>
<table>
<thead><tr><th>#</th><th>Source</th></tr></thead>
<tbody>
<tr><td>1</td><td><a href="https://github.com/GJI9/reshoot">github.com/GJI9/reshoot</a> - working Playwright-to-Remotion overlay implementation, source read</td></tr>
<tr><td>2</td><td><a href="https://github.com/ashrafchowdury/programatic-demo">github.com/ashrafchowdury/programatic-demo</a></td></tr>
<tr><td>3</td><td><a href="https://arxiv.org/html/2604.05266v1">arxiv.org/html/2604.05266v1</a> (LLM2Manim) - read in full</td></tr>
<tr><td>4</td><td><a href="https://arxiv.org/html/2507.14306v1">arxiv.org/html/2507.14306v1</a> (Manimator) - read in full</td></tr>
<tr><td>5</td><td><a href="https://arxiv.org/html/2502.19400">arxiv.org/html/2502.19400</a> (TheoremExplainAgent) - read in full</td></tr>
<tr><td>6</td><td><a href="https://arxiv.org/html/2405.07065v1">arxiv.org/html/2405.07065v1</a> (LogoMotion) - read in full</td></tr>
<tr><td>7</td><td><a href="https://github.com/ThePatriczek/playwright-recast">github.com/ThePatriczek/playwright-recast</a> - cloned, API-verified by direct execution</td></tr>
<tr><td>8</td><td><a href="https://github.com/matte97p/demowright">github.com/matte97p/demowright</a> - cloned, source read</td></tr>
<tr><td>9</td><td><a href="https://playwright.dev/agent-cli/commands/video-recording">playwright.dev/agent-cli/commands/video-recording</a></td></tr>
<tr><td>10</td><td><a href="https://bug0.com/blog/whats-new-playwright-1-59">bug0.com/blog/whats-new-playwright-1-59</a></td></tr>
<tr><td>11</td><td><a href="https://screen.studio/guide/auto-zoom">screen.studio/guide/auto-zoom</a></td></tr>
<tr><td>12</td><td><a href="https://www.arcade.software/ai-terms">arcade.software/ai-terms</a> - AI-subprocessors legal disclosure</td></tr>
<tr><td>13</td><td><a href="https://www.tella.com/alternatives/tella-auto-capture-vs-arcade-supademo-guidde">tella.com/alternatives/tella-auto-capture-vs-arcade-supademo-guidde</a></td></tr>
<tr><td>14</td><td><a href="https://info.devpost.com/blog/6-tips-for-making-a-hackathon-demo-video">info.devpost.com/blog/6-tips-for-making-a-hackathon-demo-video</a></td></tr>
<tr><td>15</td><td><a href="https://angelhack.com/blog/hackathon-tips-for-winners/">angelhack.com/blog/hackathon-tips-for-winners</a></td></tr>
<tr><td>16</td><td><a href="https://blog.colosseum.com/perfecting-your-hackathon-submission/">blog.colosseum.com/perfecting-your-hackathon-submission</a></td></tr>
<tr><td>17</td><td><a href="https://guide.mlh.com/general-information/judging-and-submissions/judging-plan">guide.mlh.com/.../judging-plan</a></td></tr>
<tr><td>18</td><td><a href="https://guide.devfolio.co/docs/guide/participating-in-hackathons/judging-1">guide.devfolio.co/.../judging-1</a></td></tr>
<tr><td>19</td><td><a href="https://stackoverflow.com/questions/68392371">stackoverflow.com/questions/68392371</a> - real zoompan script</td></tr>
<tr><td>20</td><td><a href="https://news.ycombinator.com/item?id=42590290">news.ycombinator.com/item?id=42590290</a> - full 46-comment thread read</td></tr>
</tbody>
</table>
</details>
<h2>Effort</h2>
<div class="effort">
<div><b>9</b>research lanes (+1 respawn)</div>
<div><b>1</b>saturation wave</div>
<div><b>60+</b>sources, 35+ domains</div>
<div><b>3</b>direct code verifications</div>
<div><b>2</b>debate rounds</div>
<div><b>1</b>real end-to-end render</div>
</div>
</div>
</body>
</html>