搜索

PythonReactSEOPDF
OpenClaw

Ffmpeg Cli

FFmpeg CLI

ascendswang0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install ascendswang/ffmpeg-cli

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

FFmpeg CLI

Quick Reference

Task Command
Cut video {baseDir}/scripts/cut.sh -i <input> -s <start> -e <end> -o <output>
Merge clips {baseDir}/scripts/merge.sh -o <output> <file1> <file2> ...
Extract audio {baseDir}/scripts/extract-audio.sh -i <video> -o <output.mp3>
Generate thumbnail {baseDir}/scripts/thumb.sh -i <video> -t <timestamp> -o <out.jpg>
Create GIF {baseDir}/scripts/gif.sh -i <video> -s <start> -e <end> -o <out.gif>
Convert format {baseDir}/scripts/convert.sh -i <input> -o <output.mp4>
Change speed {baseDir}/scripts/speed.sh -i <input> -r <0.5-2.0> -o <output>
Add watermark {baseDir}/scripts/watermark.sh -i <video> -w <image> -o <output>

Scripts

cut.sh - Cut video segment
{baseDir}/scripts/cut.sh -i video.mp4 -s 00:01:30 -e 00:02:45 -o clip.mp4
merge.sh - Concatenate videos
{baseDir}/scripts/merge.sh -o merged.mp4 part1.mp4 part2.mp4 part3.mp4
extract-audio.sh - Pull audio track
{baseDir}/scripts/extract-audio.sh -i video.mp4 -o audio.mp3
thumb.sh - Extract frame as image
{baseDir}/scripts/thumb.sh -i video.mp4 -t 00:00:15 -o frame.jpg
gif.sh - Convert clip to GIF
{baseDir}/scripts/gif.sh -i video.mp4 -s 00:00:10 -e 00:00:15 -o clip.gif
convert.sh - Transcode to new format
{baseDir}/scripts/convert.sh -i input.avi -o output.mp4
speed.sh - Adjust playback speed
{baseDir}/scripts/speed.sh -i video.mp4 -r 2.0 -o fast.mp4  # 2x speed
{baseDir}/scripts/speed.sh -i video.mp4 -r 0.5 -o slow.mp4  # 0.5x speed
watermark.sh - Overlay image watermark
{baseDir}/scripts/watermark.sh -i video.mp4 -w logo.png -o output.mp4

Notes

  • All scripts support common video formats (mp4, avi, mov, mkv, webm, etc.)
  • Output quality is optimized for balanced file size and clarity
  • Use -h or no args to see script usage

来源信息

Source
github
Repository
openclaw/skills
Path
skills/ascendswang/ffmpeg-cli
Version
—
Commit
c85d3d8a8c8b007956950f96d1caa6fb7a63f902
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# FFmpeg CLI

## Quick Reference

| Task | Command |
|------|---------|
| Cut video | `{baseDir}/scripts/cut.sh -i <input> -s <start> -e <end> -o <output>` |
| Merge clips | `{baseDir}/scripts/merge.sh -o <output> <file1> <file2> ...` |
| Extract audio | `{baseDir}/scripts/extract-audio.sh -i <video> -o <output.mp3>` |
| Generate thumbnail | `{baseDir}/scripts/thumb.sh -i <video> -t <timestamp> -o <out.jpg>` |
| Create GIF | `{baseDir}/scripts/gif.sh -i <video> -s <start> -e <end> -o <out.gif>` |
| Convert format | `{baseDir}/scripts/convert.sh -i <input> -o <output.mp4>` |
| Change speed | `{baseDir}/scripts/speed.sh -i <input> -r <0.5-2.0> -o <output>` |
| Add watermark | `{baseDir}/scripts/watermark.sh -i <video> -w <image> -o <output>` |

## Scripts

### cut.sh - Cut video segment
```bash
{baseDir}/scripts/cut.sh -i video.mp4 -s 00:01:30 -e 00:02:45 -o clip.mp4
```

### merge.sh - Concatenate videos
```bash
{baseDir}/scripts/merge.sh -o merged.mp4 part1.mp4 part2.mp4 part3.mp4
```

### extract-audio.sh - Pull audio track
```bash
{baseDir}/scripts/extract-audio.sh -i video.mp4 -o audio.mp3
```

### thumb.sh - Extract frame as image
```bash
{baseDir}/scripts/thumb.sh -i video.mp4 -t 00:00:15 -o frame.jpg
```

### gif.sh - Convert clip to GIF
```bash
{baseDir}/scripts/gif.sh -i video.mp4 -s 00:00:10 -e 00:00:15 -o clip.gif
```

### convert.sh - Transcode to new format
```bash
{baseDir}/scripts/convert.sh -i input.avi -o output.mp4
```

### speed.sh - Adjust playback speed
```bash
{baseDir}/scripts/speed.sh -i video.mp4 -r 2.0 -o fast.mp4  # 2x speed
{baseDir}/scripts/speed.sh -i video.mp4 -r 0.5 -o slow.mp4  # 0.5x speed
```

### watermark.sh - Overlay image watermark
```bash
{baseDir}/scripts/watermark.sh -i video.mp4 -w logo.png -o output.mp4
```

## Notes

- All scripts support common video formats (mp4, avi, mov, mkv, webm, etc.)
- Output quality is optimized for balanced file size and clarity
- Use `-h` or no args to see script usage

相关技能

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.