Xpersona
F

ffmpeg剪辑大师

CLAWHUB · Unverified

使用 FFmpeg 进行多媒体编辑,包括视频剪辑、拼接、转码、特效、截图、水印、变速、音频处理等 20 种操作。当用户提到"FFmpeg""视频剪辑""视频拼接""视频压缩""视频格式转换""截图""水印""变速""倒放""GIF""音频提取""音频降噪""音量调节""画中画""裁剪""旋转""字幕""过渡特效"... Skill: ffmpeg剪辑大师 Owner: showtimewalker Summary: 使用 FFmpeg 进行多媒体编辑,包括视频剪辑、拼接、转码、特效、截图、水印、变速、音频处理等 20 种操作。当用户提到"FFmpeg""视频剪辑""视频拼接""视频压缩""视频格式转换""截图""水印""变速""倒放""GIF""音频提取""音频降噪""音量调节""画中画""裁剪""旋转""字幕""过渡特效"... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-04T14:04:50.244Z | user - 首个版本发布,提供基于 FFmpeg 的本地多媒体编辑工具箱 - 支持 20 项常用视频与音频操作:剪辑、拼接、转码、压缩、加字幕、水印、截图、画中画、变速、倒放、GIF 转换等 - 所有功能通过 Python 脚本调用,完全本地处理,无需外部 API - 标准

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17ac5m184sth0bw38q289e43583grgv:ffmpeg-multimedia-editing
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-showtimewalker-ffmpeg-multimedia-editing/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

7,751 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: ffmpeg_multimedia_editing
description: 使用 FFmpeg 进行多媒体编辑,包括视频剪辑、拼接、转码、特效、截图、水印、变速、音频处理等 20 种操作。当用户提到"FFmpeg""视频剪辑""视频拼接""视频压缩""视频格式转换""截图""水印""变速""倒放""GIF""音频提取""音频降噪""音量调节""画中画""裁剪""旋转""字幕""过渡特效""分段拆分""音乐拼接""音画合成""首尾帧""翻转""缩放""截图""硬字幕""软字幕""慢动作""加速""时间戳""时长""转码""编码"以及含义相近的词汇时引用;当用户需要对本地视频或音频文件进行处理时引用。不涉及 AI 内容生成。
metadata:
  openclaw:
    requires:
      bins:
        - uv
        - ffmpeg
        - ffprobe
      anyBins:
        - python
        - python3
        - py
      env:
        - OUTPUT_ROOT
---

# FFmpeg 多媒体编辑工具箱

使用 FFmpeg 对本地视频和音频文件进行编辑处理,支持 20 种常用操作。本 Skill 不调用任何外部 API,所有处理在本地完成。

适用场景:

- 用户需要对视频文件进行剪辑、拼接、转码、压缩、加特效等操作
- 用户需要从视频中提取音频、截图、获取首尾帧
- 用户需要添加字幕、水印、画中画等叠加效果
- 用户需要音频拼接、提取、降噪、音量调节
- 用户需要进行视频和 GIF 之间的转换
- 用户需要变速(慢动作/加速)、倒放、分段拆分

## 使用脚本

脚本位于 skill 目录内的 `scripts/`,运行时始终使用绝对路径。

设 `FFMPEG_SKILL_DIR` 为 `.claude/skills/ffmpeg-multimedia-editing` 的绝对路径。

### 视频操作

| 功能 | 脚本 | 关键参数 |
|------|------|----------|
| 字幕 | `video_subtitle.py` | `--input`, `--subtitle <srt/ass>`, `--mode soft\|hard` |
| 视频拼接 | `video_concat.py` | `--inputs a.mp4 b.mp4 ...` |
| 截图 | `video_screenshot.py` | `--input`, `--time`, `--interval`, `--count` |
| 获取首尾帧 | `video_firstlast_frame.py` | `--input` |
| 过渡特效 | `video_transition.py` | `--inputs a.mp4 b.mp4`, `--type fade\|dissolve`, `--duration` |
| 视频剪辑 | `video_trim.py` | `--input`, `--start`, `--end` |
| 格式转换 | `video_convert.py` | `--input`, `--format webm` |
| 压缩/缩放 | `video_compress_scale.py` | `--input`, `--resolution 720p`, `--crf 28` |
| 变速 | `video_speed.py` | `--input`, `--speed 0.5` |
| 水印 | `video_watermark.py` | `--input`, `--watermark <img>`, `--position top-right` |
| 裁剪/旋转/翻转 | `video_crop_rotate.py` | `--input`, `--crop WxH+X+Y`, `--rotate 90`, `--flip h\|v` |
| 画中画 | `video_pip.py` | `--main`, `--overlay`, `--position bottom-right` |
| 倒放 | `video_reverse.py` | `--input` |
| 分段拆分 | `video_split.py` | `--input`, `--segment-duration 60` |
| 视频/GIF互转 | `video_gif_convert.py` | `--input`, `--to gif\|mp4` |
| 音画合成 | `video_image_compose.py` | `--images <glob>`, `--duration 5`, `--audio` |

