ffmpeg-master-pro

FFmpeg Master Pro - 全能视频处理技能。当用户需要视频处理时使用,支持视频转换、视频压缩、视频编辑等。当用户要求视频处理, 视频转换, 视频压缩, FFmpeg, 视频编辑, 视频转码, 视频剪辑, 字幕处理, 视频优化, 批量视频处理, GIF转换, 视频翻转, 速度调节, 音频提取, 视频合并, 宽高比, 水印, 截图, 抽帧时使用此技能。

3,891 stars

Best use case

ffmpeg-master-pro is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

FFmpeg Master Pro - 全能视频处理技能。当用户需要视频处理时使用,支持视频转换、视频压缩、视频编辑等。当用户要求视频处理, 视频转换, 视频压缩, FFmpeg, 视频编辑, 视频转码, 视频剪辑, 字幕处理, 视频优化, 批量视频处理, GIF转换, 视频翻转, 速度调节, 音频提取, 视频合并, 宽高比, 水印, 截图, 抽帧时使用此技能。

Teams using ffmpeg-master-pro should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ffmpeg-master-pro/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/aqbjqtd/ffmpeg-master-pro/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ffmpeg-master-pro/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ffmpeg-master-pro Compares

Feature / Agentffmpeg-master-proStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

FFmpeg Master Pro - 全能视频处理技能。当用户需要视频处理时使用,支持视频转换、视频压缩、视频编辑等。当用户要求视频处理, 视频转换, 视频压缩, FFmpeg, 视频编辑, 视频转码, 视频剪辑, 字幕处理, 视频优化, 批量视频处理, GIF转换, 视频翻转, 速度调节, 音频提取, 视频合并, 宽高比, 水印, 截图, 抽帧时使用此技能。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

## 环境要求

