Skip to main content

What is Scene Detection?

Scene detection is a technique used in video processing to identify and separate different scenes within a video. This is particularly useful for tasks such as video summarization, content analysis, and ad insertion. The path to use scene detection:

Running Scene Detection

To run scene detection:
Scene detection can only be run on one video at a time. If you need to process multiple videos, you will need to run the scene detection function for each video separately.

Scene Detection Response Format

The response of scene detection follows:
object
JSON object (returned as a string) that contains the [output][scenes]
List[object]
List of scene objects detected in the video
Where a scene item is made out of:
integer
Sequential identifier for the scene
Example:

Scene Detection Complete Example

A complete example over an entire index:

Scene Detection JSON

Workflows are in a private beta. Please contact us at team@usemoonshine.com to request access.
string
required
Name/ID of the parent index of the video being processed.
string
required
ID of the video being processed.