@dsh-gis/dsh-video-studio-skill 0.9.1 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +473 -0
- package/README.md +263 -327
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/package.json +9 -10
- package/schemas/design.schema.json +722 -0
- package/schemas/film.schema.json +31 -42
- package/schemas/proposal.schema.json +133 -0
- package/skills/video-studio/SKILL.md +1216 -1123
- package/skills/video-studio/assets/design_fixture.json +141 -0
- package/skills/video-studio/assets/film.json +2 -4
- package/skills/video-studio/assets/golden_frames.json +13 -10
- package/skills/video-studio/assets/scenes.py +153 -65
- package/skills/video-studio/assets/voice_loudness.json +16 -0
- package/skills/video-studio/references/appearance.md +123 -0
- package/skills/video-studio/references/audio-variation.md +74 -93
- package/skills/video-studio/references/audio.md +64 -66
- package/skills/video-studio/references/change-impact.md +5 -5
- package/skills/video-studio/references/{v08-quality.md → delivery-gates.md} +16 -18
- package/skills/video-studio/references/frame-qa.md +48 -16
- package/skills/video-studio/references/pipeline.md +4 -4
- package/skills/video-studio/references/pitfalls.md +22 -3
- package/skills/video-studio/references/proposal.md +160 -0
- package/skills/video-studio/references/quality-gates.md +11 -11
- package/skills/video-studio/references/scene-authoring.md +2 -2
- package/skills/video-studio/references/scene-grammar.md +40 -42
- package/skills/video-studio/references/sfx-design.md +8 -6
- package/skills/video-studio/references/web-engine.md +8 -8
- package/skills/video-studio/references/word-timeline.md +9 -9
- package/skills/video-studio/requirements.txt +9 -13
- package/skills/video-studio/scripts/designkit.py +2115 -0
- package/skills/video-studio/scripts/filmcheck.py +22 -48
- package/skills/video-studio/scripts/filmkit.py +2980 -2904
- package/skills/video-studio/scripts/gates.py +4 -4
- package/skills/video-studio/scripts/grammar.py +73 -13
- package/skills/video-studio/scripts/musicgen.py +2042 -0
- package/skills/video-studio/scripts/preflight.py +14 -7
- package/skills/video-studio/scripts/previewkit.py +848 -0
- package/skills/video-studio/scripts/propose.py +825 -0
- package/skills/video-studio/scripts/qa_frames.py +73 -39
- package/skills/video-studio/scripts/qaasr.py +26 -7
- package/skills/video-studio/scripts/qavmaf.py +89 -23
- package/skills/video-studio/scripts/render.py +545 -231
- package/skills/video-studio/scripts/scorekit.py +55 -1755
- package/skills/video-studio/scripts/selfcheck.py +815 -215
- package/skills/video-studio/scripts/sfxkit.py +27 -26
- package/skills/video-studio/scripts/stagewatch.py +24 -8
- package/skills/video-studio/scripts/stylekit.py +207 -888
- package/skills/video-studio/scripts/voicekit.py +508 -387
- package/skills/video-studio/scripts/webengine.py +71 -72
- package/tools/audio_similarity.py +64 -37
- package/tools/ci_check.py +20 -14
- package/tools/estimate.py +34 -29
- package/tools/golden_frames.py +72 -28
- package/tools/silhouette_qa.py +520 -168
- package/docs/demo-pil-sheet.png +0 -0
- package/docs/styles/demo-results.json +0 -76
- package/docs/styles/sheet-8-styles.png +0 -0
- package/docs/styles/sheet-ai.png +0 -0
- package/docs/styles/sheet-before-after.png +0 -0
- package/docs/styles/sheet-craft.png +0 -0
- package/docs/styles/sheet-night.png +0 -0
- package/skills/video-studio/assets/score_demo.json +0 -307
- package/skills/video-studio/references/style-packs.md +0 -283
|
@@ -24,32 +24,28 @@ opencv-python-headless>=4.8
|
|
|
24
24
|
# 装完还要下载浏览器:python -m playwright install chromium
|
|
25
25
|
# playwright>=1.40
|
|
26
26
|
|
|
27
|
-
# ---- 可选:
|
|
27
|
+
# ---- 可选:ASR 回读门禁(qaasr.py)----
|
|
28
28
|
# 把成片音轨转回文字与剧本对账,抓"TTS 缓存串了 / 混音丢了句子 / 音轨是旧的"。
|
|
29
29
|
# 缺了会依次降级:faster-whisper -> ffmpeg 的 whisper 滤镜(需 ggml 模型)-> skipped。
|
|
30
30
|
# 实测(CPU-only, int8):small 模型加载 2.0–3.3 s、转写 RTF≈0.17;29 s 模板片约 6 s。
|
|
31
31
|
# faster-whisper>=1.0
|
|
32
32
|
|
|
33
|
-
# ----
|
|
34
|
-
# scripts/gates.py 门禁账本 / QC 报告 /
|
|
35
|
-
# scripts/stagewatch.py
|
|
36
|
-
# scripts/filmcheck.py film.json
|
|
37
|
-
# tools/estimate.py 开渲前成本预演(可选)
|
|
38
|
-
# 若你从旧版本升级,记得把 gates.py / stagewatch.py 一起拷到工作目录,
|
|
39
|
-
# 否则 render.py 会 ModuleNotFoundError。
|
|
40
|
-
|
|
41
|
-
# ---- v0.8.0 新增文件(同样不需要 pip 包;升级记得一起拷)----
|
|
33
|
+
# ---- 纯标准库模块(**不需要**任何 pip 包,也不用拷到工程目录)----
|
|
34
|
+
# scripts/gates.py 门禁账本 / QC 报告 / 人工签核(render.py 直接 import)
|
|
35
|
+
# scripts/stagewatch.py 阶段新鲜度(render.py 直接 import)
|
|
36
|
+
# scripts/filmcheck.py film.json 契约校验(ci_check 第 12 项会调)
|
|
42
37
|
# scripts/preflight.py 渲染前资源闸门(可选:缺了就记 skipped,门禁不冒充通过)
|
|
43
38
|
# scripts/qavmaf.py 全片 VMAF/SSIM(可选:缺了就 skipped)
|
|
44
39
|
# scripts/qaasr.py ASR 回读(可选:缺了就 skipped)
|
|
45
|
-
# tools/
|
|
46
|
-
#
|
|
40
|
+
# tools/estimate.py 开渲前成本预演(仓库工具)
|
|
41
|
+
# tools/golden_frames.py 金帧回归(仓库工具)
|
|
42
|
+
# 三个可选门禁都**不是** render.py 的硬依赖(用了 _try_module),缺了只让对应门禁
|
|
47
43
|
# 记 skipped,不会 ModuleNotFoundError;但 qa 报告里会明确写"本次没查"。
|
|
48
44
|
|
|
49
45
|
# ---- 不需要 ----
|
|
50
46
|
# moviepy / pydub / soundfile / librosa / manim:本技能一行都不 import。
|
|
51
47
|
# ffmpeg 不是 pip 包:系统 PATH 里要有(含 libx264 / aac / loudnorm),
|
|
52
48
|
# 或用环境变量 FILMKIT_FFMPEG 指向可执行文件。
|
|
53
|
-
#
|
|
49
|
+
# 探测是 fail-closed 的:每个候选真跑 `-version`,跑不起来的会被跳过
|
|
54
50
|
# (防的是"存在但缺 xfade 的旧版 ffmpeg 被静默选中")。`FILMKIT_FFMPEG_STRICT=1`
|
|
55
51
|
# 可把"找不到可用 ffmpeg"从回退裸命令改成直接报错。
|