技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 5 · 4.1k · 25 current installs · 26 all-time installs
⭐ 5
安装量(当前) 26
🛡 VirusTotal :可疑 · OpenClaw :良性
Package:ascendswang/ffmpeg-cli
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :良性
OpenClaw 评估
The skill's scripts and runtime instructions match the stated purpose (local FFmpeg helper scripts); it does not request secrets or download remote code, but it assumes ffmpeg (and a few common CLI tools) are present and will execute shell scripts on local files.
目的
Name/description (FFmpeg CLI operations) align with the provided scripts. All eight scripts perform expected video/audio tasks (convert, cut, merge, extract audio, gif, thumbnail, speed, watermark). No unrelated credentials, hosts, or binaries are requested.
说明范围
SKILL.md instructs the agent to run the included shell scripts against local files. The scripts only perform local file I/O and call ffmpeg; they do not call external network endpoints or read environment secrets. Minor operational notes: speed.sh uses bc (not declared in the metadata) and one echo line in speed.sh references an undefined variable (RATEx). Filenames are written into a temporary concat file without sanitization, which could beh…
安装机制
No remote download/install spec in the registry; SKILL.md metadata suggests installing ffmpeg via a brew formula (a well-known package source). There are no arbitrary URL downloads or archive extracts in the skill.
证书
The skill declares no required environment variables or credentials. It only needs local ffmpeg (and implicitly common CLI tools like mktemp and bc). There are no requests for unrelated secrets or config paths.
持久
always is false and the skill is user-invocable. disable-model-invocation is false (normal platform default) — the skill could be invoked autonomously, but that is expected behavior and not combined with other privilege or credential requests.
综合结论
This skill is internally consistent: it provides local ffmpeg wrapper scripts and doesn't request secrets or download code. Before installing, ensure you have ffmpeg (brew install ffmpeg is suggested) and common utilities (bc, mktemp) on your system. Review the scripts if you will run them on untrusted files — they execute ffmpeg and write temporary files (merge.sh creates /tmp/ffmpeg_merge_*.txt) and do minimal filename sanitization. If you w…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「FFmpeg CLI」。简介:Process video and audio using FFmpeg CLI for transcoding, cutting, merging, aud…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/ascendswang/ffmpeg-cli/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: ffmpeg-cli
description: Comprehensive video/audio processing with FFmpeg. Use for: (1) Video transcoding and format conversion, (2) Cutting and merging clips, (3) Audio extraction and manipulation, (4) Thumbnail and GIF generation, (5) Resolution scaling and quality adjustment, (6) Adding subtitles or watermarks, (7) Speed adjustment (slow/fast motion), (8) Color correction and filters.
metadata: {"clawdbot":{"emoji":"🎬","requires":{"bins":["ffmpeg"]},"install":[{"id":"brew","kind":"brew","formula":"ffmpeg","bins":["ffmpeg"],"label":"Install ffmpeg (brew)"}]}}
---
# 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