← Back to Skills Marketplace
tomuiv

Local Video Understanding

by TOMUIV · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
102
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install local-video-understanding
Description
Local video comprehension skill. Use ffmpeg to extract audio and frames, FunASR for speech recognition, and qwen3-vl for image understanding.
README (SKILL.md)

⚠️ If you are human, please read README.md first!


Local Video Understanding

Use this skill when you need to understand the content of a video.

Prerequisites

  • FunASR conda environment (asr-local) must be activated for audio processing
  • Ollama must be running with qwen3-vl:8b model available
  • ffmpeg must be in PATH

Workflow

Step 1: Extract Audio

ffmpeg -i "video.mp4" -vn -acodec pcm_s16le -ar 16000 -ac 1 "audio.wav" -y

Note: If path contains Chinese characters, copy audio.wav to a path without Chinese characters before ASR.

Step 2: Extract Key Frames

mkdir frames
ffmpeg -i "video.mp4" -vf "fps=1/10" -q:v 2 "frames/frame_%03d.jpg" -y

Step 3: Speech Recognition (FunASR)

conda run -n asr-local python -c "
import os
os.environ['MODELSCOPE_CACHE'] = 'C:/Users/TOM/.cache/modelscope'
from funasr import AutoModel
model = AutoModel(
    model='iic/speech_seaco_paraformer_large_asr_nat-zh-cn-16k-common-vocab8404-pytorch',
    model_revision='v2.0.4',
    disable_update=True,
    ncpu=4
)
result = model.generate(input='AUDIO_PATH')
print(result)
"

Step 4: Image Understanding (qwen3-vl)

ollama run qwen3-vl:8b "Describe this image in detail: /path/to/frame.jpg"

Step 5: Combine Results

  • Audio transcription → FunASR (local, Chinese speech recognition)
  • Key frames → qwen3-vl:8b via Ollama (local image understanding)
  • Summary/Analysis → Cloud LLM API (if needed)

Important Notes

  • Image reading via Read tool does NOT provide image understanding - always use qwen3-vl
  • For Chinese audio, FunASR is preferred over Whisper
  • Check for existing subtitle files (.txt, .srt, .vtt) before running ASR
  • Modelscope cache at C:/Users/TOM/.cache/modelscope for FunASR models
Usage Guidance
This skill appears coherent for local video processing, but review these before installing/using: 1) It runs local commands (ffmpeg, conda python, ollama) and reads/writes files (audio.wav, frames/*); run it only on machines you control. 2) Models are auto-downloaded on first use—ensure you trust the model sources and have disk/network capacity. 3) Update the MODELSCOPE_CACHE path in the Python snippet to a directory that exists for your user instead of the hard-coded C:/Users/TOM path. 4) The README mentions using a cloud LLM for summaries — avoid sending sensitive video data to cloud services unless you understand and accept the privacy implications. 5) If you need higher assurance, verify the exact FunASR and Ollama model sources and pull them manually before running.
Capability Analysis
Type: OpenClaw Skill Name: local-video-understanding Version: 1.0.2 The skill provides a workflow for local video analysis using ffmpeg, FunASR, and Ollama. While SKILL.md contains a hardcoded user-specific path (C:/Users/TOM/.cache/modelscope) which is a configuration artifact from the author's environment, there is no evidence of malicious intent, data exfiltration, or unauthorized execution. The instructions are consistent with the stated purpose of video comprehension.
Capability Assessment
Purpose & Capability
The name/description (local video understanding) matches the instructions: ffmpeg for extraction, FunASR for ASR, and qwen3-vl via Ollama for image understanding. Required tools mentioned in the README/SKILL.md are exactly what the workflow needs.
Instruction Scope
Instructions are concrete and narrowly scoped to extracting audio/frames, running FunASR in a conda env, and calling Ollama for image understanding. They do reference local files and paths (frames, audio.wav) and set a MODELSCOPE_CACHE path inside the Python snippet (hard-coded Windows path). They also mention optionally using a 'Cloud LLM API' for summaries without specifying which service—this could lead to data being sent off-device if the operator chooses to do so.
Install Mechanism
This is an instruction-only skill with no install spec or downloaded archives. The README notes that models are auto-downloaded on first use (FunASR/ModelScope and pulling qwen3-vl via Ollama), which is expected for local models but requires network access and disk space.
Credentials
No environment variables or credentials are declared. The SKILL.md does set MODELSCOPE_CACHE inside the Python snippet to a specific Windows user path (C:/Users/TOM/.cache/modelscope), which is odd and non-portable but not a secret-exfiltration pattern. The workflow may require internet for initial model downloads and the README suggests possible later use of a cloud LLM for summaries—this is the main privacy-related consideration.
Persistence & Privilege
The skill does not request always:true or any elevated/persistent platform privileges, nor does it modify other skills' configs. It is user-invocable and relies on local binaries and environments.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install local-video-understanding
  3. After installation, invoke the skill by name or use /local-video-understanding
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
Fix README structure to match actual files
v1.0.1
Add human warning, proper casing
Metadata
Slug local-video-understanding
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Local Video Understanding?

Local video comprehension skill. Use ffmpeg to extract audio and frames, FunASR for speech recognition, and qwen3-vl for image understanding. It is an AI Agent Skill for Claude Code / OpenClaw, with 102 downloads so far.

How do I install Local Video Understanding?

Run "/install local-video-understanding" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Local Video Understanding free?

Yes, Local Video Understanding is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Local Video Understanding support?

Local Video Understanding is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Local Video Understanding?

It is built and maintained by TOMUIV (@tomuiv); the current version is v1.0.2.

💬 Comments