wjs-reframing-video
通过 active-speaker 跟踪生成可复用的 .crop.json,便于批量重构视频。
依赖 MediaPipe、ffmpeg 等本地工具,需较高计算资源与安装权限。
按活跃说话者跟踪裁切视频,生成横竖屏互转的裁剪计划。
横竖屏互转通过裁切窄条实现,且用 MediaPipe 面部关键点和嘴部活动量跟踪活跃说话者,让说话人始终在框内。会产生 .crop.json 保存裁剪计划和分段决策,原片不被修改,适合把访谈或课程做成抖音/Shorts 等短视频格式。
▸ 展开 SKILL.md 英文原文
Use when the user wants to convert a video between horizontal and vertical orientations while preserving the inverted aspect ratio (16:9 ↔ 9:16, 4:3 ↔ 3:4, 21:9 ↔ 9:21). The skill crops a narrow band from the source and tracks the active speaker — the person whose mouth is moving — via MediaPipe face landmarks and mouth-aspect-ratio variance, so the talker stays in frame even when other people are visible. Triggers — "横转竖", "竖转横", "做成竖屏发抖音/视频号/小红书", "16:9 to 9:16", "make this vertical for Reels / TikTok / YouTube Shorts", "crop to portrait", "convert to landscape".
帮我安装这个 skill:https://raw.githubusercontent.com/jianshuo/claude-skills/main/wjs-reframing-video/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/jianshuo/claude-skills/main/wjs-reframing-video/SKILL.md"# wjs-reframing-video Convert a video's orientation by **cropping** a narrow band from the source — not by physically rotating it. The crop window follows the **active speaker** (the face whose mouth is *moving*), not just the largest or most-confident face. A `.crop.json` sidecar records the crop plan, the per-segment speaker decisions, and the parameters used. The original input is never modified. ## When to use - Repurposing a 16:9 podcast / interview / talk for vertical short-video platforms (WeChat Channels 视频号, Douyin 抖音, Xiaohongshu 小红书, YouTube Shorts, TikTok, Reels). - Repurposing a 9:16 phone recording for horizontal players (YouTube long-form, blog embeds). - Repurposing 4:3 ar