# Setting Output Resolution & Frame Rate

Each multiview output can have its own resolution and frame rate. This can be changed via the API or through the web interface.

## Web UI

<figure><img src="/files/CvPvywdMpoko1eEffKfA" alt=""><figcaption><p>The resolution &#x26; frame rate adjustments are along the right-hand toolbar.</p></figcaption></figure>

### Change Resolution in the Web UI

1. Select the multiview output you want to edit.
2. Click *Edit Layout*
3. Under the resolution section on the right, set the **Width** and **Height** of your viewer - or select a size template.
4. Click *Set New Dimensions*.&#x20;

The multiview will take on the dimensions you provide.

{% hint style="warning" %}
**Caution**: The multiview will not automatically scale your sources or captions. It is up to you to update your layout. Future versions may include a scaling feature.
{% endhint %}

### Change the Frame Rate

1. Select the multiview output you want to edit.
2. Click *Edit Layout*
3. Under the frame rate section on the right, set the **frame rate numerator** and **frame rate denominator** of your viewer - or select an FPS template.
   1. Example 1: For 60fps, enter 60 as your numerator, and 1 as your denominator.
   2. Example 2: For 59.94fps, enter 60000 as your numerator, and 1001 as your denominator.
4. Click *Set New Framerate*.&#x20;

The multiview will take on the frame rate you provide.

{% hint style="info" %}
**Note:** A lower frame rate gives Multiview for NDI more time to realize each frame. If you're using a slower computer, consider reducing the frame rate to 30 fps.
{% endhint %}

## HTTP API

### Change Resolution using the HTTP API

Using the API, compose a `GET` request to `http://[host]:8901/viewer/{viewerNum}/resolution/{width}/{height}`.

For example, the following will change the first viewer's resolution to 3840x2160.

`http://localhost:8901/viewer/0/resolution/3840/2160`

### Change Frame Rate using the HTTP API

Using the API, compose a `GET` request to `http://[host]:8901/viewer/{viewerNum}/fps/{num}/{den}`.

For example, the following will change the first viewer's frame rate to 59.94 fps.

`http://localhost:8901/viewer/0/fps/60000/1001`&#x20;


---

# 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://tractus.gitbook.io/tractus-tools-for-ndi/getting-started/setting-output-resolution-and-frame-rate.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.