- **必装**:`ffmpeg` 和 `ffprobe`(建议从 [ffmpeg.org](https://ffmpeg.org) 或 via winget/choco 安装)
- **可选**:`nvidia-smi`(NVIDIA 加速)、`vainfo`(Intel QSV)、`amdgpu-info`(AMD 加速)

首次使用前验证:`ffmpeg -version` 和 `ffprobe -version`。

## 执行建议

### 执行方式

FFmpeg 处理推荐使用 `exec background:true` 避免长时间阻塞会话。示例:

```bash
exec background:true command:"ffmpeg -i input.mp4 -c:v libx264 -crf 23 output.mp4"
```

### 完成后通知(可选)

任务完成后推荐使用 `message` 工具通知用户:

```
✅ 视频处理完成
文件:output.mp4 | 操作:转码压缩
```

> 注意:仅发送文件名即可,避免暴露完整路径。

### 文件路径处理

- 输入/输出路径直接使用用户提供的位置,不做跨分区复制
- Windows 路径(如 `C:\Users\...`)和 Unix 路径(如 `/mnt/c/...`)均支持
- 临时文件处理:如有需要可使用系统临时目录,任务结束后清理

## 核心工作流

所有工作流的完整命令、参数说明和代码示例见 [详细工作流](references/detailed_workflows.md)。

### 转码与优化

| # | 工作流 | 触发词 | 详细文档 |
|---|--------|--------|----------|
| 1 | 智能转码与压缩 | 压缩、转码、格式转换、减小文件 | [→](references/detailed_workflows.md#工作流1智能转码与压缩) |
| 2 | 智能参数优化 | 自动识别6种视频类型并优化编码 | [→](references/detailed_workflows.md#工作流2智能参数优化) |
| 3 | 预设模板系统 | YouTube/B站/微信/抖音等平台预设 | [→](references/detailed_workflows.md#工作流3预设模板系统) |
| 4 | 精确文件大小控制 | 指定目标大小,两遍编码偏差<5% | [→](references/detailed_workflows.md#工作流4精确文件大小控制) |

### 剪辑与分析

| # | 工作流 | 触发词 | 详细文档 |
|---|--------|--------|----------|
| 5 | Smart Cut 混合剪辑 | 剪辑、裁剪、cut | [→](references/smart_cut_guide.md) |
| 6 | 关键帧分析 | 关键帧、最佳剪辑点 | [→](references/keyframe_analysis.md) |

### 编辑与特效

| # | 工作流 | 触发词 | 详细文档 |
|---|--------|--------|----------|
| 7 | 字幕处理 | 提取/嵌入/烧录字幕 | [→](references/detailed_workflows.md#工作流7字幕处理) |
| 8 | 滤镜与特效 | 水印、旋转、翻转 | [→](references/detailed_workflows.md#工作流8滤镜与特效) |
| 9 | GIF 转换 | GIF、动图 | [→](references/detailed_workflows.md#工作流9gif转换) |
| 10 | 翻转与镜像 | 镜像、左右/上下翻转 | [→](references/detailed_workflows.md#工作流10翻转与镜像) |

### 变换与合并

| # | 工作流 | 触发词 | 详细文档 |
|---|--------|--------|----------|
| 11 | 速度调节 | 加速、慢动作、倍速 | [→](references/detailed_workflows.md#工作流11速度调节) |
| 12 | 音频提取与移除 | 提取音频、去音频、静音 | [→](references/detailed_workflows.md#工作流12音频提取与移除) |
| 13 | 视频合并 | 合并、拼接、concat | [→](references/detailed_workflows.md#工作流13视频合并) |
| 14 | 宽高比调整 | 16:9、9:16、竖屏、横屏 | [→](references/detailed_workflows.md#工作流14宽高比调整) |

## 智能决策系统

技能会自动执行以下决策,无需手动干预:

- **内容类型识别**:自动检测电影/动漫/屏幕录制/体育/音乐视频/老旧视频,选择最优编码参数。详见 [优化指南](references/optimization_guide.md)
- **GPU 加速**:自动检测 NVIDIA NVENC / AMD AMF / Intel QSV 并优先使用
- **质量验证**:自动校验输出文件的分辨率、时长、码率,可选 VMAF/SSIM/PSNR 评估

## 预设模板

内置 8+ 平台预设(`assets/presets/`):youtube、bilibili、wechat、douyin、social\_media、archival、preview、web\_optimized。使用时提及平台名称即可自动匹配。

## 参考文档

- **详细工作流**:[detailed_workflows.md](references/detailed_workflows.md) — 所有14个工作流的完整命令和代码
- **Smart Cut 指南**:[smart_cut_guide.md](references/smart_cut_guide.md)
- **关键帧分析**:[keyframe_analysis.md](references/keyframe_analysis.md)
- **优化算法**:[optimization_guide.md](references/optimization_guide.md)
- **最佳实践**:[best_practices.md](references/best_practices.md)
- **API 参考**:[api_reference.md](references/api_reference.md)
- **快速入门**:[quickstart.md](references/quickstart.md)
- **故障排除**:[troubleshooting.md](references/troubleshooting.md)

## 工作流程

1. 分析用户需求,匹配触发词到对应工作流
2. 用 `ffprobe` 分析输入视频(格式、编码、分辨率、码率、时长)
3. 如有脚本可用(`scripts/`),优先执行脚本;否则按详细工作流文档构建 ffmpeg 命令
4. 执行转换,验证输出质量
5. 批量任务参考 detailed_workflows.md 附录中的批量处理器

Related Skills

Presentation Mastery — Complete Slide Design & Delivery System

3891
from openclaw/skills

You are a Presentation Architect. You help build presentations that persuade, inform, and move people to action. You cover the full lifecycle: audience analysis → narrative structure → slide design → delivery coaching → post-presentation follow-up.

Content & Documentation

Photography Mastery

3891
from openclaw/skills

Complete photography system — exposure, composition, lighting, genre-specific workflows, editing, gear selection, portfolio building, and client management. From beginner to professional.

OpenClaw Mastery — The Complete Agent Engineering & Operations System

3891
from openclaw/skills

> Built by AfrexAI — the team that runs 9+ production agents 24/7 on OpenClaw.

DevOps & Infrastructure

Negotiation Mastery

3891
from openclaw/skills

Complete negotiation system for business deals, salary talks, vendor contracts, partnerships, and high-stakes conversations. Combines multiple proven frameworks (FBI tactical empathy, Harvard principled negotiation, SPIN, anchoring science) into one actionable playbook.

Workflow & Productivity

n8n Workflow Mastery — Complete Automation Engineering System

3891
from openclaw/skills

You are an expert n8n workflow architect. You design, build, debug, optimize, and scale n8n automations following production-grade methodology. Every workflow you create is complete, functional, and follows the patterns in this guide.

Workflow & Productivity

Meeting Mastery — AI Meeting Prep, Notes & Follow-Up Engine

3891
from openclaw/skills

You are an elite meeting preparation and follow-up agent. You ensure every meeting is high-value — thoroughly prepared beforehand, cleanly documented during, and actioned after.

Workflow & Productivity

Growth Engineering Mastery

3891
from openclaw/skills

> Complete growth system: experimentation engine, viral mechanics, channel playbooks, funnel optimization, retention loops, and scaling frameworks. From zero users to exponential growth.

Database Engineering Mastery

3891
from openclaw/skills

> Complete database design, optimization, migration, and operations system. From schema design to production monitoring — covers PostgreSQL, MySQL, SQLite, and general SQL patterns.

Coding & Development

afrexai-copywriting-mastery

3891
from openclaw/skills

Write high-converting copy for any medium — landing pages, emails, ads, UX, sales pages, video scripts, and brand voice. Complete methodology with frameworks, templates, scoring rubrics, and swipe files. Use when writing or reviewing any user-facing text.

Content & Documentation

AI Coding Toolkit — Master Every AI Coding Assistant

3891
from openclaw/skills

> The complete methodology for 10X productivity with AI-assisted development. Covers Cursor, Windsurf, Cline, Aider, Claude Code, GitHub Copilot, and more — tool-agnostic principles that work everywhere.

ee-datasheet-master

3891
from openclaw/skills

Use when user has/is reading a component datasheet or spec sheet to find chip parameters: pinout, voltage, I2C address, timing, register map, electrical characteristics. Trigger on PDF+chip questions. Also: 规格书, 数据手册, 芯片参数. All IC types.

Twenty CRM OAuth Mastery Skill

3891
from openclaw/skills

**Author**: Generated from extensive OAuth debugging sessions in OpenCode