HTML To Video Pipeline

把 HTML/CSS/JS 页面可靠地渲染成 MP4:无头浏览器录制 + ffmpeg,含排序、坑位与验证步骤。当用户要做 HTML→视频管线、网页录屏、逐帧捕获、多场景拼接时使用。 Reliable HTML-to-MP4 rendering via headless browser recording (Playwright/Puppeteer) + ffmpeg — the ordering, gotchas, and verification steps you MUST get right or the output silently rots. Trigger whenever the user is building or debugging any pipeline that turns an HTML/CSS/JS page (single-file, multi-composition, GSAP-driven, or `@keyframes`-driven) into a video file, including headless recording, screen capture of a web page, deterministic frame-by-frame capture, multi-scene concatenation, or engine-mixed video output. Also trigger when the symptom sounds like: font swap flashing in the opening frames (FOUT), the first few seconds of the video are frozen/dead, animations play during page load and get truncated, concatenated segments produce a video whose duration is wildly wrong (e.g., 8s becomes 35s), `file://` loaded HTML fails to fetch its sub-scenes, the exported video is soft/blurry compared to the browser, or

Practice019 9c563ea 8 files · 56.6 KB Updated

File contents

Practice019/agent-skills/tree/main/video/html-to-video-pipeline commit 9c563eaea7

Frequently asked questions

npx skillmds@latest add practice019/html-to-video-pipeline