# How to stream to YouTube using OBS

> Connect OBS to a YouTube Live event, choose encoder settings that match YouTube's recommendations, and check the Live Control Room before and during your stream.

- URL: https://www.vidyst.com/blog/guides/stream-to-youtube-using-obs
- Published: 2026-11-07
- Author: Piyush Garg, Co-Founder & CEO, Vidyst (https://www.piyushgarg.dev/)
- Category: Guides
- Tags: OBS Studio, YouTube, Live streaming
- Reading time: 6 min

## Key takeaways

- Create or schedule the YouTube Live event first, then connect OBS to the event's stream key or authorize your YouTube account in OBS.
- For a straightforward 1080p30 H.264 stream, YouTube recommends CBR at 14 Mbps, a 2-second keyframe interval, and AAC audio.
- Start OBS and wait for YouTube's stream preview and health indicator before you make the event public.

To stream to YouTube using OBS, create a live event in YouTube Studio, connect OBS to its stream key or your channel account, and send a test signal before you go public. YouTube's Live Control Room shows whether the encoder is connected and flags problems with video, audio, bitrate or keyframes.

This guide focuses on the YouTube side of the setup: making the event, linking OBS, choosing YouTube's ingest settings and checking stream health. It assumes OBS is installed and your scene is ready. If you still need to add a camera, screen or microphone, follow OBS's [quick-start guide](https://obsproject.com/kb/quick-start-guide).

## What you need before streaming to YouTube with OBS

You need a YouTube channel that can livestream, OBS with a working scene, and a stable upload connection. Check these before you schedule a show:

- [ ] Live streaming is enabled for your YouTube channel
- [ ] Your channel has no current live-streaming restriction
- [ ] OBS opens the scene and its audio meters move as expected
- [ ] You know which visibility setting you want: Public, Unlisted or Private
- [ ] Your upload speed can sustain your planned video bitrate with room for variation

YouTube says first-time live-stream activation can take up to 24 hours. Its current eligibility rules also require channel verification and no live-streaming restrictions in the past 90 days. Check [YouTube's live-streaming requirements](https://support.google.com/youtube/answer/2474026) before planning your first event.

## Connect OBS to your YouTube channel, step by step

Create the event in YouTube Studio before you connect OBS. That way, you can copy the right stream key and check the incoming preview before viewers see the stream.

### Step 1: Create or schedule a live event in YouTube Studio

Open [YouTube Studio](https://studio.youtube.com/), select **Create** › **Go live**, then create an event or choose one from **Manage**. Add the title, description, visibility and schedule. For a rehearsal, use **Unlisted** or **Private** so you can check the broadcast without announcing a public show.

Open the event's **Stream** settings. YouTube provides the stream URL and a stream key there. A stream key works like a password: anyone who gets it may be able to send a broadcast to your channel.

### Step 2: Connect OBS to YouTube

In OBS, open **Settings** › **Stream** and choose **YouTube - RTMPS** as the service. If OBS offers **Connect Account**, sign in to the YouTube account that owns or manages the channel you want to use.

You can also choose **Use Stream Key**. Copy the key from the event's **Stream** settings in YouTube Studio and paste it into OBS. Do not share it in a screenshot, on stream or in a public chat. If you think it has been exposed, reset it in the Live Control Room and replace the saved key in OBS. YouTube's [stream settings guide](https://support.google.com/youtube/answer/9854503) explains where to find and reset keys.

### Step 3: Choose YouTube-ready video and audio settings

Open **Settings** › **Output** in OBS and set the stream encoder to **H.264** with **CBR** (constant bitrate). Then open **Settings** › **Video** and set the output resolution and frame rate to match the event you intend to run.

For stereo audio, YouTube recommends AAC at 128 Kbps and a 44.1 kHz sample rate. The table shows YouTube's recommended H.264 video bitrates; these are encoder targets, not a promise that every internet connection can sustain them.

| Output | Recommended H.264 video bitrate |
| --- | ---: |
| 720p at 30 fps | 8 Mbps |
| 720p at 60 fps | 8 Mbps |
| 1080p at 30 fps | 14 Mbps |
| 1080p at 60 fps | 17 Mbps |

Set the keyframe interval to **2 seconds**. YouTube recommends a 2-second interval and says not to exceed 4 seconds. Its [encoder settings](https://support.google.com/youtube/answer/2853702) cover other codecs and resolutions if you need them. If your upload speed is inconsistent, lower the output resolution or bitrate and test again instead of setting the bitrate to the maximum speed-test result.

### Step 4: Send a test signal from OBS

In OBS, click **Start Streaming**. Return to the Live Control Room and wait for the incoming preview and health indicator. YouTube may take a short time to identify the feed; don't assume the event is ready just because OBS says it is streaming.

Check that the right scene appears, the audio meter responds, and the Live Control Room preview has both picture and sound. If the event's **Auto-start** setting is off, click **Go Live** in YouTube Studio only after the preview is ready. If Auto-start is on, sending the encoder feed can start the event automatically. YouTube's [live stream settings](https://support.google.com/youtube/answer/9854503) explain that auto-start and auto-stop let you start and stop from the encoder.

### Step 5: Monitor the broadcast while you are live

Keep the Live Control Room open during the show. Watch the health indicator and its messages, check that the preview continues to move, and listen for audio problems on a separate device if possible.

YouTube labels red messages as critical and yellow messages as moderate. Each message has a timestamp; if the same warning keeps returning, fix the encoder setting or connection it names rather than dismissing it. When you finish, stop the stream from OBS if **Auto-stop** is on. If it is off, stop the encoder and then end the event in YouTube Studio.

## What to check when YouTube reports a stream health problem

YouTube's health message usually points to a specific mismatch between what OBS sends and what the event expects. Read the full message and its timestamp in the Live Control Room before changing settings.

- **No data from encoder:** Check that OBS is streaming, the selected YouTube account or key is correct, and the event is open in the Live Control Room. If you changed the service or key, stop and start streaming again from OBS.
- **Incorrect stream key:** Copy the key from the event you actually selected. A key from a different event may send your feed to the wrong live stream. Reset a key only if you suspect it has been exposed.
- **Incorrect bitrate:** Match OBS's output resolution and bitrate to the event's ingestion settings. YouTube's [bitrate table](https://support.google.com/youtube/answer/2853702) lists the current targets by codec, resolution and frame rate.
- **Incorrect video format or codec:** For the basic setup in this guide, use H.264 video, AAC audio, one video stream and one audio stream. YouTube lists format and codec problems in its [live-stream error guide](https://support.google.com/youtube/answer/3006768).
- **Keyframe or frame-rate warning:** Set a 2-second keyframe interval and make sure the frame rate in OBS is within YouTube's limit for the event.
- **Dropped frames or a stuttering preview:** The connection may not be sustaining the configured bitrate. Lower the bitrate or resolution, pause large uploads on the same network, and test again.
- **The preview is silent:** In OBS, watch the Audio Mixer while speaking or playing the sound you intend to share. Confirm the right mic or source is selected and not muted.

YouTube checks the incoming stream for errors, but it cannot tell you whether your framing, presentation or mic sound is good to watch. Make a short Unlisted test and review the playback yourself before an important show.

## Before you end the stream

Confirm that the event is actually live in the Live Control Room before telling viewers to join. After the show, stop the encoder and verify that the event has ended; leaving a scheduled event running can confuse viewers and your next broadcast.

If you plan to use OBS for other destinations, compare what OBS does well and where it needs extra setup in [Vidyst vs OBS](https://www.vidyst.com/vidyst-vs-obs), or browse our [Mac streaming app comparisons](https://www.vidyst.com/compare).

## FAQ

### How do I connect OBS to my YouTube channel?

In OBS, open Settings › Stream, choose YouTube - RTMPS, and either connect your YouTube account or enter a stream key from YouTube Studio's Live Control Room.

### What OBS bitrate should I use for YouTube?

YouTube recommends 14 Mbps for H.264 at 1080p30 and 8 Mbps at 720p30. Choose a lower resolution or bitrate if your upload connection cannot sustain the recommended setting.

### Why does YouTube say there's no data from my encoder?

Make sure OBS is streaming to the right YouTube service and event, then check that the stream key and server URL match the Live Control Room. Stop and restart OBS after changing connection settings.

### Can I test an OBS stream without making it public?

Yes. Use an Unlisted or Private YouTube live event, or turn off auto-start so OBS can send a preview before you click Go Live in the Live Control Room.

### What does YouTube's stream health indicator mean?

It reports problems YouTube detects in the incoming encoder feed. Read the timestamped message next to the indicator; red errors are critical, while yellow errors warn of moderate issues.

## About the author

**Piyush Garg**, Co-Founder & CEO, Vidyst. Co-founder and CEO of Vidyst. Builds streaming tools for creators who go live from a Mac, and streams coding sessions himself.

- X: https://x.com/piyushgarg_dev
- Website: https://www.piyushgarg.dev/
- LinkedIn: https://www.linkedin.com/in/piyushgarg195

---

Published by [Vidyst](https://www.vidyst.com) on Nov 7, 2026. Canonical page: https://www.vidyst.com/blog/guides/stream-to-youtube-using-obs
