Empty Folder to MP4 in 162 Seconds: What a Coding Agent Can't Do With Video
说明与用途
编码代理可以从代码生成视频,但缺乏视觉验证,导致隐藏错误。演示显示从空文件夹到 MP4 的完整流程约 162 秒,渲染时间与时长线性相关。通过提供组件库和在迭代期间渲染单帧,可以提高可靠性。
问题
Coding agents can generate code that renders deterministic video frames, but they lack a way to verify visual quality, leading to silent failures such as black screens or incorrect layouts.
结果
The demo shows that a full pipeline from empty folder to MP4 takes about 162 seconds on a clean Windows 11 machine, with npm install accounting for two‑thirds of the time. Render time scales linearly with duration (~26 fps). However, the agent’s lack of visual verification can lead to silent failures, which can be mitigated by providing component libraries and rendering stills during development.
工作流
- 1. Scaffold a new project with
npx create-video@latest --yes --blank demo. 2. Add Remotion skills vianpx skills add remotion-dev/skills -a claude-code -y. 3. Render the first video withnpx remotion render MyComp out/video.mp4. 4. Measure timings: scaffold (~1 m 56 s), skill install (6 s), cold render (≈40 s), warm render (≈12 s). - 5. Verify visual quality by inspecting the MP4 or rendering stills with
npx remotion still MyComp out/f.png --frame=45. 6. If visual defects are found, provide the agent with a pre‑built component library or adjust the code manually. - 7. Iterate until the rendered video meets visual expectations.
证据
Total to first MP4: about three minutes.
The agent has no way to know whether what it rendered is any good.
The npm install is two‑thirds of it.
If your agent "can't see the skills", check which directory got them before you debug anything else.
The verification gap. "It compiles" is not "it looks good."
- 记录日期: 2026-10-26T05:26:30.876Z