NEWVectors or files. Pick a path.Start →
    Back to DiagramsVideo Understanding

    Scene Segmentation: How a Video Becomes Searchable Scenes

    A raw video has no scenes. Two levels of boundary detection turn 108,000 frames an hour into a handful of searchable segments.

    Scene segmentation turns a continuous video into searchable segments in two levels. First, shot boundary detection compares consecutive frames: a hard cut spikes a histogram difference (over 1000 fps on CPU), while dissolves and fades spread the change across many frames, so adaptive detectors flag a boundary when the score beats a rolling local mean by 2 to 3 sigma. Second, shots group into scenes, where a shot is one continuous camera take and a scene is a semantic unit that can span many shots. Cleanup rules merge segments under 2 seconds into their nearest neighbor and split segments over 60 seconds at audio silence. The scene becomes the retrieval unit: one embedding per scene instead of per frame, results that carry start and end timestamps, and storage down 10 to 100x.
    A raw video has no scenes. Two levels of boundary detection turn 108,000 frames an hour into a handful of searchable segments.

    A raw video file has no scenes. It is a continuous stream of pixels and audio samples, 108,000 frames per hour at 30 fps, with no natural boundaries until something draws them. You cannot run search on that directly: embedding every frame is wasteful and redundant, because neighbors inside a shot are nearly identical.

    So the pipeline draws boundaries in two levels. First, shot boundary detection compares consecutive frames and watches the difference signal. A hard cut produces one sharp spike that a simple histogram comparison catches at over 1000 fps on a CPU. A dissolve or fade spreads the change across many frames, so no single frame pair clears a fixed threshold; adaptive detectors keep a rolling window of recent scores and flag a boundary when the current score beats the local mean by 2 to 3 sigma. Second, shots group into scenes. A shot is one continuous camera take; a scene is a semantic unit that can span many shots, like a conversation that cuts between two camera angles. Cleanup rules keep the segments useful: anything under 2 seconds merges into its more similar neighbor, anything over 60 seconds splits at audio silence.

    The scene is the retrieval unit. You get one embedding per scene instead of per frame, results that carry start and end timestamps, and storage down 10 to 100x. Every downstream capability, from frame sampling to temporal grounding, assumes this step already ran.

    Where this diagram appears

    Run this on your own data

    Mixpeek turns video, images, audio, and documents in your object storage into searchable, timestamped results through one API.

    Search your own data, free