Skip to content

feat(desktop): add video processing API (feature-gated external tool gateway)#1696

Open
1688mengdie wants to merge 4 commits into
GCWing:mainfrom
1688mengdie:pr/ffmpeg-video-api
Open

feat(desktop): add video processing API (feature-gated external tool gateway)#1696
1688mengdie wants to merge 4 commits into
GCWing:mainfrom
1688mengdie:pr/ffmpeg-video-api

Conversation

@1688mengdie

@1688mengdie 1688mengdie commented Jul 22, 2026

Copy link
Copy Markdown

概述

新增视频处理 Tauri 命令,由 video Cargo feature 门控。作为外部多媒体工具(如 FFmpeg)的统一调用网关。

第三方许可

新增

  • video_execute — 安全视频处理执行:输入路径校验 + 协议白名单
  • video_get_metadata — 视频元数据提取(时长/格式/分辨率/FPS)
  • No-op stub — feature 未启用时返回友好错误

安全

  • 路径 canonicalize + 系统目录拒绝
  • 协议白名单(file/http/https/tcp/tls)

变更

  • video_api.rs (新增)
  • api/mod.rs (注册)
  • lib.rs (注册 Tauri command)
  • browser_api.rs (lint)

Ref: #1674

8 preset team configurations (standard/quick/parallel/single/review/audit/plan/custom).
Enables one-click multi-agent legion deployment from UI.

@wsp1911
Ref: GCWing#1674
BitFun Research added 3 commits July 23, 2026 04:24
Add ffmpeg_execute and ffmpeg_get_metadata Tauri commands behind video feature gate with secure path validation and SSRF prevention.
@1688mengdie 1688mengdie changed the title feat(desktop): add FFmpeg video processing API (video feature gate) feat(desktop): add video processing API (feature-gated external tool gateway) Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant