关于 remotion-render
这是一份使用 Remotion 渲染视频和静态图像的技能指南,涵盖渲染合成内容、指定帧及透明视频输出的命令。
主要功能
- 01使用 Remotion CLI 渲染视频
- 02渲染静态图像
- 03将指定帧导出为图像
- 04透明视频输出指引
适用场景
- 01将 Remotion 合成内容渲染为视频
- 02导出指定帧用于审阅
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ remotion-dev/ skills --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