video-analysis: Understanding Videos with ASR and Keyframes to Produce Timestamped Analysis Results

Foreword

When a user provides a Bilibili or YouTube watch page link, or a direct MP4 link, the common need is rarely to “download the file” itself, but rather to understand the visuals and audio: summarizing, transcribing, finding chapters, or answering “what is this about”. If only a link is pasted in the chat, the model usually cannot directly access the embedded stream; if one manually downloads and slices it, they must string together ffmpeg, speech recognition, and multimodal image viewing themselves. The video-analysis introduced below is designed for Agent scenarios. It consolidates “reading a video” into a reusable Skill workflow and finally passes the structured understanding to the upper-level Agent, facilitating the execution of tasks described in the video.

What is this

video-analysis is a SkillHub community Skill (located at @user_fa7b15b2/video-analysis, version 1.0.0, category design-media, publisher user_fa7b15b2, source community). Official page: SkillHub - video-analysis, API entry: https://api.skillhub.cn/user_fa7b15b2/video-analysis.

One-sentence positioning: Perform end-to-end understanding of authorized video content—speech-to-text, time-based segmentation and keyframe extraction, optionally using a multimodal model to interpret visuals, and then synthesizing it into a description with timestamps for the Agent to continue reasoning or execute user tasks. The Skill tag indicates requires_api_key=true; when calling external ASR / text / vision models, the user must configure the API Key and endpoint themselves.

Core Features

The following capabilities come from the official introduction and Skill description, corroborating each other. Unfolded configuration item names that do not appear in the materials are not expanded here.

Input Sources

  1. Local video file.
  2. Publicly accessible HTTP(S) direct links (the Skill safely downloads the media).
  3. Single public platform watch pages (e.g., Bilibili, YouTube links), pulled via yt-dlp, without login or Cookie when --allow-platform is explicitly enabled.

As long as the user’s intent is to read, understand, summarize, transcribe, extract chapters or key segments, or ask questions about the video content—even if the user does not explicitly say “video analysis”—this Skill is suitable for enabling.

Processing Pipeline

  1. ASR: Recognize speech and transcribe to text.
  2. ffmpeg: Segment the video and extract keyframes (the official Chinese introduction writes “ffempeg”, meaning segmentation based on ffmpeg).
  3. Optional Vision Model: Perform image understanding on keyframes; the materials state it can connect to user-specified GPT, Grok, or any OpenAI-compatible multimodal model (requires API Key, endpoint, model name).
  4. Secondary Verification: Cross-verify visual recognition results with ASR results to reduce single-modality errors.
  5. Report Synthesis: Use GPT, Grok, DeepSeek, or user-defined text providers to integrate into a structured, timestamped output.

Output and Upstream Integration

The analysis results are delivered to the Agent in the form of “content described in the video”; the upper layer can automatically advance user operation instructions, tutorial steps, or task goals seen in the video based on this, without needing to manually watch the video again.

Installation & Enablement

The currently scraped SkillHub page does not list a unified CLI installation command or step-by-step configuration differentiation for Cursor / Codex CLI / Claude Code. In practice, installation should be completed based on the Skill package and SKILL.md provided on the SkillHub project page, and @user_fa7b15b2/video-analysis should be enabled in the Agent environment.

Due to the tag requires_api_key=true, you need to prepare before enabling:

  • Key for the ASR service used (if the Skill implementation relies on external ASR).
  • Text report synthesis provider (GPT / Grok / DeepSeek or custom OpenAI-compatible endpoint).
  • If enabling keyframe visual interpretation: API Key, endpoint, and model name for the multimodal model.

Do not fabricate specific environment variable field names or configuration file paths if the materials do not provide them; refer to the documentation within the Skill package.

Typical Usage (Process-level)

When the official documentation does not provide a single copy-paste shell example, organize the conversation and parameters according to the Skill’s design intent:

  1. The user provides a local path, direct link URL, or (when platform scraping is allowed) a watch page link, and states the goal: full text transcription, chapter summary, question about a specific time segment, etc.
  2. If the link is an embedded page within a platform rather than a direct link, add --allow-platform on the calling side to retrieve the public stream via yt-dlp.
  3. If visual details are needed (slides, UI demos, diagrams), specify the vision and text model providers and API credentials within the Skill’s allowed scope.
  4. Read the returned timestamp field: align it with the original video for editing, note-taking, or reproducing tutorial steps step-by-step.

The above --allow-platform and input type classification come from the Skill’s English description; ASR, ffmpeg segmentation, multimodality, and secondary verification come from the SkillHub Chinese introduction.

Applicable Scenarios & Notes

Suitable For

  • Developers or creators who need to “understand the video first before acting” in Agent conversations.
  • Tutorial breakdowns, meeting recording summaries, and step extraction for operation-oriented videos.
  • Scenarios that rely on both audio (ASR) and visuals (keyframes + optional vision model).

Limitations & Notes

  1. Authorization & Compliance: Only analyze content that the user has permission to access, either public or local; the platform page mode relies on yt-dlp’s accessibility of public videos; login state, regional restrictions, or copyright protection may lead to failure.
  2. External Dependencies: ffmpeg, yt-dlp (platform mode), ASR, and optional LLMs must be reachable locally or via the network; without them, the pipeline cannot be completed.
  3. API Cost and Latency: Long videos will prolong transcription, frame extraction, and multimodal call times, and incur costs from multiple APIs.
  4. Data Consistency: Statistics like downloads and ratings displayed on the page will change with SkillHub updates; when writing this, the page showed a rating of 100000 and 1001 downloads (numbers may differ from different snapshots, please refer to the official page’s real-time data).

Conclusion

video-analysis strings together “download / extract audio and keyframes -> ASR -> optional image viewing -> cross-validation -> timestamped report” into an Agent-callable Skill, reducing the cost of manually piecing together the toolchain. If you need the installation package, comments, or version history, please visit the official SkillHub page: https://www.skillhub.cn/skills/user_fa7b15b2/video-analysis.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye