HongtaoWang75/dsh-video-see ↗★ 0

dsh-video-see

Look at video with your own eyes: a DeepSeek Harness plugin that samples frames with ffmpeg and returns them to the agent as real images, each labelled with its timestamp — no vision API, no API key, nothing leaves the machine. 适合需要让Agent查看视频关键帧的用户;插件使用本地ffmpeg抽帧,再将图片交给当前模型分析。

Package
dsh-video-see
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Oct 4, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HongtaoWang75/dsh-video-see

配置

全部可选,写在你 profile 的 cordis.patch.yml 里:

- id: video-see
  name: dsh-video-see
  config:
    # ffmpegPath: D:\ffmpeg\bin\ffmpeg.exe    # 不在 PATH 时指定;也认 DSH_FFMPEG_PATH / FFMPEG_PATH
    # ffprobePath: D:\ffmpeg\bin\ffprobe.exe  # 也认 DSH_FFPROBE_PATH / FFPROBE_PATH
    maxFrames: 64        # 单次抽帧上限(1-64)
    maxWidth: 768        # 单帧宽度上限
    maxPixels: 640000    # 单帧面积上限,默认与 DSH 的 imagePixelBudget 默认值一致
    quality: 3           # JPEG 质量(ffmpeg -q:v,2 最好 / 31 最差)
    timeoutMs: 120000    # 单次 ffmpeg 调用超时
    toolTimeoutMs: 600000 # 整次工具调用超时
    graceMs: 2000        # 终止宽限期(SIGTERM 之后多久强杀)