360 Secure SkillHub
360 安全技能中心

VidIQ - Video Intelligence

通过 shell 脚本调用 ffmpeg 与 yt-dlp,对 YouTube、TikTok、Instagram、X 或本地视频执行元信息查询、均匀抽帧、指定时间点抽帧、片段裁剪、GIF 生成、音频提取、场景变化检测与拼图;下载与抽帧结果缓存到临时目录,并建议将提取的帧交给视觉模型做内容理解。

分类:创作
cassh100k
cassh100k
热度 42.02
最近更新 2026-05-17 13:45:53

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cassh100k/vidiq
兼容性
通用兼容
联网要求
需要联网
数据出网
可选出网
Metadata
name
vidiq
description
AI-powered video intelligence - download, analyze, clip, GIF from any URL. Supports YouTube, TikTok, Instagram, X. Uses ffmpeg + yt-dlp.
metadata
{"openclaw":{"emoji":"🎬","requires":{"bins":["ffmpeg","yt-dlp"]}}}

VidIQ - Video Intelligence & Query Tool

Download, understand, and manipulate any video from a URL.

Commands

# Video info (duration, resolution, codecs)
{baseDir}/scripts/vidiq.sh <url_or_path> info

# Extract N frames evenly spaced
{baseDir}/scripts/vidiq.sh <url_or_path> frames 10

# Single frame at timestamp
{baseDir}/scripts/vidiq.sh <url_or_path> frame 01:30:00

# Clip between timestamps
{baseDir}/scripts/vidiq.sh <url_or_path> clip 01:01:01 01:20:01 output.mp4

# Create GIF (start time, duration in seconds)
{baseDir}/scripts/vidiq.sh <url_or_path> gif 00:45:00 5

# Extract audio as MP3
{baseDir}/scripts/vidiq.sh <url_or_path> audio

# Detect scene changes
{baseDir}/scripts/vidiq.sh <url_or_path> scenes 0.3

# Visual mosaic (columns, total frames)
{baseDir}/scripts/vidiq.sh <url_or_path> mosaic 4 16

AI Analysis Workflow

  1. Extract frames: vidiq.sh <url> frames 10
  2. Feed frames to vision model for content understanding
  3. Answer questions about the video based on frame analysis

Supported Platforms

YouTube, TikTok, Instagram, X/Twitter, any direct video URL, local files.

Notes

  • Downloaded videos are cached in /tmp/vidiq/ for reuse
  • Frames output to /tmp/vidiq/frames_*/
  • For long videos, extract more frames for better coverage
  • GIFs are optimized with palette generation for small file size