video-merger

多片段短视频自动拼接工具,支持按文件名排序、统一音视频参数、淡入淡出转场、分块/完整拼接,适合短剧、分镜头视频批量拼接

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "video-merger" with this command: npx skills add machunlin/video-merger

视频拼接工具 (video-merger)

自动将分镜头/分段短视频按顺序拼接为长视频的OpenClaw技能,支持工程化批量处理。

功能特性

✅ 严格按文件名数字序号排序,保证剧情顺序正确
✅ 自动统一分辨率、帧率、编码,保证播放流畅
✅ 支持淡入淡出转场效果(整体/片段间可选)
✅ 自动同步音轨,完整保留原音频
✅ 支持两种输出模式:分块输出(每段1分钟左右)、完整长视频输出
✅ 支持保持原始分辨率或自定义输出参数

依赖要求

  • ffmpeg (>= 5.0)
  • Python 3.8+

安装

# 自动安装依赖
./install.sh

使用方法

拼接为完整长视频(默认保持原始分辨率)

python3 scripts/merge.py --input /path/to/segments --output ./full_video.mp4

自定义输出分辨率

python3 scripts/merge.py --input /path/to/segments --output ./full_video.mp4 --resolution 1080x1920

自定义转场时长

python3 scripts/merge.py --input /path/to/segments --output ./full_video.mp4 --transition 1.0

分块输出模式(每块60秒)

python3 scripts/merge.py --mode chunk --input /path/to/segments --output ./output_chunks/

自定义分块时长

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生成短剧分镜头批量拼接
  • 录制的分段视频自动合并
  • 短视频批量处理生产

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

NemoVideo - AI Video Editor & Creator

Video editor, video creator, video editing tool powered by AI. Edit videos, create videos, make videos from text — all through chat, no GUI needed. Full vide...

Registry SourceRecently Updated
430Profile unavailable
Coding

Video A'Roll Auto Editor v4.7

Automates video rough editing by detecting silence, scoring segments, removing duplicates, and generating a best-segment clip and detailed report.

Registry SourceRecently Updated
1291Profile unavailable
General

Video Script Creator

Short video script generator. 短视频脚本生成器、视频脚本、抖音文案、抖音脚本、快手脚本、口播稿、视频拍摄脚本、YouTube脚本、YouTube Shorts脚本、B站脚本、bilibili脚本、分镜脚本、视频大纲、视频文案、短视频创作、Reels脚本、TikTok脚本、vlog脚本...

Registry SourceRecently Updated
4431Profile unavailable
General

豆包 AI 视频水印去除

智能识别并自动去除豆包 AI 生成视频水印,支持用户自定义水印区域和批量高质量处理,保留原始音频。

Registry SourceRecently Updated
460Profile unavailable