Analyze Command
Theanalyze command performs a comprehensive analysis of a video file or YouTube video, combining frame extraction, content analysis, and audio transcription. This provides a complete understanding of the video content.
Usage
Arguments
Options
Examples
Analyze a local video file
Analyze a YouTube video
Analyze with custom frame interval
Analyze with specific transcription model
Output
The command creates a comprehensive directory structure with analysis results:frames/: Directory containing extracted framesmetadata.json: Metadata about the videoanalysis.json: Frame-by-frame analysistranscript.txt: Audio transcriptsummary.json: Overall summary of the video contentvideo.mp4: The downloaded video (if from YouTube)
Analysis Process
Theanalyze command performs the following steps:
- If a YouTube URL is provided, downloads the video
- Extracts frames at the specified interval
- Analyzes each frame using AI vision models
- Extracts and transcribes the audio
- Combines the frame analysis and transcript to create a comprehensive summary
- Saves all results in the output directory
Summary Format
Thesummary.json file contains a comprehensive summary of the video:
Use Cases
Theanalyze command is useful for:
- Content creators analyzing their videos
- Researchers studying video content
- Educators creating accessible materials
- Marketers understanding video engagement
- Archivists cataloging video collections