Provides an end-to-end framework and precise execution ordering for converting web animations (CSS keyframes, GSAP, and multi-composition scenes) into production-grade MP4 video files using Playwright or Puppeteer alongside FFmpeg. This skill resolves common headless capture pitfalls such as font swapping (FOUT), truncated opening frames, dead initial playback seconds, resolution mismatches between viewport and recording buffer, and duration probing errors caused by infinite loops, ensuring deterministic and artifact-free video exports.
主要功能
01Prevents font-swap flashing (FOUT) using early style freezing and multi-step font-ready synchronization
02Offers guidance for both real-time screencast recording and deterministic frame-by-frame capture modes
03Aligns frame-zero capture precisely with CSS and GSAP timelines to eliminate dead initial playback time
04Standardizes FFmpeg encoding, lead-in trimming, multi-scene concatenation, and decode verification
05Probes finite animation durations reliably while ignoring infinite loop indicators
061 GitHub stars
使用场景
01Generating dynamic marketing videos, social assets, and programmatic ads from web templates
02Debugging headless browser recording pipelines suffering from stutter, blurriness, or duration calculation bugs
03Automating headless export of GSAP or CSS keyframe animations into high-definition MP4 files in CI/CD