跳到正文
cccskills
免费在 GitHub 公开

video-breakdown

视频分镜拆解技能(自包含,无需外部后端)。使用 FFmpeg 预处理视频并生成分镜数据。

(1) 视频 URL 直接处理 `python scripts/process_video.py "<video_url>"`;(2) 本地文件先上传 `python scripts/video_upload.py "<file_path>"` 获取 URL 后再处理。需要本机安装 FFmpeg。

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md1.9 KB
  • scripts/process_video.py5.1 KB
  • scripts/video_upload.py4.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

视频分镜拆解 (Video Breakdown)

概述

视频分镜拆解技能通过本机 FFmpeg 将视频自动拆解为逐帧分镜,提供每个镜头的关键帧图片和时间信息。无需外部后端服务。

前置要求

  • 本机安装 FFmpeg:brew install ffmpeg

使用步骤

方式一:视频 URL 直接处理

python scripts/process_video.py "https://example.com/video.mp4"

方式二:本地文件上传后处理

# 1. 上传本地视频到 TOS
python scripts/video_upload.py "/path/to/video.mp4"

# 2. 用返回的 video_url 处理
python scripts/process_video.py "<video_url>"

环境变量

变量名必需描述
FFMPEG_BIN否FFmpeg 路径,默认 ffmpeg
FFPROBE_BIN否FFprobe 路径,默认 ffprobe
VOLCENGINE_ACCESS_KEY上传时需要火山引擎 Access Key
VOLCENGINE_SECRET_KEY上传时需要火山引擎 Secret Key
DATABASE_TOS_BUCKET否TOS 存储桶名称
DATABASE_TOS_REGION否TOS 区域,默认 cn-beijing

输出格式

{
  "task_id": "xxx",
  "duration": 30.5,
  "resolution": "1920x1080",
  "segment_count": 12,
  "segments": [
    {
      "index": 1,
      "start": 0.0,
      "end": 3.0,
      "frame_paths": ["path/to/frame.jpg"]
    }
  ]
}

故障排除

问题解决方案
FFmpeg not found安装 FFmpeg: brew install ffmpeg
上传失败检查 AK/SK 配置和 TOS 存储桶
视频下载失败确认 URL 有效且可公开访问

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Deploy, update, validate, and troubleshoot the AgentKit hybrid-cloud customer-service demo in this directory. Use when a user asks an AI coding agent to follow the README, deploy or update the demo, configure OpenAPI/Runtime/Knowledge/Memory/Sandbox/MCP/Skills/A2A, run customer-view validation, or record manual platform steps and failures.

中文简介正在准备中。当前显示原文说明。

bytedance/agentkit-samples4732026年10月21日 更新

Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric, generative, or algorithmic visual art.

中文简介正在准备中。当前显示原文说明。

bytedance/agentkit-samples4732026年10月21日 更新

通过本地 Python CLI 和 OpenAPI 客户端管理、排查火山云手机资源。适用于查询实例和资源、截图、执行命令、查看任务、检查应用、主机和机房容量、标签、DNS、路由,以及操作已授权的测试云手机实例。

中文简介正在准备中。当前显示原文说明。

bytedance/agentkit-samples4732026年10月21日 更新

Launch and continue the Volcengine AI Research survey workflow for concept testing, audience design, questionnaire drafting, interview guide generation, execution confirmation, progress checks, and result queries. Use this skill when the user wants to create, revise, confirm, execute, or follow up on a real AI research survey task in ABCompass instead of doing generic brainstorming, copywriting, translation, summarization, or broad market discussion.

中文简介正在准备中。当前显示原文说明。

bytedance/agentkit-samples4732026年10月21日 更新

Create and check long-running video material evaluation tasks. Use this skill when the user wants to submit videos for evaluation, check an existing video evaluation task list, or fetch the result of a previously created video evaluation task. This skill is not a general-purpose video upload skill because upload is allowed only as an internal step of task creation. Authentication uses an API key passed as an Authorization bearer token.

中文简介正在准备中。当前显示原文说明。

bytedance/agentkit-samples4732026年10月21日 更新

火山引擎 AntiDDoSPro 高防域名只读巡检。用户要查域名健康、攻击、流量、CC/WAF/区域封禁、智能防护或 CCAI 状态时使用。

中文简介正在准备中。当前显示原文说明。

bytedance/agentkit-samples4732026年10月21日 更新

查看 bytedance 的全部技能

报告此技能的问题