/install boxed-ffmpeg
Boxed FFmpeg Skill
Run FFmpeg commands safely within a WASM sandbox for audio/video processing.
Triggering
Use this skill when the user says:
- "ffmpeg", "media info", "get video information"
- "convert video", "change video format", "格式转换"
- "extract audio", "audio from video", "提取音频"
- "boxed-ffmpeg"
⚠️ Required Plugin
This skill requires the openclaw-wasm-sandbox plugin version >= 0.2.0.
openclaw plugins install clawhub:openclaw-wasm-sandbox
openclaw plugins update openclaw-wasm-sandbox
openclaw gateway restart
⚠️ WASM File Required
If the WASM file does not exist, download it first:
wasm-sandbox-download({
url: "https://raw.githubusercontent.com/guyoung/wasm-sandbox-openclaw-skills/main/boxed-ffmpeg/files/boxed-ffmpeg-component.wasm",
output: "~/.openclaw/skills/boxed-ffmpeg/files/boxed-ffmpeg-component.wasm",
resume: false,
timeout: 120000
})
Tool: wasm-sandbox-run
wasm-sandbox-run({
wasmFile: "~/.openclaw/skills/boxed-ffmpeg/files/boxed-ffmpeg-component.wasm",
workDir: "\x3Cinput-file-directory>",
args: ["\x3CCOMMAND>", "\x3CINPUT>", "\x3COUTPUT>"]
})
Important:
workDirmust be set to the directory containing the input file- Input/output arguments are filenames only (no directory paths)
Commands
| Command | Description | Arguments |
|---|---|---|
info |
Get media file information | \x3CINPUT> |
convert |
Convert video format | \x3CINPUT> \x3COUTPUT> |
extract-audio |
Extract audio from video | \x3CINPUT> \x3COUTPUT> |
Examples
Get Media Information
User says: "Get info about video.mp4" (file in workspace root)
wasm-sandbox-run({
wasmFile: "~/.openclaw/skills/boxed-ffmpeg/files/boxed-ffmpeg-component.wasm",
workDir: "/home/user/.openclaw/workspace",
args: ["info", "video.mp4"]
})
Convert Video Format
User says: "Convert video.mp4 to AVI" (file in workspace root)
wasm-sandbox-run({
wasmFile: "~/.openclaw/skills/boxed-ffmpeg/files/boxed-ffmpeg-component.wasm",
workDir: "/home/user/.openclaw/workspace",
args: ["convert", "video.mp4", "video.avi"]
})
Extract Audio from Video
User says: "Extract audio from video.mp4 as mp3" (file in workspace root)
wasm-sandbox-run({
wasmFile: "~/.openclaw/skills/boxed-ffmpeg/files/boxed-ffmpeg-component.wasm",
workDir: "/home/user/.openclaw/workspace",
args: ["extract-audio", "video.mp4", "audio.mp3"]
})
Convert with Subdirectory
User says: "Convert videos/input.mp4 to videos/output.avi"
wasm-sandbox-run({
wasmFile: "~/.openclaw/skills/boxed-ffmpeg/files/boxed-ffmpeg-component.wasm",
workDir: "/home/user/.openclaw/workspace/videos",
args: ["convert", "input.mp4", "output.avi"]
})
Important Notes
- workDir is required — must be the directory of the input file
- Input/output are filenames only — no paths, just names
- Output file appears in workDir after successful execution
- No network access needed — all processing is local
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install boxed-ffmpeg - 安装完成后,直接呼叫该 Skill 的名称或使用
/boxed-ffmpeg触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Boxed FFmpeg 是什么?
Audio/video information extraction, format conversion, and audio extraction using FFmpeg WASM sandbox. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。
如何安装 Boxed FFmpeg?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install boxed-ffmpeg」即可一键安装,无需额外配置。
Boxed FFmpeg 是免费的吗?
是的,Boxed FFmpeg 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Boxed FFmpeg 支持哪些平台?
Boxed FFmpeg 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Boxed FFmpeg?
由 guyoung(@guyoung)开发并维护,当前版本 v1.0.0。