popcorn_analyze
Analyze videos by extracting keyframes and transcripts. Use presets for video type and objective to optimize results for summaries, details, or specific moments.
Instructions
Analyze a video file. Extracts keyframes and transcripts. RECOMMENDED: First use popcorn_suggest to get optimal settings, or specify videoType and objective to use smart presets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the video file. | |
| model | No | Whisper model: tiny, base, small, medium, large. | |
| outDir | No | Output directory for analysis bundle. | |
| backend | No | Transcription backend. 'auto' picks the best available. Options: whisper (OpenAI, most compatible), whisper-cpp (fast C++), mlx-whisper (Apple Silicon optimized), faster-whisper (GPU accelerated). | |
| language | No | Transcription language code (e.g., 'en'). | |
| frameMode | No | Override: 'scene' detects visual changes, 'interval' uses fixed timing. | |
| maxFrames | No | Override: maximum frames to extract. | |
| objective | No | What you want to accomplish. Options: summary (quick overview), detailed (thorough analysis), find_moment (searching for something specific), transcribe (focus on audio), visual_only (no transcription), quick_scan (fast preview). | |
| videoType | No | Type of video content. This auto-configures optimal settings. Options: screencast (UI recordings, tutorials), presentation (slides, lectures), movie (films, TV), interview (podcasts, talking heads), surveillance (security footage), sports (live action). | |
| transcribe | No | Override: whether to transcribe audio. | |
| framesPerMin | No | Override: frames per minute (interval mode). | |
| inlineFrames | No | Override: frames to return as base64 in response. | |
| maxChunkChars | No | Override: transcript chunk size. | |
| sceneThreshold | No | Override: scene sensitivity 0-1 (lower = more frames). | |
| minSceneInterval | No | Override: minimum seconds between scene frames. | |
| maxTranscriptChars | No | Override: transcript excerpt length. |