### 音频操作

| 功能 | 脚本 | 关键参数 |
|------|------|----------|
| 音乐拼接 | `audio_concat.py` | `--inputs a.mp3 b.mp3 ...` |
| 音频提取/替换 | `audio_extract_replace.py` | `--input video.mp4`, `--extract-audio` |
| 音量调节 | `audio_volume.py` | `--input`, `--volume 1.5`, `--normalize` |
| 音频降噪 | `audio_denoise.py` | `--input`, `--strength medium` |

## 快速调用

```powershell
# 截图
uv run --python python $FFMPEG_SKILL_DIR/scripts/video_screenshot.py --input video.mp4 --time 00:01:30

# 视频拼接
uv run --python python $FFMPEG_SKILL_DIR/scripts/video_concat.py --inputs a.mp4 b.mp4 c.mp4

# 音频提取
uv run --python python $FFMPEG_SKILL_DIR/scripts/audio_extract_replace.py --input video.mp4 --extract-audio

# 字幕嵌入
uv run --python python $FFMPEG_SKILL_DIR/scripts/video_subtitle.py --input video.mp4 --subtitle subs.srt
```

## 输出约定

- 本地输出目录:`outputs/ffmpeg/<operation>/`(相对于 `OUTPUT_ROOT`,默认为项目根目录)
- 所有脚本输出 JSON 至少包含:
  - `type` — `vid

_meta.json

{
  "ownerId": "kn730ch14gb1v4ab6865m2hts982vh51",
  "slug": "ffmpeg-multimedia-editing",
  "version": "1.0.0",
  "publishedAt": 1775311490244
}

skill-card.md

## Description:

Uses FFmpeg to edit local video and audio files, including trimming, concatenation, conversion, compression, subtitles, watermarks, screenshots, GIF conversion, speed changes, and audio processing.

This skill is ready for commercial/non-commercial use.

## Publisher:

[showtimewalker](https://clawhub.ai/user/showtimewalker)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to direct an agent through local FFmpeg-based media editing tasks such as clipping, joining, transcoding, compressing, adding subtitles or watermarks, extracting audio, generating screenshots, and adjusting playback or audio properties.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill runs local FFmpeg commands and can overwrite user-selected output files without confirmation.

Mitigation: Use a dedicated output directory, avoid important filenames, and review every agent-proposed --output or --output-dir path before execution.

Risk: Media processing writes generated files to the local machine and may create large outputs.

Mitigation: Set OUTPUT_ROOT to a workspace or scratch location with sufficient disk space and review generated paths before running long operations.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/showtimewalker/skills/ffmpeg-multimedia-editing)

## Skill Output:

**Output Type(s):** [Shell commands, Code, Configuration, JSON, Guidance]

**Output Format:** [Markdown guidance with shell commands; local scripts emit JSON result objects with media type, operation, local path, input path, and elapsed time.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires uv, ffmpeg, ffprobe, and Python; outputs are written under OUTPUT_ROOT outputs/ffmpeg by default.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

agents/openai.yaml

interface:
  display_name: "FFmpeg 多媒体编辑"
  short_description: "使用 FFmpeg 对本地视频和音频进行 20 种编辑操作,包括剪辑、拼接、转码、压缩、特效、音频处理等。"
  default_prompt: "Use $ffmpeg_multimedia_editing when the user wants to edit, transform, or process local video or audio files. This includes cutting, concatenating, converting formats, compressing, adding watermarks/subtitles, extracting audio, denoising, speed changes, screenshots, GIF conversion, and similar multimedia operations. All processing is done locally with FFmpeg."

Sponsored

Ads related to ffmpeg剪辑大师 and adjacent AI workflows.