关于 remotion-render
这项技能介绍如何使用 Remotion 命令行渲染视频和静态图像,也涵盖将选定帧导出为图像,并提供透明视频渲染的参考。
主要功能
- 01使用 Remotion 渲染视频
- 02渲染静态图像
- 03将选定帧导出为 PNG
- 04提供透明视频渲染参考
适用场景
- 01将 Remotion 合成内容渲染为视频
- 02从合成内容生成静态图像
- 03导出指定帧供检查
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ guanyang/ open-agent-hub --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