video-common
Shared Remotion video utilities and patterns. Referenced by other video skills - not invoked directly.
来源信息
- 仓库
- aviz85/ai-music-video-maker
- 最近来源活动
- 2026年2月3日 02:42
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 4
- 分支
- 1
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
3 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- video-common
- description
- Shared Remotion video utilities and patterns. Referenced by other video skills - not invoked directly.
# Remotion Common Utilities
Shared patterns and references for all video skills in this project.
## Project Structure
```
remotion-assistant/
├── src/
│ ├── index.tsx # Entry point
│ ├── Root.tsx # Composition registry
│ ├── compositions/ # Video compositions
│ └── components/ # Reusable components
├── public/ # Static assets
│ ├── fonts/
│ ├── images/
│ └── audio/
└── out/ # Rendered output
```
## Key APIs
- `useCurrentFrame()` - Current frame number
- `useVideoConfig()` - { width, height, fps, durationInFrames }
- `interpolate(frame, [in], [out])` - Map values
- `spring({ frame, fps, config })` - Physics animations
## Adding New Compositions
1. Create component in `src/compositions/`
2. Register in `src/Root.tsx` with `<Composition>`
3. Set: id, component, durationInFrames, fps, width, height
## See References
- [codecs.md](references/codecs.md) - Encoding options
- [animations.md](references/animations.md) - Animation patterns
在 GitHub 查看