Skip to main content

remotion-render

Render Remotion video compositions to MP4/WebM. Use for: rendering videos, exporting compositions, batch renders, previewing.

跳到安装

来源信息

仓库
aviz85/ai-music-video-maker
最近来源活动
2026年2月3日 02:42
检测到的 SKILL.md 语言
英语
星标
4
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
remotion-render
description
Render Remotion video compositions to MP4/WebM. Use for: rendering videos, exporting compositions, batch renders, previewing.
# Remotion Render Render video compositions to output files. ## Quick Commands ```bash # Start dev studio (browser preview) npm run dev # List available compositions npx remotion compositions src/index.tsx # Render specific composition npx remotion render <CompositionId> out/<filename>.mp4 # Render with options npx remotion render HelloWorld out/hello.mp4 --codec=h264 --crf=18 ``` ## Render Workflow 1. **Preview first**: `npm run dev` → open http://localhost:3000 2. **Check composition**: Verify it looks correct in studio 3. **Render**: `npx remotion render <id> out/<name>.mp4` ## Common Render Commands ### Standard quality (YouTube, general use) ```bash npx remotion render HelloWorld out/video.mp4 ``` ### High quality ```bash npx remotion render HelloWorld out/video.mp4 --crf=18 ``` ### Fast preview (half resolution) ```bash npx remotion render HelloWorld out/preview.mp4 --scale=0.5 ``` ### Specific frames only ```bash npx remotion render HelloWorld out/clip.mp4 --frames=0-60 ``` ### With props override ```bash npx remotion render HelloWorld out/custom.mp4 --props='{"text":"Custom Text"}' ``` ## Output Formats | Format | Extension | Command | |--------|-----------|---------| | MP4 (H.264) | .mp4 | `--codec=h264` (default) | | WebM (VP9) | .webm | `--codec=vp9` | | ProRes | .mov | `--codec=prores` | | GIF | .gif | `--codec=gif` | ## Troubleshooting **Slow render?** - Use `--scale=0.5` for testing - Check `--log=verbose` for bottlenecks - Reduce concurrency if memory issues: `--concurrency=2` **Black frames?** - Assets not loaded - use Remotion's `<Img>`, `<Video>` components - Check paths use `staticFile()` for public/ assets See [../video-common/references/codecs.md](../video-common/references/codecs.md) for detailed codec options.
在 GitHub 查看