HongtaoWang75/dsh-video-see ↗★ 0

dsh-video-see

利用本地ffmpeg对视频抽帧并交由模型分析。 适合需要让Agent查看视频关键帧的用户;插件使用本地ffmpeg抽帧,再将图片交给当前模型分析。

套件
dsh-video-see
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年10月4日

安裝

$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 之后多久强杀)