Create the stitched landing-hero preview and aligned hero loop assets from ski clips. Use when Codex needs to regenerate the hero transition reel, the follow-cam loop, the follow-cam-plus-skeleton loop, or the optional original-plus-skeleton loop for a specific source frame window.
Use this skill to build the full hero asset set with one shared frame window and preserved source dimensions.
Inputs:
Outputs:
hero_preview.mp4hero_follow_cam_loop.mp4hero_follow_cam_skeleton_loop.mp4hero_original_skeleton_loop.mp4hero_poster.jpgRun the bundled script:
bash .codex/skills/hero-transition-video/scripts/create_hero_transition.sh \
--original scratch/clip_4s4Xhjhzh/original.mp4 \
--follow-cam scratch/clip_4s4Xhjhzh/follow_cam.mp4 \
--follow-cam-skeleton scratch/clip_4s4Xhjhzh/follow_cam_skeleton_overlay.mp4 \
--original-skeleton scratch/clip_4s4Xhjhzh/original_skeleton_overlay.mp4 \
--start-frame 118 \
--end-frame 345 \
--output-dir frontend/public/hero
start-frame, end-frame, and output directory.30fps without scaling, padding, or blur, preserves the shared source dimensions, clamps the end frame if it exceeds the shortest normalized input, trims one shared loop window, and writes the loop assets from that exact same frame span.--original-skeleton is provided, the script also writes hero_original_skeleton_loop.mp4 from that same frame span.--work-dir and --keep-work-dir.0.351.801.801.80 and 3.60219-frame / 7.30s window, the stitched preview sections are 1.80s, 1.80s, and 3.70sscripts/create_hero_transition.sh: deterministic ffmpeg pipeline for the full hero asset set.