DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Ffmpeg — DSH Plugin for DeepSeek Harness
← Plugins

dsh-ffmpeg

Ffmpeg

DSH video processing tools plugin: ten tools—ffmpeg_probe/cut/concat/encode/subtitle/extract/gif/frames/adjust/health—for probe summaries, batch frame extraction, GIFs, speed/volume/mute/rotation adjustments. Processes use the official subprocess service, with process-tree termination on timeout, en

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-ffmpeg@0.4.3
READMECompatibilityVersions

Description

DSH video processing tools plugin: ten tools—ffmpeg_probe/cut/concat/encode/subtitle/extract/gif/frames/adjust/health—for probe summaries, batch frame extraction, GIFs, speed/volume/mute/rotation adjustments. Processes use the official subprocess service, with process-tree termination on timeout, environment-variable path fallback, and multi-video-stream probing. Zero runtime dependencies (except ffmpeg itself).

Compatibility and provenance

Ffmpeg is published as dsh-ffmpeg and currently resolves to version 0.4.3. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
9/20/2026

Versions

0.4.3stable
9/18/2026
0.4.2stable
9/12/2026
0.4.1stable
9/8/2026
Show 5 more versionsCollapse versions
0.4.0stable
9/1/2026
0.3.0stable
8/26/2026
0.2.0stable
8/16/2026
0.1.1stable
8/16/2026
0.1.0stable
8/14/2026

Related plugins

Loading related plugins…

Latest
0.4.3
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
85.3 kB
Files
19
Surface
any
License
MIT
Source
npm
GitHub
★ 4
Weekly downloads
843
Security scan
✓ v0.4.3 scan passed
Last push
9/18/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in vision-media.

