← ClaudeAtlas

cut-fillerslisted

Apply a cut list (from detect-fillers) to a video using ffmpeg, producing a tighter edit. Use after the user reviews and approves the cut list.
huodebing-alt/Agentic-Headshot-Video-Studio · ★ 0 · AI & Automation · score 71
Install: claude install-skill huodebing-alt/Agentic-Headshot-Video-Studio
# Cut Fillers / 剪掉口癖 ## When to use / 何时使用 After detect-fillers and user approval. Actually removes flagged spans. detect-fillers 后、用户确认后实际剪切。 ## Inputs / 输入 - `workspace/rough/source.mp4`. - `workspace/rough/cuts.json`. ## Output / 输出 - `workspace/rough/cut.mp4`. - `workspace/rough/cut.report.json` (segments kept, total removed seconds). ## Steps / 步骤 1. Invert `cuts.json` into keep-segments list. 2. Build ffmpeg `select`/`aselect` filter expression or use concat demuxer with per-segment cuts. 3. Re-encode (`-c:v libx264 -crf 18 -c:a aac -ar 48000`). 4. Validate output duration ≈ source - sum(cuts). ## Examples / 示例 ``` ffmpeg -i source.mp4 -vf "select='not(between(t,1.2,1.5)+between(t,3.4,3.7))',setpts=N/FRAME_RATE/TB" ... ``` ## Failure recovery / 失败回退 - If filter expression overflows (many cuts), switch to concat-list approach. - If A/V desync > 80 ms, re-mux with `-fflags +genpts`.