← ClaudeAtlas

stitch-avatar-segmentslisted

Concatenate validated A-roll segments into a continuous A-roll track with optional crossfade. Use after all segments pass QC to produce the master A-roll for editing.
huodebing-alt/Agentic-Headshot-Video-Studio · ★ 0 · AI & Automation · score 71
Install: claude install-skill huodebing-alt/Agentic-Headshot-Video-Studio
# Stitch Avatar Segments / A-roll 串联 ## When to use / 何时使用 All segments rendered and validated. Final assembly of A-roll. 全部段落渲染并通过校验后,组装 A-roll 主轨。 ## Inputs / 输入 - `workspace/aroll/seg_*.mp4`. - `--crossfade-ms` default 0 (hard cut). ## Output / 输出 - `workspace/aroll/master.mp4` (H.264, same resolution as segments). - `workspace/aroll/master.cues.json`. ## Steps / 步骤 1. Verify all expected segments present and codec-compatible. 2. ffmpeg concat demuxer if crossfade=0; else xfade filter graph. 3. Emit per-segment timestamps into cues JSON. ## Examples / 示例 ``` ffmpeg -f concat -safe 0 -i list.txt -c copy master.mp4 ``` ## Failure recovery / 失败回退 - If codecs differ, re-encode minimally with `-c:v libx264 -crf 18`. - If a seg is missing, abort and list ids.