# Ffmpeg auto assemble

> Ffmpeg auto assemble is an open-source agent skill for design and media. Renders a storyboard of product images and clips into a voiced, subtitled 9:16 video. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/xianyu110/ecommerce-video-skills/tree/main/skills/ffmpeg-auto-assemble
- **Repository:** https://github.com/xianyu110/ecommerce-video-skills
- **GitHub stars:** 164
- **License:** MIT
- **Skill name:** ffmpeg-auto-assemble
- **Collection:** https://github.com/xianyu110/ecommerce-video-skills
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-03

## About

This skill turns a storyboard.json file into a finished short video using ffmpeg running entirely on the local machine. Each shot is built from an image or a trimmed video clip with a Ken Burns style motion, transitions are joined with xfade, and on-screen titles and subtitles are burned in with libass, with a matching .srt file exported alongside.

The main script assemble.py drives the pipeline: it generates voice-over with edge-tts, times each shot to the spoken length, mixes a background track that ducks under speech, and runs a two-pass loudness normalisation to about -14 LUFS. Helper scripts create a generated royalty-free BGM track and product or end cards drawn with PIL.

The user supplies the storyboard and asset files, and needs Python 3.9 or newer, ffmpeg built with libass, and a CJK font. Output sizes can be changed to square or landscape, and a preview mode without voice-over is available for checking pacing.

## When your agent uses it

> ffmpeg 自动拼接成片：一条命令把 storyboard.json（商品图/视频片段 + 口播稿）渲染成带配音、字幕花字、转场、BGM 自动闪避、响度标准化的 9:16 MP4，纯本地运行。Use when the user wants to assemble/edit/render a product video, 自动剪辑, 一键成片, 拼接视频, 图片转视频, Ken Burns, add BGM/subtitles/voice-over with ffmpeg, or batch-produce short videos without an editor.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/xianyu110/ecommerce-video-skills/tree/HEAD/skills/ffmpeg-auto-assemble)
- [No network calls found in its scripts](https://github.com/xianyu110/ecommerce-video-skills/tree/HEAD/skills/ffmpeg-auto-assemble)
- [License: MIT](https://github.com/xianyu110/ecommerce-video-skills/tree/HEAD/skills/ffmpeg-auto-assemble)

## Features

- **Storyboard-driven rendering:** Builds the full video from a JSON file listing each shot, its text and its motion.
- **Voice-over and timing:** Generates narration with edge-tts and sizes each shot to the spoken length.
- **Subtitles and title overlays:** Burns styled subtitles and headline text into the frames and exports an SRT file.
- **Background music ducking:** Mixes a background track that lowers automatically while someone is speaking.
- **Loudness normalisation:** Applies a two-pass loudnorm pass targeting roughly -14 LUFS for consistent playback.
- **Card and cover helpers:** Includes scripts that draw product cards and end cards with PIL for the video.

## Good for

- Turn product photos and a script into a 9:16 promo video
- Batch-produce short product videos without opening an editor
- Add a voice-over and subtitles to a set of images
- Render a square or landscape version of an existing storyboard
- Preview the pacing of a video before adding narration

## Install

### Claude Code

This skill ships in the `ecommerce-video-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add xianyu110/ecommerce-video-skills
/plugin install ecommerce-video-skills@ecommerce-video-skills
```

Or copy only this skill to `~/.claude/skills/ffmpeg-auto-assemble`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ffmpeg-auto-assemble &&
cp -R "$tmp/skills/ffmpeg-auto-assemble" ~/.claude/skills/ffmpeg-auto-assemble &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ffmpeg-auto-assemble` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ffmpeg-auto-assemble` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ffmpeg-auto-assemble &&
cp -R "$tmp/skills/ffmpeg-auto-assemble" ~/.agents/skills/ffmpeg-auto-assemble &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ffmpeg-auto-assemble` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ffmpeg-auto-assemble` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ffmpeg-auto-assemble &&
cp -R "$tmp/skills/ffmpeg-auto-assemble" ~/.cursor/skills/ffmpeg-auto-assemble &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ffmpeg-auto-assemble` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/xianyu110/ecommerce-video-skills.git --path skills/ffmpeg-auto-assemble
```

Or copy the folder to `~/.gemini/skills/ffmpeg-auto-assemble` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ffmpeg-auto-assemble`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ffmpeg-auto-assemble &&
cp -R "$tmp/skills/ffmpeg-auto-assemble" ~/.copilot/skills/ffmpeg-auto-assemble &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ffmpeg-auto-assemble` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git
```

Then copy `ecommerce-video-skills/skills/ffmpeg-auto-assemble` into your agent's skills folder as `ffmpeg-auto-assemble`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need installed?

Python 3.9 or newer, the pillow, numpy and edge-tts packages, ffmpeg built with libass, and a CJK font.

### What input does Ffmpeg auto assemble take?

A storyboard.json file, which can be produced by the selling-point-storyboard skill, with asset paths relative to that file.

### Does Ffmpeg auto assemble send media to a cloud service?

The rendering runs locally; voice-over is generated with edge-tts, and the BGM option can use a generated track or a music file you provide.

### Can I preview without narration?

Yes, passing the no-TTS option renders a preview with timing estimated from word count.

### How do I install Ffmpeg auto assemble in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ffmpeg-auto-assemble to use it in all your projects, or to .claude/skills/ffmpeg-auto-assemble in one project. Or install the ecommerce-video-skills plugin, which includes it: /plugin marketplace add xianyu110/ecommerce-video-skills, then /plugin install ecommerce-video-skills@ecommerce-video-skills.

### Does Ffmpeg auto assemble run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ffmpeg auto assemble?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ffmpeg auto assemble?

The closest alternatives to Ffmpeg auto assemble are Selling point storyboard, Motion video, Lead media edit, Subtitles and text effects and Multilingual dubbing.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Selling point storyboard](https://ai-powered.com/skills/selling-point-storyboard): Selling point storyboard is an open-source agent skill for design and media.
- [Motion video](https://ai-powered.com/skills/motion-video): Motion video is an open-source agent skill for design and media.
- [Lead media edit](https://ai-powered.com/skills/lead-media-edit): Lead media edit is an open-source agent skill for design and media.
- [Subtitles and text effects](https://ai-powered.com/skills/subtitles-and-text-effects): Subtitles and text effects is an open-source agent skill for design and media.
- [Multilingual dubbing](https://ai-powered.com/skills/multilingual-dubbing): Multilingual dubbing is an open-source agent skill for design and media.
- [Lead knowledge animation](https://ai-powered.com/skills/lead-knowledge-animation): Lead knowledge animation is an open-source agent skill for design and media.
- [Image to video shots](https://ai-powered.com/skills/image-to-video-shots): Image to video shots is an open-source agent skill for design and media.
- [Product launch video](https://ai-powered.com/skills/product-launch-video): Product launch video is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/ffmpeg-auto-assemble