Tool Describe Image@linxin666/dsh-tool-describe-imageModel-facing describe_image tool for the dsh web GUI: gives a text-only model image understanding by asking a vision-language model at an OpenAI-compatible endpoint to describe one image (local path, http(s) URL, or attachment reference). Hot-pluggable — Deepseek Ivideodeepseek-ivideoiPolloWork HyperFrames Video Studio and 27 editable video templates as a native DeepSeek Harness conversation view.Imagegen@dickpy/dsh-imagegenAI image generation plugin for the dsh web GUI: text-to-image and image-to-image through configurable provider channels (gpt-image-2 / grok-imagine-image / nanobanana series / seedream-5.0-pro / dall-e-3, with native xAI Grok Imagine, Google Nano Banana aVoice Modedsh-voice-modeFull-duplex voice plugin for DeepSeek Harness: local zipformer2 streaming ASR (no API key) → editable draft; Edge TTS or local VITS / Kokoro read-aloud with live captions; true barge-in; hardened HTTP surface + model SHA256 pinning; compatible with all ds

README

English

dsh-ffmpeg

你的 agent 会剪视频了:探测/剪辑/拼接/转码/字幕/抽帧/GIF/变速旋转调音,十个工具一条命令。

DSH(DeepSeek Harness)视频处理工具插件:十个工具:探测、剪辑、拼接、转码、字幕、提取、GIF、抽帧、调整(变速/音量/静音/旋转)与自检,全部由 ffmpeg/ffprobe 完成。

兼容性

已在官方 @deepseek-ai/dsh@0.1.5-rc.1、Node 24.16.0 上验证(2026-09-11):18 个组件与 Modlens 同载,工具 schema、技能注册及离线只读调用检查通过。采用 cordis.patch.yml + dsh.bundle.patch 组合包模型。Node 要求与该版本 Harness 一致:22.19 及以上的 22.x,或 24 及以上。外部服务的实际业务操作需按各组件配置单独验证。

2026-09-13 修复:保留宿主 subprocess.spawn 的服务对象,避免方法独立传递后因 this 丢失而报错。已在官方 0.1.5-rc.1 和 0.1.5-rc.2、Node 24.16.0 上验证。FFmpeg/ffprobe 版本检查与真实 MP4 探测均通过。此修复解决 #3 所报告的全部工具调用失败。

安装

dsh plugin --profile web add dsh-ffmpeg

需要本机已安装 ffmpeg(ffmpeg -version 能出结果即可);不在 PATH 上时可用 ffmpegPath/ffprobePath 显式指定,或设置环境变量 DSH_FFMPEG_PATH / DSH_FFPROBE_PATH。

卸载

dsh plugin --profile web remove dsh-ffmpeg

卸载后重启 Web 服务。如需彻底清理,可再手动删除自己 profile cordis.patch.yml 中覆盖的插件行。

配置

在你自己的 profile 的 cordis.patch.yml 里覆盖本插件行(缺省时全部用默认值):

- id: ffmpeg
  name: 'dsh-ffmpeg'
  config:
    # ffmpegPath: C:\tools\ffmpeg\bin\ffmpeg.exe   # 非 PATH 时显式指定(也可用 DSH_FFMPEG_PATH)
    # ffprobePath: C:\tools\ffmpeg\bin\ffprobe.exe # 也可用 DSH_FFPROBE_PATH
    timeoutMs: 300000                                # 单次操作超时(默认 5 分钟,10 秒 - 2 小时)
    # overwrite: true                                 # 允许覆盖同名输出(默认自动加 _1/_2 序号)

工具一览

工具作用关键参数
ffmpeg_probe探测媒体信息(格式/时长/分辨率/帧率/码率/音轨/字幕轨;多视频流时返回完整 videos 列表)input 必填
ffmpeg_cut剪辑片段(默认流拷贝秒级,可精确重编码)input 必填;start/end/duration
ffmpeg_concat拼接 2-20 个片段(同编码流拷贝 / 混合编码重编码;无音轨输入按纯视频拼接)inputs 数组必填
ffmpeg_encode转码(B 站 1080p/4K、竖屏 1080p、web-720p 预设 + crf/fps/scale 覆盖)input 必填;preset 可选
ffmpeg_subtitle字幕烧录(SRT/ASS 硬字幕)input+subtitle 必填
ffmpeg_extract提取音轨(m4a,非 AAC 自动转 AAC)/ 抽帧序列 / 单帧 / 字幕流input+what 必填
ffmpeg_gif视频转高质量 GIF(两遍调色板)input 必填;fps/width/duration 可选
ffmpeg_frames批量抽帧给视觉模型读图(定间隔或指定时间点,PNG/JPG)input 必填;every/times 二选一
ffmpeg_adjust变速(音视频同步)/ 音量 / 静音 / 旋转(竖横屏互转),可组合input 必填;speed/volume/mute/rotate 至少一个
ffmpeg_health自检 ffmpeg / ffprobe 可执行文件无

示例

ffmpeg_probe { input: E:\videos\raw.mp4 }
ffmpeg_cut { input: E:\videos\raw.mp4, start: 10, end: 30 }
ffmpeg_encode { input: E:\videos\raw.mp4, preset: bilibili-1080p }
ffmpeg_subtitle { input: E:\videos\raw.mp4, subtitle: E:\videos\subs.srt }
ffmpeg_extract { input: E:\videos\raw.webm, what: audio }
ffmpeg_gif { input: E:\videos\raw.mp4, duration: 3, width: 480 }
ffmpeg_adjust { input: E:\videos\raw.mp4, volume: +2dB }

安全设计

  • 无 shell:所有参数以独立 argv 数组传递,用户输入不可能注入命令
  • 进程走 DSH 官方 subprocess 服务:超时 AbortSignal 会真正触发树级终止(SIGTERM → 强杀,Windows taskkill /T),本插件零运行时依赖
  • 防覆写:默认不覆盖同名文件(自动加序号),输出与输入相同直接拒绝
  • 超时钳制:单次操作 10 秒 - 2 小时;探测额外限制 60 秒
  • 参数校验:时间格式、预设枚举、crf/fps/scale 范围全部前置校验,输入目录、抽帧无扩展名输出等边界也有中文错误/自动修复

开发

pnpm install
pnpm test       # 构建 + 102 个测试(含真实 ffmpeg 端到端集成,缺 ffmpeg 自动跳过)

License

MIT

版本记录

  • 0.4.3(2026-09-18):修复抽帧数到旧帧/清单截断、取消被当成功、取消文案丢原因、+2dB 被拒;音轨提取非 AAC 自动转 AAC、concat 混合音轨可用、ffprobe 截断明确报错。测试 102 项。