# OBS Setup Config

Setting up OBS Studio can feel like navigating a cockpit, but getting your **Keyframe Interval** right is one of the most effective ways to ensure your stream doesn't turn into a slideshow for your viewers.

Here is your streamlined setup guide based on industry standards

***

## 🛠️ Step-by-Step: Setting the Keyframe Interval

To get the most stable stream on Twitch, YouTube, or Facebook, follow these steps to lock in that 2-second interval:

1. **Open Settings:** Navigate to **File > Settings** in the top-left corner of OBS Studio.
2. **Go to Output:** Click the **Output** tab on the left-hand sidebar.
3. **Switch to Advanced:** Change the **Output Mode** dropdown at the top from "Simple" to **Advanced**. This unlocks the specific encoder settings you need.
4. **Locate Keyframe Interval:** Under the **Streaming** tab, look for the box labeled **Keyframe Interval (0=auto)**.
5. **Enter the Value:** Delete the 0 and type **2**. Ensure the unit is set to \*\* seconds\*\* (or **s**).
6. **Save:** Click **Apply** and then **OK**.

***

## 💡 Why the "2-Second Rule" Matters

A keyframe (or I-frame) is a complete image. The frames in between only store the *changes* from that image. If you don't send a full image often enough, things break.

| **Feature**       | **Impact of 2s Interval**                                                                      |
| ----------------- | ---------------------------------------------------------------------------------------------- |
| **Join Time**     | Viewers see your stream almost instantly instead of waiting for the next "full" frame to load. |
| **Stability**     | Reduces "smearing" artifacts and playback errors on mobile devices.                            |
| **Compatibility** | Meets the strict ingest requirements for Twitch and YouTube Live.                              |

***

## ⚠️ Pro-Tips & Common Pitfalls

### Don't Leave it at "0"

While "0" sounds like it might be "best," in OBS it stands for **Auto**. Most platforms struggle with Auto because it often defaults to 8 seconds or more. This leads to massive lag and "Source Not Available" errors for your viewers.

### When to use 1 Second?

If you are streaming extremely fast-paced content (like a high-motion racing sim or a flick-heavy FPS) at a very high bitrate, a **1s interval** can sometimes improve clarity, but **2s** remains the golden standard for 99% of creators.

###

| **Upload Speed** | **Recommended Max Bitrate** | **Recommended Resolution** |
| ---------------- | --------------------------- | -------------------------- |
| **10+ Mbps**     | 6,000 Kbps                  | 1080p 60fps                |
| **8 Mbps**       | 4,500 - 5,000 Kbps          | 1080p 30fps or 720p 60fps  |
| **5 Mbps**       | 3,000 - 3,500 Kbps          | 720p 30fps                 |


---

# 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://eventx-hq.gitbook.io/knowledge-base/livestream/setup-and-config/obs-setup-config.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.
