# Scene Detection in Video

### **Video Scene Detection Feature**

**The Scene Detection Video** feature allows the system to automatically split a video into multiple smaller segments based on the faces detected in the vide&#x6F;**.**&#x20;

With video scene detection feature, users can:

* View all segments generated from the original video.
* Download individual segments.
* Edit each segment independently (similar to the Video Editor on the Asset Detail page) and save it as a new version or a new asset.
* Merge the segments into a new video and edit it (similar to the Video Editor on the Asset Detail page), then save it as a new version or a new asset.

👉 **Note: Scene Detection only works if** [**Face Detection** ](https://support.hivo.co/recognition/run-automation-recognition)**has already been processed** on the video.

### **How to use Scene Detection in Video**

#### 🔹 **Step 1: Run Scene Detection in Video**

* On the video toolbar, click the **Scene Detection icon**.
* When clicked, the system opens the **Scene Detection Dialog**.

<figure><img src="https://2446612760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0sjg5GpIPr5HzBTJYqYe%2Fuploads%2FiLVizJamxSkKEExjR7Ey%2FGroup%20896.png?alt=media&#x26;token=640012c7-82ec-48a8-8dd8-936d65513d74" alt=""><figcaption></figcaption></figure>

#### 🔹 **Step 2: Select a Person for Segment Generation**

Inside the Scene Detection Dialog:

* **View Detected Faces**
  * The system displays **all faces detected** by Face Detection.
  * Each detected face is shown as a **thumbnail** for selection.
* **Select a Person**
  * Select any person from the list.
  * The system analyzes the video and automatically splits it into small segments each time the selected face appears.

<figure><img src="https://2446612760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0sjg5GpIPr5HzBTJYqYe%2Fuploads%2FV0jaRXXlGJ2kDyUlgyiL%2FGroup%20897.png?alt=media&#x26;token=0aa3eef3-28d7-480e-ad1e-61004f857f7b" alt=""><figcaption></figcaption></figure>

#### 🔹 **Step 3: Automatic Segment Generation**

After video analysis:

* **System-Generated Segments:** A new segment is created every time the selected face appears in the video.
* Each segment includes:
  * **Start time** — when the face first appears
  * **End time** — when the face disappears
  * **Duration** — the length of the segment
* **Segment List:** All segments are displayed in the interface for users to review and manage.

#### 🔹 **Step 4: Segment Actions**

For each generated segment, users can:

* **Play Segment:** Preview the segment to verify its content.
* **Download Segment:** Download the trimmed segment.
* **Merge all Segments**

<figure><img src="https://2446612760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0sjg5GpIPr5HzBTJYqYe%2Fuploads%2FuDZJbP6qfP7Ym5zBVIfi%2FGroup%20899.png?alt=media&#x26;token=c6783585-1393-4b26-9254-97f21ca33bd7" alt=""><figcaption></figcaption></figure>

* **Edit Segment:** Adjust the start and end timestamps. The editing interface is similar to the[ **Video Editor** ](https://support.hivo.co/video/video-editor)in Asset Detail. After editing, users can choose to:
  * **Save as new version**
  * **Save as new asset**

<figure><img src="https://2446612760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0sjg5GpIPr5HzBTJYqYe%2Fuploads%2F3lyxuQuZvOaD46sfA8zm%2FGroup%20902.png?alt=media&#x26;token=7ec83958-2359-4708-bed8-7461623cbaae" alt=""><figcaption></figcaption></figure>

#### 🔹 **Step 5: Merge all Segment & Edit**&#x20;

* **Merge All Segments:** Users can merge all generated segments into a single video. The system creates a new combined video file.
* **Edit the Merged Video:**&#x20;
  * After merging, the merged video can be edited using the Video Editor tools include: **TRIM, CROP, FILTER, add LAYER, SETTINGS out put.**&#x20;
  * The interface works the same as the standard [**Video Editor**](https://support.hivo.co/video/video-editor)**.**

<figure><img src="https://2446612760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0sjg5GpIPr5HzBTJYqYe%2Fuploads%2Fj2UaczZ18pQxw1VQSSai%2FGroup%20903.png?alt=media&#x26;token=7ea9d8bb-e678-4bc9-aeee-a8f8649db5d9" alt=""><figcaption></figcaption></figure>

#### 🔹 **Step 6: Save the Merged Video**

Users can choose how to save:

* **Save as new version:** Create a new version of the original video.
* **Save as new asset:** Save the merged video as a completely new asset in the library.

If you have any questions, don't hesitate to ask, we're always here to help!
