章节渲染 · Chapter Render
- Validate the project JSON.
- Confirm
ffmpeg,ffprobe, and Python Pillow are available. - Run
../../scripts/render_chapter_bar.py overlayfor an alpha MOV. - Inspect the output pixel format and duration with
ffprobe. - Run
../../scripts/render_chapter_bar.py burnfor a final MP4. - Confirm the final MP4 keeps audio and matches the source dimensions.
Render the progress fill continuously across duration-proportional segments. Keep title plates chapter-specific and use the font file from project style when provided.
Runtime context (shared)
运行前读取本 Skill 包的 skill.yaml,由宿主提供 skill-runtime/v1 上下文。字段解析顺序为:当前请求、项目上下文、个人 Preferences、品牌 Profile、通用默认值。
- 只使用 Manifest 声明的字段;Profile 保存公开品牌事实,Preferences 保存个人工作偏好。
required: true字段缺失时,按 Manifest 的问题配置向用户提出一个聚焦问题;用户明确同意后再保存回答。- 报错提供可复制的
context_id、字段路径与来源,诊断内容避开秘密、完整私人路径和原始配置。