Remotion 影片製作
使用 Remotion 製作可程式化影片的技能。能從文字指令自動生成影片,大規模製作風格一致的品牌影片。
何時使用此技能
- 自動化影片生成:從文字指令產生影片
- 品牌影片製作:大規模製作一致風格的影片
- 可程式化內容:整合旁白、視覺與動畫
- 行銷內容:產品介紹、入門引導、促銷影片
指示
步驟 1:定義影片規格
video_spec:
audience: [目標觀眾]
goal: [影片目的]
duration: [總長度 - 30s, 60s, 90s]
aspect_ratio: "16:9" | "1:1" | "9:16"
tone: "fast" | "calm" | "cinematic"
voice:
style: [旁白風格]
language: [語言]
步驟 2:規劃場景
場景結構化模板:
## Scene Plan
### Scene 1: Hook (0:00 - 0:05)
- **Visual**: 產品標誌淡入
- **Audio**: 背景音樂開場
- **Text**: "Transform Your Workflow"
- **Transition**: 淡入 → Scene 2
### Scene 2: Problem (0:05 - 0:15)
- **Visual**: 問題情境插圖
- **Audio**: 旁白開始
- **Text**: 核心訊息疊加
- **Transition**: 向左滑動
### Scene 3: Solution (0:15 - 0:30)
...
步驟 3:準備素材
# 素材檢查清單
assets/
├── logos/
│ ├── logo-main.svg
│ └── logo-white.svg
├── screenshots/
│ ├── dashboard.png
│ └── feature-1.png
├── audio/
│ ├── bgm.mp3
│ └── narration.mp3
└── fonts/
└── brand-font.woff2
素材準備規則:
- 標誌:SVG 或高解析度 PNG
- 截圖:依比例標準化
- 音訊:MP3 或 WAV,音量標準化
- 字型:網頁字型或本機字型檔案
步驟 4:實作 Remotion 合成
// src/Video.tsx
import { Composition } from 'remotion';
import { IntroScene } from './scenes/IntroScene';
import { ProblemScene } from './scenes/ProblemScene';
import { SolutionScene } from './scenes/SolutionScene';
import { CTAScene } from './scenes/CTAScene';
export const RemotionVideo: React.FC = () => {
return (
<>
<Composition
id="ProductIntro"
component={ProductIntro}
durationInFrames={1800} // 60s at 30fps
fps={30}
width={1920}
height={1080}
/>
</>
);
};
// Scene Component Example
const IntroScene: React.FC<{ frame: number }> = ({ frame }) => {
const opacity = interpolate(frame, [0, 30], [0, 1]);
return (
<AbsoluteFill style={{ opacity }}>
<Logo />
<Title>Transform Your Workflow</Title>
</AbsoluteFill>
);
};
步驟 5:渲染與 QA
# 1. 預覽渲染(低品質)
npx remotion preview src/Video.tsx
# 2. QA 檢查
- [ ] 確認時機
- [ ] 音訊同步
- [ ] 文字可讀性
- [ ] 轉場流暢度
# 3. 最終渲染
npx remotion render src/Video.tsx ProductIntro out/video.mp4
範例
範例 1:產品介紹影片
提示:
Create a 60s product intro video with 6 scenes,
upbeat tone, and 16:9 output. Include a CTA at the end.
預期輸出:
## Scene Breakdown
1. Hook (0:00-0:05): Logo + tagline
2. Problem (0:05-0:15): Pain point visualization
3. Solution (0:15-0:30): Product demo
4. Features (0:30-0:45): Key benefits (3 items)
5. Social Proof (0:45-0:55): Testimonial/stats
6. CTA (0:55-1:00): Call to action + contact
## Remotion Structure
- src/scenes/HookScene.tsx
- src/scenes/ProblemScene.tsx
- src/scenes/SolutionScene.tsx
- src/scenes/FeaturesScene.tsx
- src/scenes/SocialProofScene.tsx
- src/scenes/CTAScene.tsx
範例 2:入門引導
提示:
Generate a 45s onboarding walkthrough using screenshots,
with callouts and 9:16 format for mobile.
預期輸出:
- 包含 5 個步驟的場景計畫
- 素材清單(截圖、標註箭頭)
- 文字疊加與轉場
- 套用行動裝置安全邊距
最佳實務
- 簡短場景:每個場景 5-10 秒,明確表達
- 一致的字體排版:定義字體縮放比例
- 音訊同步:對齊旁白提示與視覺
- 模板重複使用:儲存可重複使用的合成
- 安全區域:行動裝置比例時保留邊距
常見陷阱
- 文字過量:限制每個場景的文字量
- 忽略行動裝置安全區域:9:16 比例時檢查邊緣
- 未經 QA 即最終渲染:務必先檢查預覽
疑難排解
問題:音訊與視覺不同步
原因:幀數時機不一致 解決方案:重新計算幀數並對齊時間戳
問題:渲染緩慢或失敗
原因:素材或效果過重 解決方案:壓縮素材並簡化動畫
問題:文字無法閱讀
原因:字型大小或對比不足 解決方案:使用至少 24px 字型與高對比顏色
輸出格式
## Video Production Report
### Spec
- Duration: 60s
- Aspect Ratio: 16:9
- FPS: 30
### Scene Plan
| Scene | Duration | Visual | Audio | Transition |
|-------|----------|--------|-------|------------|
| Hook | 0:00-0:05 | Logo fade | BGM start | Fade |
| ... | ... | ... | ... | ... |
### Assets
- [ ] logo.svg
- [ ] screenshots (3)
- [ ] bgm.mp3
- [ ] narration.mp3
### Render Checklist
- [ ] Preview QA passed
- [ ] Audio sync verified
- [ ] Safe zones checked
- [ ] Final render complete
多代理工作流程
驗證與回顧
- Round 1(協調者):規格完整性、場景覆蓋率
- Round 2(分析師):敘事一致性、節奏審查
- Round 3(執行者):渲染準備狀態清單驗證
代理角色
| 代理 | 角色 |
|---|---|
| Claude | 場景規劃、腳本編寫 |
| Gemini | 素材分析、最佳化建議 |
| Codex | Remotion 程式碼生成、渲染執行 |
元資料
版本
- 目前版本:1.0.0
- 最後更新:2026-01-21
- 相容平台:Claude, ChatGPT, Gemini, Codex
相關技能
標籤
#video #remotion #animation #storytelling #automation #react