多片段短视频自动拼接工具,支持按文件名排序、统一音视频参数、淡入淡出转场、分块/完整拼接,适合短剧、分镜头视频批量拼接
Scanned 9/9/2026
Install to Claude Code
npx -y skills add Lord1Egypt/awesome-skill-forge --skill video-merger --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Video Merger?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/lord1egypt-video-merger)More formats (shields.io, HTML) on the badges page.
---
name: video-merger
description: 多片段短视频自动拼接工具,支持按文件名排序、统一音视频参数、淡入淡出转场、分块/完整拼接,适合短剧、分镜头视频批量拼接
---
# 视频拼接工具 (video-merger)
自动将分镜头/分段短视频按顺序拼接为长视频的OpenClaw技能,支持工程化批量处理。
## 功能特性
✅ 严格按文件名数字序号排序,保证剧情顺序正确
✅ 自动统一分辨率、帧率、编码,保证播放流畅
✅ 支持淡入淡出转场效果(整体/片段间可选)
✅ 自动同步音轨,完整保留原音频
✅ 支持两种输出模式:分块输出(每段1分钟左右)、完整长视频输出
✅ 支持保持原始分辨率或自定义输出参数
## 依赖要求
- ffmpeg (>= 5.0)
- Python 3.8+
## 安装
```bash
# 自动安装依赖
./install.sh
```
## 使用方法
### 拼接为完整长视频(默认保持原始分辨率)
```bash
python3 scripts/merge.py --input /path/to/segments --output ./full_video.mp4
```
### 自定义输出分辨率
```bash
python3 scripts/merge.py --input /path/to/segments --output ./full_video.mp4 --resolution 1080x1920
```
### 自定义转场时长
```bash
python3 scripts/merge.py --input /path/to/segments --output ./full_video.mp4 --transition 1.0
```
### 分块输出模式(每块60秒)
```bash
python3 scripts/merge.py --mode chunk --input /path/to/segments --output ./output_chunks/
```
### 自定义分块时长
```bash
python3 scripts/merge.py --mode chunk --chunk-duration 120 --input /path/to/segments --output ./output_chunks/
```
## 参数说明
| 参数 | 说明 | 默认值 |
|------|------|--------|
| `--input` | 分镜头视频所在目录 | 必填 |
| `--output` | 输出文件/目录 | 必填 |
| `--transition` | 转场时长(秒) | 0.5 |
| `--chunk-duration` | 分块模式每段目标时长(秒) | 60 |
| `--resolution` | 自定义输出分辨率,如 `864x480` | 保持原始 |
## 适用场景
- AI生成短剧分镜头批量拼接
- 录制的分段视频自动合并
- 短视频批量处理生产
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.
Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.
Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"