STARDUSTLC666/dsh-ffmpeg
STARDUSTLC666★ 2TypeScript最后同步: 2026-08-15
DeepSeek Harness 视频处理插件:ffmpeg_probe/cut/concat/encode/subtitle/extract/gif 七工具,走官方 subprocess 服务、argv 数组无 shell 注入、零运行时依赖;纯 Node 全平台。· Video processing tools for DeepSeek Harness agents.
README 摘要
English dsh-ffmpeg 你的 agent 会剪视频了 :探测/剪辑/拼接/转码/字幕/抽帧/GIF,七个工具一条命令。 DSH(DeepSeek Harness)视频处理工具插件:七个工具覆盖探测、剪辑、拼接、转码、字幕、提取与 GIF 制作,全部由 ffmpeg/ffprobe 完成。 安装 需要本机已安装 ffmpeg( ffmpeg -version 能出结果即可);不在 PATH 上时用 ffmpegPath / ffprobePath 显式指定。 配置 在你自己的 profile 的 cordis.patch.yml 里覆盖本插件行(缺省时全部用默认值): 工具一览 工具 作用 关键参数 :-- :-- :-- ffmpeg probe 探测媒体信息(格式/时长/分辨率/帧率/码率/音轨/字幕轨) 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)/ 抽帧序列 / 单帧 / 字幕流 input + what 必填 ffmpeg gif 视频转高质量 GIF(两遍调色板) input 必填; fps / width / duration 可选 示例 安全设计 - 无 shell :所有参数以独立 argv 数组传递,用户输入不可能注入命令 - 进程走 DSH 官方 subprocess 服务 :树级终止(超时自动 SIGTERM → 强杀,Windows taskkill /T),本插件零运行时依赖 - 防覆写 :默认不覆盖同名文件(自动加序号),输出与输入相同直接拒绝 - 超时钳制 :单次操作 10 秒 - 2 小时;探测额外限制 60 秒 - 参数校验 :时间格式、预设枚举、crf/fps/scale 范围全部前置校验,错误带中文指引 开发 License MIT
在 GitHub 查看完整 README →分类
The first vision plugin for DeepSeek Harness, and the vision bridge for every text-only coding agent. Paste an image, get structured JSON evidence (OCR, layout, semantics). | 全网第一个 DeepSeek Harness 视觉插件,为 DeepSeek、GLM 等纯文本模型外挂视觉能力,粘贴图片即得结构化 JSON 证据(OCR、版面、语义)。
★ 1,700
Anionex/agent-vision-toolkit为纯文本模型"看图“设计更好的视觉工具箱和技能,支持多图理解,图片问答,前端UI还原、GUI 自动化等,并可选无缝接入多个主流agent,直接识别粘贴图片| A vision toolkit and skill designed for text-only llms — image Q&A, long-screenshot OCR, frontend UI restoration, and GUI automation, with optional seamless integration for Codex, Claude Code, Pi, Oh My Pi, and OpenCode
★ 884
Anionex/dsh-vision-toolkit让纯文本模型更好地做视觉任务的DeepSeek Harness插件:带意图的图片问答、长截图 OCR、UI 还原等|DeepSeek Harness-native integration for agent-vision-toolkit: image Q&A, long-screenshot OCR, UI restoration, grounding, pixel diff, Artifacts, and Web UI.
★ 405