Interface: VideoAnalysisRich
Defined in: packages/agentos/src/core/video/types.ts:494
Rich video analysis result with full scene descriptions, summary, transcript, and optional RAG chunk references.
This is a richer version of the base VideoAnalysis type that includes SceneDescription scenes (with cut types, confidence, key frames), a generated summary, and optional RAG indexing metadata.
Example
const analysis: VideoAnalysisRich = await videoAnalyzer.analyze(request);
console.log(`${analysis.sceneCount} scenes in ${analysis.durationSec}s`);
for (const scene of analysis.scenes) {
console.log(`[${scene.startSec}s-${scene.endSec}s] ${scene.description}`);
}
Properties
durationSec
durationSec:
number
Defined in: packages/agentos/src/core/video/types.ts:496
Total video duration in seconds.
fullTranscript?
optionalfullTranscript:string
Defined in: packages/agentos/src/core/video/types.ts:515
Full transcript of all audio in the video, when transcription was enabled. Concatenation of all scene transcripts with timestamp markers.
metadata
metadata:
Record<string,unknown>
Defined in: packages/agentos/src/core/video/types.ts:529
Additional metadata about the analyzed video. Provider-specific information that doesn't fit into the structured fields above.
ragChunkIds?
optionalragChunkIds:string[]
Defined in: packages/agentos/src/core/video/types.ts:522
IDs of RAG vector store chunks created from this analysis. Only populated when VideoAnalyzeRequestRich.indexForRAG was enabled.
sceneCount
sceneCount:
number
Defined in: packages/agentos/src/core/video/types.ts:499
Number of scenes detected.
scenes
scenes:
SceneDescription[]
Defined in: packages/agentos/src/core/video/types.ts:502
Ordered list of all detected scenes with rich descriptions.
summary
summary:
string
Defined in: packages/agentos/src/core/video/types.ts:508
Overall summary of the video content, generated by an LLM from the scene descriptions and transcript.