knowledge-vault/discussions/technology/Codex/6.建立视频库/3.增加RemotionSkill.md

59 lines
4.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 1
安装remotion skill`https://github.com/remotion-dev/remotion`。
位置放到`C:\Users\wangq\.agents\skills`作为公共Skill。
# 2
我已经调整了策划导演升级到了3.0版。
主要是增加了Remotion 动画的能力。
策划导演3.0版的全部资料参见`C:\Users\wangq\Documents\Codex\knowledge-vault\prompts\GPT\强哥的策划导演3.0\`
将来如果策划导演策划的视频是Remotion的需要你调用Remotion Skill来实现。
现在还没有开始做具体的视频测试你先检查一下video-workbench是否有相应需要的调整内容。
有问题的话,提出你的问题。
## GPT
结论:需要调整,但不是现在就开始写 Remotion 视频代码。当前 `video-workbench` 还没有 Remotion 执行线,现有规则基本是静帧/页面生产线:`brief -> prompt -> image`,并且默认用 `gpt-image-2` 生成图片。3.0 策划导演新增的是“Remotion 策划层输入”Codex 这边需要补“Remotion 代码/组件/渲染/验收”的承接规则。
我看到的主要缺口:
1. 需要新增一个独立 profile例如 `remotion-video-production`。现有 [slide-task-orchestration.md](<C:\Users\wangq\Documents\Codex\video-workbench\docs\workflows\slide-task-orchestration.md:9>) 明确说当前规则只实现 video/MV slide production并且 profile 绑定的是 `gpt-image-2` 图片路线。
2. 需要扩展项目结构。现在 [VIDEO_WORKBENCH.md](<C:\Users\wangq\Documents\Codex\video-workbench\VIDEO_WORKBENCH.md:191>) 的 fact table 记录的是 prompt/image version示例产物也是 `s01-v1-image.png`。Remotion 至少要能记录Remotion 项目源码路径、Composition ID、组件路径、scene/section 映射、still/render 检查、MP4/export 路径。
3. 需要补模板。3.0 会输出 Remotion 风格系统锚板、Remotion 分镜、Implementation Brief但明确不输出代码/路径/命令:见 [00_CORE_B](<C:\Users\wangq\Documents\Codex\knowledge-vault\prompts\GPT\强哥的策划导演3.0\00_CORE_B_媒介路由与阶段裁剪表_V3.md:389>) 和 [使用说明](<C:\Users\wangq\Documents\Codex\knowledge-vault\prompts\GPT\强哥的策划导演3.0\强哥的策划导演V3.0使用说明.md:600>)。Codex 需要自己的 `Remotion Execution Plan / Component Spec / Render Check` 模板。
4. 需要把 Remotion Skill 调用写进 `AGENTS.md`、`VIDEO_WORKBENCH.md`、`docs/context-handoff.md`。Skill 本身要求写/改 Remotion code 时使用它,并在视觉设计、字幕、音频、转场等场景读取对应规则;例如 [SKILL.md](<C:\Users\wangq\.agents\skills\remotion\SKILL.md:10>)、[SKILL.md](<C:\Users\wangq\.agents\skills\remotion\SKILL.md:24>)。
5. 需要定义代码验证口径。现有 production-light 对图片是不做 routine final verification但 Remotion 是代码,至少要有窄验证:类型/构建是否过、`npx remotion still` 或短片段 render 是否能跑。Remotion Skill 也给了 still 检查入口:[SKILL.md](<C:\Users\wangq\.agents\skills\remotion\SKILL.md:228>)。
我建议先做一次规则补丁,不做视频测试:更新 `AGENTS.md`、`VIDEO_WORKBENCH.md`、`docs/context-handoff.md`、`docs/workflows/project-lifecycle.md`、`docs/workflows/slide-task-orchestration.md`、`docs/workflows/slide-task-templates.md`,再等第一个真实 Remotion 小视频来验证。
需要你确认 3 个问题:
1. Remotion 项目源码默认放在 `projects/<project>/remotion/`,还是放到单独 `work-projects`?我的建议:一次性视频源码放 `video-workbench` 项目内;可复用产品/模板才去 `work-projects`
2. Remotion 交付物默认是“源码 + 可渲染 MP4”还是只要求源码/预览?
3. 第一次真实测试时,是否允许我用 `npx create-video` / npm 安装依赖 / Remotion render这会需要网络和写入依赖目录届时要单独授权。
# 3
1. Remotion 项目源码默认放在 `projects/<project>/remotion/`,还是放到单独 `work-projects`?我的建议:一次性视频源码放 `video-workbench` 项目内;可复用产品/模板才去 `work-projects`
同意,默认是`projects/<project>/remotion/`
2. Remotion 交付物默认是“源码 + 可渲染 MP4”还是只要求源码/预览?
最终交付物默认是“源码 + 可渲染 MP4”
3. 第一次真实测试时,是否允许我用 `npx create-video` / npm 安装依赖 / Remotion render这会需要网络和写入依赖目录届时要单独授权。
默认允许。
---
我刚刚在别的会话中,将之前未提交的进行了提交。
---
基于以上,现在开始调整规则。