본문으로 건너뛰기
Skillpedia
영상 편집75k · #2700

video-understand

하는 일

이 스킬은 영상을 정지 프레임과 텍스트 전사로 나눠서, AI가 영상의 내용과 말을 검토할 수 있게 합니다. 영상을 어디에도 업로드하지 않고 내용을 알고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓영상이 있고 무슨 일이 일어나는지 요약이 필요할 때.
  • ✓영상에서 말한 내용을 글로 옮긴 전사가 필요할 때.
  • ✓핵심 순간에서 뽑은 정지 이미지를 검토하고 싶을 때.

스킬 링크

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/video-understand/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/video-understand/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 영상에서 무슨 일이 일어나는지 알려 주고, 사람들이 하는 말도 전사해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 ffmpeg로 장면이나 프레임을 설정된 간격에 따라 골라내고, Whisper라는 음성 인식 도구로 오디오를 받아 적습니다. 결과는 JSON 파일로 저장됩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

video-understand

Understand video content locally using ffmpeg for frame extraction and Whisper for transcription. Fully offline, no API keys required.

Prerequisites

  • ffmpeg + ffprobe (required): brew install ffmpeg
  • openai-whisper (optional, for transcription): pip install openai-whisper

Commands

# Scene detection + transcribe (default)
python3 skills/video-understand/scripts/understand_video.py video.mp4

# Keyframe extraction
python3 skills/video-understand/scripts/understand_video.py video.mp4 -m keyframe

# Regular interval extraction
python3 skills/video-understand/scripts/understand_video.py video.mp4 -m interval

# Limit frames extracted
python3 skills/video-understand/scripts/understand_video.py video.mp4 --max-frames 10

# Use a larger Whisper model
python3 skills/video-understand/scripts/understand_video.py video.mp4 --whisper-model small

# Frames only, skip transcription
python3 skills/video-understand/scripts/understand_video.py video.mp4 --no-transcribe

# Quiet mode (JSON only, no progress)
python3 skills/video-understand/scripts/understand_video.py video.mp4 -q

# Output to file
python3 skills/video-understand/scripts/understand_video.py video.mp4 -o result.json

CLI Options

Flag Description
video Input video file (positional, required)
-m, --mode Extraction mode: scene (default), keyframe, interval
--max-frames Maximum frames to keep (default: 20)
--whisper-model Whisper model size: tiny, base, small, medium, large (default: base)
--no-transcribe Skip audio transcription, extract frames only
-o, --output Write result JSON to file instead of stdout
-q, --quiet Suppress progress messages, output only JSON

Extraction Modes

Mode How it works Best for
scene Detects scene changes via ffmpeg select='gt(scene,0.3)' Most videos, varied content
keyframe Extracts I-frames (codec keyframes) Encoded video with natural keyframe placement
interval Evenly spaced frames based on duration and max-frames Fixed sampling, predictable output

If scene mode detects no scene changes, it automatically falls back to interval mode.

Output

The script outputs JSON to stdout (or file with -o). See references/output-format.md for the full schema.

{
  "video": "video.mp4",
  "duration": 18.076,
  "resolution": {"width": 1224, "height": 1080},
  "mode": "scene",
  "frames": [
    {"path": "/abs/path/frame_0001.jpg", "timestamp": 0.0, "timestamp_formatted": "00:00"}
  ],
  "frame_count": 12,
  "transcript": [
    {"start": 0.0, "end": 2.5, "text": "Hello and welcome..."}
  ],
  "text": "Full transcript...",
  "note": "Use the Read tool to view frame images for visual understanding."
}

Use the Read tool on frame image paths to visually inspect extracted frames.

References

  • references/output-format.md -- Full JSON output schema documentation
자주 묻는 질문

인터넷 연결이나 API 키가 필요한가요?

아니요. 스킬은 오프라인으로 작동하며 API 키가 필요 없다고 설명합니다.

전사는 꼭 필요한가요?

아니요. 전사를 건너뛰고 프레임만 추출할 수 있습니다.

결과는 어떤 형식인가요?

출력은 JSON 파일로 저장되며, 저장 위치는 직접 고를 수 있습니다.

상세 정보

작성자의 원본 설명

Understand video content locally using ffmpeg frame extraction and Whisper transcription. No API keys needed. Use when: (1) Understanding what a video contains, (2) Transcribing video audio locally, (3) Extracting key frames for visual analysis, (4) Getting video content without API keys.

repo: calesthio/OpenMontage

인기도

GitHub 스타
75k
순위
#2700
라이선스
AGPL-3.0
업데이트
2026. 10. 28.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