Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bytedance avatar

Video Breakdown

  • 3 installs
  • 411 repo stars
  • Updated August 4, 2026
  • bytedance/agentkit-samples

video-breakdown is a Claude skill that uses local FFmpeg to split a video into per-shot segments with keyframe images and timing data.

About

video-breakdown is a Claude skill that uses local FFmpeg to break a video into shot-by-shot segments with keyframe images and timing data. A developer runs process_video.py on a video URL, or first uploads a local file to Volcengine TOS via video_upload.py to get a URL. It returns JSON listing duration, resolution, and per-segment frame paths. Uploading requires Volcengine access keys.

  • Splits a video into per-shot segments using local FFmpeg, no backend service
  • Accepts a video URL directly, or uploads a local file to Volcengine TOS first
  • Outputs JSON with duration, resolution, segment count and keyframe image paths

Video Breakdown by the numbers

  • 3 all-time installs (skills.sh)
  • Ranked #1,153 of 1,335 Generative Media skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

video-breakdown capabilities & compatibility

Free FFmpeg locally; Volcengine TOS access keys needed only for uploading local files

Capabilities
video breakdown · keyframe extraction
Use cases
video generation
Platforms
macOS
Runs
Runs locally
Pricing
Bring your own API key
From the docs

What video-breakdown says it does

视频分镜拆解技能通过本机 FFmpeg 将视频自动拆解为逐帧分镜,提供每个镜头的关键帧图片和时间信息。无需外部后端服务。
SKILL.md
本机安装 FFmpeg:`brew install ffmpeg`
SKILL.md
npx skills add https://github.com/bytedance/agentkit-samples --skill video-breakdown

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3
repo stars411
Last updatedAugust 4, 2026
Repositorybytedance/agentkit-samples

What it does

Break a video into per-shot segments with keyframes and timing before analyzing or editing footage.

Who is it for?

Preprocessing a video into shot segments with keyframes for downstream analysis or editing.

Skip if: Generating new video from text, or running without FFmpeg installed.

When should I use this skill?

You need to break a video URL or local file into scenes and keyframes.

What you get

You get JSON with duration, resolution, segment count and keyframe image paths for each shot.

  • JSON with duration, resolution and segment_count
  • keyframe image paths per segment

By the numbers

  • outputs one segment record per detected shot with start/end times and frame paths

Files

SKILL.mdMarkdownGitHub ↗

视频分镜拆解 (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_BINFFmpeg 路径,默认 ffmpeg
FFPROBE_BINFFprobe 路径,默认 ffprobe
VOLCENGINE_ACCESS_KEY上传时需要火山引擎 Access Key
VOLCENGINE_SECRET_KEY上传时需要火山引擎 Secret Key
DATABASE_TOS_BUCKETTOS 存储桶名称
DATABASE_TOS_REGIONTOS 区域,默认 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 有效且可公开访问

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.