插件目录 / Developer / dsh-video-tools
dsh-video-tools
已验证 · 实测可装 PiedPiper911
✓ 持续维护 基于 2 个官方 DSH 包
0Stars
0Forks
0未关闭 issue
—语言
2026-08-17最近推送
跨平台平台
功能简介
DSH plugin by PiedPiper911 — dsh-video-tools
我们的评价
可用 — 实测通过,早期项目
可用 — 实测通过,早期项目
DSH plugin by PiedPiper911 — dsh-video-tools 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-video-tools 🎬
Browser-local audio/video tools for DeepSeek Harness (DSH), powered by FFmpeg.wasm.
No uploads, no servers — every operation runs in your browser via WebAssembly.
Install
dsh plugin add @piedpiper911/dsh-video-tools
Tools
| Tool | What it does |
|---|---|
video_info |
Probe a video's duration, resolution, and codecs without transcoding. |
video_frames |
Extract evenly-spaced frames as JPEGs, or a single frame at a timestamp. |
image_compress |
Recompress an image to JPEG at a target width to shrink it for vision models. |
video_to_gif |
Convert a video clip to an animated GIF (two-pass palette optimization). |
Example: give a vision model frames from a local video
1. upload the video → workspace
2. video_frames { input: "demo.mp4", count: 4 }
3. describe what you see in each frame
How it works
- One shared
FFmpeginstance is lazily loaded on first use and reused for the
whole session — the ~30 MB core downloads exactly once. - All I/O happens in FFmpeg's in-memory virtual filesystem; nothing touches disk.
- Tool arguments are validated with the DSH schema DSL (
defineTool), so the
model only ever sees well-formed inputs.
Development
npm ci
npm run build # tsc → lib/
npm test # vitest
License
MIT
安装
🧩 让 Agent 自动装(推荐)
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-video-tools」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:PiedPiper911/dsh-video-tools Headless(CLI)profile:
dsh plugin --profile headless add github:PiedPiper911/dsh-video-tools 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。