DeepSeek Harness 插件

dsh-video-tools

基于 FFmpeg.wasm 的浏览器端音视频工具集,支持抽帧、截图、图片压缩与视频转 GIF。

跳到安装方式

来源信息

GitHub 仓库
PiedPiper911/dsh-video-tools
最近更新
2026年8月19日
分类
工具与能力
GitHub stars
0

安装

默认先复制一段 Prompt,让 Agent 读页面和仓库;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读页面和仓库。

请先不要安装。阅读这个 DeepSeek Harness 插件,说明它解决什么问题、会访问哪些文件、网络或密钥,以及如何安装和卸载。

插件页面:https://deepseekplugins.org/zh/plugins/PiedPiper911/dsh-video-tools
GitHub:https://github.com/PiedPiper911/dsh-video-tools
插件名:dsh-video-tools
作者:PiedPiper911
安装命令:dsh plugin --profile web add github:PiedPiper911/dsh-video-tools

确认前不要执行安装命令。

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器2 个文件
README.md来源说明 · 只读预览

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

ToolWhat it does
video_infoProbe a video's duration, resolution, and codecs without transcoding.
video_framesExtract evenly-spaced frames as JPEGs, or a single frame at a timestamp.
image_compressRecompress an image to JPEG at a target width to shrink it for vision models.
video_to_gifConvert 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 FFmpeg instance 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