# NDI

## NDI Setup Guide

NDI allows you to send your screen wirelessly over your local network to the PC running SpectraAI.

### 1. Prerequisites

Before starting, ensure you have OBS Studio installed.

1. **Download OBS:** [Official OBS Website](https://obsproject.com/)
2. **Download DistroAV:** Visit the [DistroAV GitHub Releases](https://github.com/DistroAV/DistroAV/releases/tag/6.1.1) and download **`distroav-6.1.1-windows-x64-Installer.exe`**.

### 2. Installation

1. Install OBS Studio (if not already installed).
2. Run the **DistroAV Installer**.
3. Open OBS Studio.
4. **Important:** Upon opening OBS, you will be prompted to install **NDI Runtimes**.
   * Click the prompt to download the file.
   * Install the downloaded Runtimes.
   * **Restart OBS** for the changes to take effect.

### 3. OBS Video Configuration

You must configure the video output to match the AI's requirements.

1. Go to **Settings > Video**.
2. **Base (Canvas) Resolution:** Set to `640x640` or what shown in the table in Capture Methods
3. **Output (Scaled) Resolution:** Set to `640x640`.
4. **Common FPS Values:** Change this to **Fractional FPS Value**.
   * **Numerator:** `120` (Minimum)
   * **Denominator:** `1`
5. Click **Apply** and **OK**.

### 4. Scene Setup

1. In the **Scenes** box, create a new Scene.
2. In the **Sources** box, click `+` and select **Display Capture**.
3. Select your primary gaming monitor and click **OK**.
4. **Center the Source:** Press `CTRL` + `D` on your keyboard. This ensures the capture is perfectly centered.
5. **Lock Preview:** Right-click strictly on the video preview area and select **Lock Preview** (this prevents accidental movement).

### 5. Activate NDI Output

1. In the top menu bar, go to **Tools > Distro AV NDI**.
2. Check the box labeled **Main Output**.
3. Click **OK**.

Your screen is now broadcasting via NDI. You can now select "NDI" in the SpectraAI menu.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://spectra-2.gitbook.io/spectra-ai/use/capture-methods/ndi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
