Individual skill
video-sync
把拉片数据和原片合成一条**能直接看的视频**:一边是画面,一边是这一镜的分镜信息 (镜号、起止、时长、景别、类别、运镜、画面描述、台词),**镜头切了信息跟着切**, 镜头表自动滚动并高亮当前这一镜。 版式只看原片的宽高比:**横版 / 方版 → 画面在上、信息在下;竖版 → 画面在左、信息在右**, 画面永远原样缩放,不裁不拉。 镜头表**随播放滚动**:切点处滚一小段把当前镜头带到锚点、随后停住,高亮条同步滑过去。 实现上只截三张图(底板 + 铺开的长图 ×2),滚动与高亮由 ffmpeg 按时间裁窗, **布局全在 scripts/panel.css 里,改它就能改版式**,不用碰脚本。 吃 video-shots 产出的 shots.json(有 frames/ 就把关键帧当缩略图用)。 零 npm 依赖,用 ffmpeg 合成、无头浏览器渲面板。 Use when asked to 导出视频、合成视频、分镜视频、带分镜信息的视频、解说版视频、 video with shot info、annotated shot video。
skills/video-sync/SKILL.md
Source commit df39d5df9d7adc2f82acba5594579d60361a42c7
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 3, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,208
- Repository last updated
- Oct 24, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-video Repository topic
- claude-skills Repository topic
- ffmpeg Repository topic
- shot-analysis Repository topic
- video-analysis Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.en.mddoc · 7,862 bytesREADME.mddoc · 6,985 bytesSKILL.mdcore · 7,623 bytesSKILL.mdcore · 7,623 bytesSKILL.mdcore · 7,623 bytesSKILL.mdcore · 7,623 bytesSKILL.mdcore · 7,623 bytesSKILL.mdcore · 7,623 bytesSKILL.mdcore · 7,623 bytesSKILL.mdcore · 7,623 bytesassets/output-portrait.pngasset · 328,868 bytesassets/panel-landscape.pngasset · 219,854 bytesassets/panel-portrait.pngasset · 91,273 bytesreferences/layout.mddoc · 6,608 bytesreferences/panel-style.mddoc · 2,919 bytesscripts/panel.cssasset · 6,971 bytesscripts/panel.htmlasset · 5,537 bytesscripts/selftest.mjsruns · 18,543 bytesscripts/video-sync.mjsruns · 30,541 bytes
Read excerpt
## video-sync
把 **shots.json + 原片** 合成一条视频:画面一边,**当前镜头的分镜信息**另一边,
镜头切了信息跟着切,镜头表自动滚动并高亮。
**版式只看宽高比,不看别的:**
| 原片 | 版式 | 合成方式 |
| --- | --- | --- |
| 横版(宽 > 高)、方版 | **画面在上,信息在下** | `vstack` |
| 竖版(高 > 宽) | **画面在左,信息在右** | `hstack` |
两个方向都保证**画面原样缩放、不裁不拉**,面板补足剩下的地方。