anbeime/remotion-video-enhancer
视频转场与动画增强工具,提取 Remotion 的动画理念,提供高级视频转场效果和 Framer Motion 交互式动画。可与 ppt-generator、nanobanana-ppt-visualizer、ppt-roadshow-generator Skill 协同工作。
npx skills add https://github.com/anbeime/skill --skill remotion-video-enhancer
moviepy>=1.0.3
pillow>=9.0.0
# Ubuntu/Debian
sudo apt-get install ffmpeg
# macOS
brew install ffmpeg
根据协同模式,接收不同输入:
scripts/animation_planner.py: python scripts/animation_planner.py \
--input ./input_data \
--style dynamic \
--output ./animation_plan.json
scripts/video_transitions.py: python scripts/video_transitions.py \
--input ./video.mp4 \
--transitions ./animation_plan.json \
--output ./enhanced_video.mp4
scripts/html_animations.py: python scripts/html_animations.py \
--input ./ppt_data.json \
--template enhanced_viewer.html \
--output ./animated_viewer.html
enhanced_video.mp4animated_viewer.htmlanimation_plan.json用户请求:"生成一个带高级转场的 PPT 视频"
┌─────────────────────────────────────────────────────────┐
│ ppt-generator Skill │
├─────────────────────────────────────────────────────────┤
│ 7 角色协作生成 JSON 数据 │
│ 输出:ppt_data.json │
└─────────────────────────────────────────────────────────┘
│
▼ JSON 数据
┌─────────────────────────────────────────────────────────┐
│ remotion-video-enhancer Skill │
├─────────────────────────────────────────────────────────┤
│ 1. 动画规划(animation_planner.py) │
│ 2. HTML 动画增强(html_animations.py) │
│ 3. 输出:animated_viewer.html │
└─────────────────────────────────────────────────────────┘
用户请求:"为生成的播放器添加 Framer Motion 动画"
┌─────────────────────────────────────────────────────────┐
│ nanobanana-ppt-visualizer Skill │
├─────────────────────────────────────────────────────────┤
│ 生成 HTML 播放器 + 图片 │
│ 输出:viewer.html, slide-*.png │
└─────────────────────────────────────────────────────────┘
│
▼ HTML 文件
┌─────────────────────────────────────────────────────────┐
│ remotion-video-enhancer Skill │
├─────────────────────────────────────────────────────────┤
│ 1. 使用 Framer Motion 增强 viewer.html │
│ 2. 添加页面过渡、元素入场、交互效果 │
│ 3. 输出:animated_viewer.html │
└─────────────────────────────────────────────────────────┘
用户请求:"为路演视频添加高级转场效果"
┌─────────────────────────────────────────────────────────┐
│ ppt-roadshow-generator Skill │
├─────────────────────────────────────────────────────────┤
│ 10 角色协作生成路演视频 │
│ 输出:roadshow_video.mp4 │
└─────────────────────────────────────────────────────────┘
│
▼ 视频文件
┌─────────────────────────────────────────────────────────┐
│ remotion-video-enhancer Skill │
├─────────────────────────────────────────────────────────┤
│ 1. 动画规划(animation_planner.py) │
│ 2. 视频转场增强(video_transitions.py) │
│ 3. 应用 Remotion 风格转场 │
│ 4. 输出:enhanced_roadshow_video.mp4 │
└─────────────────────────────────────────────────────────┘
python scripts/animation_planner.py \
--input ./ppt_data.json \
--style dynamic \
--output ./animation_plan.json
python scripts/video_transitions.py \
--input ./video.mp4 \
--transitions ./animation_plan.json \
--output ./enhanced_video.mp4
python scripts/html_animations.py \
--input ./ppt_data.json \
--template enhanced_viewer.html \
--output ./animated_viewer.html
{
"transitions": [
{"type": "slide", "direction": "right", "duration": 1.5},
{"type": "zoom", "scale": 1.2, "duration": 1.0}
]
}
python scripts/video_transitions.py \
--input-dir ./videos/ \
--transitions ./animation_plan.json \
--output-dir ./enhanced_videos/
Take anbeime/remotion-video-enhancer from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference brew, apt.
Without those the skill loads but fails at the first command.