Install
openclaw skills install @safety1956/video-analyzerAnalyze video files by extracting keyframes with ffmpeg and using vision to understand content. Supports single and batch processing.
openclaw skills install @safety1956/video-analyzerAnalyze video content using ffmpeg frame extraction + vision AI. Supports single files, batch processing, and structured reports.
ffmpeg installed (pkg install ffmpeg in Termux, or apt install ffmpeg)Single video frame extraction.
bash scripts/extract_frames.sh <video_path> <output_dir>
Outputs frame file paths (one per line). Density adapts to duration:
5 min → 1 frame / 15 s, max 40
Batch video processing with metadata extraction.
bash scripts/analyze_batch.sh <video_file_or_directory> [output_dir]
For each video, outputs:
metadata.txt — duration, resolution, codec, sizeframe_XXX.jpg — extracted keyframesimage tool with prompt: "Describe this video's content based on these keyframes"## Video Analysis Report
**File:** <filename>
**Duration:** <duration> | **Resolution:** <WxH> | **Size:** <size>
### Content Summary
<concise description of what happens in the video>
### Key Observations
- <observation 1>
- <observation 2>
- <observation 3>
rm -rf <output_dir>/sdcard/Movies/, /sdcard/DCIM/Camera/, /sdcard/Pictures/WeiXin/, /sdcard/Pictures/QQ/ffmpeg -i <video> -vn -acodec pcm_s16le -ar 16000 output.wav