dsh-demian-drama-strip
Manifest validTurns a short-drama video into a shot-by-shot storyboard and a shootable screenplay. A still frame only ever gives composition, so camera moves and subject motion come from ffmpeg 4fps frame-diff shee
Demian Drama Strip 扒剧
把一个短剧/短视频扒成两样能直接用的东西:运镜分镜表 和 可拍摄剧本。
安装后会在技能目录里多出一个 demian-drama-strip 技能,agent 在你要求"扒剧 / 把视频转剧本 / 拆一下这个短剧 / 出分镜表"时自动加载,也可以直接点名调用。
它解决的真正问题
拿一帧代表帧去描述一个镜头,只能读出构图。运镜、主体运动、"蛇从屋顶横梁绕柱爬下来"这种事,必须看连续帧的差分。这个技能的全部方法论就一句:
单帧 = 构图,连续帧 = 运动。凡是写"镜头推近 / 横移 / 跟随 / 某人走到窗边",都必须是看过连续帧之后的结论,否则一律降级成静态构图,不许写运动。
配套的四件硬工具:
| 要做的事 | 用什么 | 为什么 |
|---|---|---|
| 切点与构图 | 分镜工具(每镜 1 帧) | 便宜,只当构图用 |
| 运镜 / 主体运动 | ffmpeg 4fps 连拍 + tile 拼时间码图 | 帧间差分是唯一可靠的运动来源 |
| 台词 | 硬字幕底部条带裁切拼图 | 比条带 OCR 准,读错字是常事 |
| 转场 / 闪回 / 双时空 | signalstats 亮度跳变(|ΔYAVG|>25 跳点、<20 暗场) | blackdetect 会漏掉淡出型回忆切入 |
装上之后能做什么
- 一集 98 秒的 AI 国风短剧 → 5 张连拍图读出 60 个镜头,指出"蛇在梁上绕柱"这类单帧会漏掉的运动。
- 一集 210 秒双时空短剧 → 定位 0:37 的回忆切入(黑场 + 时间字幕卡 + 妆造变化),拆出缠斗型打戏与现代格斗的采样差异,认出"剧名竖排角标 + 代码屏"是双时空而不是闪回。
- 同样的素材 → 按 Kenny SOP 1.7.2 严格版出 800–1000 字、≤5 场、
▲画面行、角色(情绪):台词、OS/VO 有上限、音效带方括号的剧本,并跑脚本自检字数、场次、连续▲、OS/VO 占比。
安装
dsh plugin --profile <profile> add dsh-demian-drama-strip
从 GitHub 装(还没发 npm 时用这条):
dsh plugin --profile <profile> add github:demian-1013/dsh-demian-drama-strip
本地开发目录安装(不发布也能用):
dsh plugin --profile <profile> add <这个目录的绝对路径>
装完重启一次(新 bundle 首次激活),然后在技能清单里应该能看到 demian-drama-strip。
依赖
- ffmpeg:连拍、拼图、裁字幕带、亮度统计全靠它。不在 PATH 时技能里给了"先
Get-Command ffmpeg,再退回实测路径"的顺序。 - Python 3:只为剧本自检脚本(正则统计),没有它也能写剧本,只是自检要手算。
不依赖任何联网服务,不读凭据,不写工作区之外的文件——除了它自己产出的分镜图和 .md 报告。
目录
index.js 注册技能(readFileSync 读 SKILL.md → ctx.skills.register)
cordis.patch.yml 插入 demian-drama-strip 这一行
skills/drama-strip/SKILL.md 全部方法论(10 节:工具与路径 / 切点 / 连拍 / 台词复核 /
运镜分镜表 / SOP 严格版 / 自检阈值 / 坑 / 转场与闪回 / 打戏群戏采样)
locale/{en,zh}.json 插件页显示名与说明
icon.svg 图标
已知边界
- 打戏:近身缠斗 5–6fps 够用;真正的招式/兵器格斗要 8–10fps,3fps 会糊成一片。
- 群戏:密度型(人海)用 2–3fps 看走位即可;对称型(朝堂/列阵)要额外取一张原分辨率单帧看构图。
- 无字幕轨、本机又没配 ASR 时,台词只能靠画面硬字幕;两者都没有就必须明确告诉用户"这是没台词的版本",不能编台词。
- 闪回里再闪回、双时间线交叉剪辑,目前只有判据没有实测样本。
License
MIT
Comments
Loading…
Similar plugins
by dingchenhui0618-arch
DeepSeek Harness tab: cut a reference video into shots, curate frames, export a timecoded manifest and a labelled contact sheet. Local-only, ffmpeg.
★ 0
MIT
JavaScript
Oct 28, 2026
dsh plugin --profile web add dsh-take-sheetby Weilv-D
Streams and inspects local video for agents: adaptive motion/settle canvas sampling, deterministic probe, timestamp and uniform frame extraction, and RoI zoom on 42px-grid-aligned canvases. Requires f
★ 0
Apache-2.0
TypeScript
Nov 9, 2026
dsh plugin --profile web add dsh-pf-streamby Kagurazaka135
Give a text-only agent video understanding: extract timestamped frame files, sample only on scene changes, export GIF clips, probe metadata, and run a one-shot analyse over the frames. Five tools that
★ 0
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-video-framesby NINKCH
A node-based short-drama studio inside DeepSeek Harness. Start from a one-line idea, walk out with a storyboarded, voiced, subtitled video cut — right on an infinite canvas.
★ 158
↓ 3k/wk
Apache-2.0
JavaScript
Nov 18, 2026
dsh plugin --profile web add @ninkch/dsh-infinite-canvasby 442443051
Short-drama script production workbench for DeepSeek Harness: audit, score, scaffold, playbook (4 deterministic local tools, zero model calls).
★ 0
MIT
JavaScript
Nov 17, 2026
dsh plugin --profile web add dsh-script-studioby zmm863-commits
AI image and video studio as a floating DSH panel, so creation runs alongside the conversation instead of replacing it: text-to-image, image-to-image and multi-image composition at 1K-4K across eight
★ 27
↓ 1k/wk
NOASSERTION
TypeScript
Oct 4, 2026
dsh plugin --profile web add dsh-agnes-studio