关于 remotion-render
remotion-render 是一项使用 Remotion 命令行工具渲染视频、静帧和指定帧的技能,适用于需要从 Remotion 合成内容生成输出的工作流。
主要功能
- 01使用 npx remotion render 渲染视频
- 02使用 npx remotion still 渲染静帧
- 03将指定帧导出为 PNG 图像
- 04渲染透明视频
适用场景
- 01将 Remotion 合成内容导出为视频
- 02从合成内容生成静帧
- 03渲染特定帧以供图像检查
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ remotion-dev/ claude-code-plugin --skill remotion-render安装后在 Claude Code 中输入/remotion-render确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
transparent-videos.mdagents/openai.yamlassets/remotion-icon.svg详细介绍
常规渲染策略
使用以下命令渲染视频:
npx remotion render
选项完整列表:https://www.remotion.dev/docs/cli/render.md
使用以下命令渲染静帧:
npx remotion still
选项完整列表:https://www.remotion.dev/docs/cli/still.md
如需在一次调用中将多个帧渲染为图像,请使用 render --frames:
npx remotion render [composition-id] out/frames --frames=0,30,90 --image-format=png
更多选项请参阅 https://www.remotion.dev/docs/cli/render.md#--frames。
透明视频
如需渲染透明视频,请参阅透明视频。
评论
支持 Markdown