How To Setup OBS For Streaming
OBS Studio is free, open source software for recording and live streaming, and the current release is version 33.0.3. Setting it up for YouTube means pairing a stream key from YouTube Studio with encoder settings YouTube actually recommends. This guide walks through the whole process on desktop, covers mobile options, and fixes the common failure points.
What Do You Need Before You Start?
You need three things: OBS Studio installed from obsproject.com, a YouTube channel cleared for live streaming, and an upload connection fast enough for your target bitrate. OBS runs on Windows 10/11, macOS 13.0 or newer, and Linux. YouTube requires a verified channel, an account holder at least 16 years old, and no live streaming restrictions in the past 90 days.
The channel requirement trips up more newcomers than the software does. First-time live streaming enablement on YouTube can take up to 24 hours to activate, so start this step a day before you plan to broadcast. Once enabled, subsequent streams go live instantly.
Download OBS only from the official OBS site. The OBS Quick Start Guide walks through first launch, where the Auto-Configuration Wizard appears and proposes settings based on your hardware and network. You can rerun it anytime from the Tools menu. Treat its output as a starting point, not a final answer.
For hardware context, our streaming setup guide covers cameras, mics, and lighting as a package. If a separate microphone matters most, a lavalier mic is a cheap first upgrade, and studio mics round out the options at the top end.
Minimum Checklist
| Item | Requirement | Where To Verify |
|---|---|---|
| OBS Studio | Version 33.0.3, Windows 10/11, macOS 13.0+, or Linux | obsproject.com |
| YouTube channel | Verified, no restrictions in past 90 days, age 16+ | YouTube Studio settings |
| Live streaming enabled | Up to 24 hours wait on first activation | YouTube Help |
| Upload bandwidth | Comfortably above your target bitrate | Run a speed test |
| Stream key | Copied from Live Control Room, Stream tab | YouTube Studio |
Note the upload requirement. YouTube recommends 17 Mbps bitrate for 1080p at 60fps, and that has to flow upstream continuously. Both YouTube and Twitch advise running a speed test before you commit to a resolution.
How Do You Set Up OBS For YouTube On Desktop?
Connect OBS to YouTube by pasting the stream key and server URL from YouTube Studio's Live Control Room into OBS Settings, then add your sources and go live. The whole chain takes under an hour the first time and a few minutes after that.
Step 1: Get Your YouTube Stream Key
In YouTube Studio, open the Live Control Room and choose the Stream tab. YouTube displays the server URL and stream key there. Treat the key like a password: anyone who has it can broadcast to your channel. YouTube caps usage at 3 active streams per stream key and 10 active streams per channel, so regenerate the key if you suspect it leaked.
Step 2: Connect OBS To YouTube
In OBS, open Settings, then Stream. Set Service to YouTube, and paste the stream key. According to OBS' documentation, the newer connection flow can link your YouTube account directly, which avoids handling the raw key at all. Either path works. For details, see YouTube's encoder setup guide.
One decision point: YouTube recommends the RTMPS protocol for standard streams, and also lists OBS among encoders supporting HLS ingestion. HLS uses an HTTPS URL with the stream key embedded, requires TS segments of 1 to 4 seconds, and carries higher latency than RTMP. For most creators, RTMPS is the better default. HLS also disables ultra-low latency, so skip it unless you have a specific reason.
Step 3: Build A Scene With Sources
OBS opens with a blank scene. Add sources from the Sources dock: Display Capture for the whole screen, Window Capture for one app, Game Capture on Windows for games, and Video Capture Device for webcams or capture cards. Audio is captured from desktop audio and the microphone by default, and you can pick devices manually in Settings, then Audio.
Layer order matters. Sources higher in the list render on top, so a webcam overlay goes above your game or display capture. Resize by dragging the handles, or right-click for transforms.
Scenes are unlimited, and OBS supports custom transitions between them, Studio Mode for previewing a scene before switching to it live, and Multiview for monitoring up to 8 scenes at once. Studio Mode is worth enabling once you run more than two scenes.
Step 4: Set Encoder Settings
Open Settings, then Output, and set the mode to Advanced. For video, YouTube recommends H.264, HEVC, or AV1 codecs, CBR (constant bitrate) encoding, and a keyframe interval of 2 seconds, never above 4. Audio should be AAC at 128 kbps stereo.
| Resolution | Frame Rate | Recommended Bitrate | Minimum |
|---|---|---|---|
| 1080p | 60fps | 17 Mbps | 6 Mbps |
| 1080p | 30fps | 14 Mbps | 5 Mbps |
Full recommendation tables for lower resolutions are on YouTube's encoder settings page. If your upload cannot hold 17 Mbps, drop to 1080p30 or 720p rather than starving the bitrate at 1080p60. A blocky 1080p stream looks worse than a clean 720p one.
In Settings, then Video, set both base and output resolution to match, and set the frame rate to your target. CBR keeps the bitrate constant, which is exactly what live platforms want.
Step 5: Test And Go Live
Click Start Streaming. YouTube Studio will show the incoming feed in the Live Control Room preview, where you set the title, description, thumbnail, visibility, and schedule. YouTube then shows the broadcast countdown and Go Live button. Note that streams default to simultaneous horizontal 16:9 and vertical 9:16 formats, with the vertical version as a center crop. You can turn that off in the Live Control Room, but not after the stream starts, so decide beforehand.
How To Add YouTube Chat To OBS
Chat overlays are one of the most common follow-up questions. The method is a browser source. In OBS, click the plus in the Sources dock, choose Browser, and point it at a chat widget URL. For Twitch, chat overlay URLs are generated by Twitch itself or by third-party widget tools; for YouTube, use a chat embed or a widget service that supports YouTube comments. Resize and position the browser source, and the chat appears in your stream. The same browser-source mechanism handles alerts, donation tickers, and overlays generally.
How Do You Stream On Mobile?
OBS Studio has no mobile app, so phone streaming means either a browser-based tool or a dedicated mobile app rather than OBS itself. This matters for IRL streaming, where a phone is the only realistic encoder.
For a full comparison, see our StreamYard review: it runs in a mobile browser and sends to YouTube without a local encoder. Dedicated IRL apps handle cellular bonding and camera switching on-device. A phone can also act as a camera for a desktop OBS stream, appearing as a Video Capture Device source over USB or as a network camera app, which suits a desk setup more than walking around a city.
For creators who run OBS on unconventional hardware, our OBS Studio on Linux and Chromebook guide covers what works and what does not.
What If It Does Not Work?
Most OBS-to-YouTube failures fall into four camps: the key, the bandwidth, the settings, or the channel, and each has a specific check. Work through them in order.
No Signal In YouTube Studio
If the Live Control Room shows no incoming video, the stream key is wrong, expired, or past its limit. Re-copy it from the Stream tab, check for stray spaces, and remember the cap of 3 active streams per key. Also confirm live streaming is actually enabled on the channel; the first activation can take up to 24 hours.
Dropped Frames And Lag
Dropped frames mean the network, not the encoder. Run a speed test and compare upload against your bitrate. If the margin is thin, lower the bitrate, drop to 720p, or use a wired connection instead of Wi-Fi. Laggy output with zero dropped frames points to the CPU instead: reduce output resolution, use hardware encoding (NVENC or equivalent) rather than x264 software encoding, and close background apps. The Auto-Configuration Wizard in the Tools menu can re-baseline all of this.
High Delay Between You And Chat
Latency has several layers. Ultra-low latency modes conflict with HLS ingestion, which is inherently higher-latency. If conversational pace matters, stream over RTMPS instead and check the latency setting in the Live Control Room before going live.
Recording Not Available After The Stream
If YouTube says the live stream recording is not available, check whether the stream actually completed rather than crashing mid-broadcast. Very short test streams sometimes fail to produce a replay. There is no reliable way to recover a stream that YouTube never processed, which is one reason some creators also record locally in OBS while streaming.
Dual Platform Streaming
Streaming to Twitch and YouTube simultaneously from one OBS install is possible with plugins or an external restreaming service, since OBS natively sends to one destination. The settings must satisfy both platforms, and here Twitch is the stricter constraint: Twitch recommends CBR with a 2-second keyframe interval, 6000 kbps for 1080p60, 4500 kbps for 1080p30 or 720p60, and 3000 kbps for 720p30, with AAC-LC audio at 96 kbps for maximum compatibility and a maximum broadcast length of 48 hours. Compare the two platforms' demands:
| Setting | YouTube (1080p60) | Twitch (1080p60) |
|---|---|---|
| Video bitrate | 17 Mbps | 6000 kbps |
| Keyframe interval | 2 sec (max 4) | 2 sec |
| Audio | AAC 128 kbps stereo | AAC-LC 96 kbps (max 160) |
| Max broadcast length | Not capped in this spec | 48 hours |
A dual stream at 6000 kbps looks sharp on Twitch but sits below YouTube's 1080p60 recommendation. Many dual streamers simply accept the compromise.
What Tips Make It Work Better?
The habits that separate smooth streams from shaky ones are testing, recording locally, using hardware encoders, and keeping a scene checklist. None of these require spending money.
Test before every important stream. Run the Auto-Configuration Wizard when hardware or internet changes, and do a five-minute private test stream to confirm audio on both desktop and mic. OBS captures desktop audio and microphone by default, so a forgotten muted mic is the classic silent failure.
Record locally while streaming. OBS can record and stream simultaneously, giving you a clean master for edits. That recording can then be cut into clips or repurposed, and tools in our video editing software roundup and the Descript video editor review handle the trim. Repurposing a live stream into a Shorts clip is a common workflow.
Prefer hardware encoding. NVENC and equivalent hardware encoders offload compression from the CPU and reduce the laggy-output problem dramatically on supported GPUs.
Use Studio Mode once you have scenes. Previewing before switching prevents on-air fumbles, and Multiview monitors up to 8 scenes at once for larger productions.
Plan your vertical crop. Because the 9:16 version is a center crop by default, keep your subject near frame center, or disable the vertical stream in the Live Control Room before going live if your layout does not survive cropping.
Upgrade gear only after the pipeline works. A better camera helps, but not before your bitrate and encoder are stable. When you get there, the vlogging camera guide covers options at different budgets, and royalty free music sources solve stream-safe audio. If you eventually want simpler browser-based shows instead of scene management, compare OBS with StreamYard.
Frequently Asked Questions
How Do You Get A YouTube Stream Key For OBS?
Open YouTube Studio, go to the Live Control Room, and select the Stream tab. The server URL and stream key are listed there. Paste both into OBS under Settings, then Stream. Keep the key private: anyone holding it can broadcast to your channel, and YouTube limits each key to 3 active streams.
What Are The Best OBS Settings For 1080p 60fps On YouTube?
YouTube recommends H.264 with CBR encoding, a 17 Mbps bitrate (6 Mbps minimum), a 2-second keyframe interval (never above 4 seconds), and AAC audio at 128 kbps stereo. Set base and output resolution to match your target, at 60fps, in OBS' Video settings. Lower the bitrate if your upload cannot sustain it.
How Do You Reduce Stream Delay In OBS On YouTube?
Use RTMPS rather than HLS ingestion, since HLS has higher latency and disables ultra-low latency. Check the latency options in YouTube's Live Control Room before going live, and avoid inserting extra processing hops. Encoder-side settings matter less than protocol and platform latency settings here.
What Is YouTube HLS In OBS?
HLS is an alternate ingestion protocol YouTube supports in OBS and other encoders. It uses an HTTPS URL with the stream key included, requires TS-format segments of 1 to 4 seconds, and trades higher latency for protocol resilience. Most creators should stick with RTMPS unless they have a specific HLS use case.
How Do You Add A Chatbox To OBS Studio?
Add a Browser source from the Sources dock and point it at a chat widget URL, then resize and position it on your canvas. The same browser-source method handles alerts and overlays. Confirm the widget service supports the platform you are streaming to, since YouTube and Twitch chats use different embed systems.
How Do You Make OBS Studio Less Laggy?
Separate the two causes. Dropped frames mean network problems: run a speed test, lower the bitrate, or go wired. Stuttering output with no drops means CPU load: switch to hardware encoding such as NVENC, reduce output resolution, and close background applications. The Auto-Configuration Wizard under Tools can re-test both.
How Do You Dual Stream On Twitch And YouTube With OBS?
OBS sends to one destination natively, so use a restreaming service or a plugin to multiply the output. Tune settings for the stricter platform, which is usually Twitch: 6000 kbps at 1080p60 with a 2-second keyframe interval, or the 4500 kbps tier for 1080p30 and 720p60.
How Do You Lower CPU Usage In OBS Studio?
Use hardware encoders where available, cap output resolution instead of scaling up, avoid unnecessary browser sources and filters, and disable preview rendering during the stream if you do not need to watch it. Fewer active sources and simpler scenes also cut load directly.
Can You Upload Videos From OBS To YouTube?
OBS itself does not upload, but it records video files locally while streaming. Take that recording into an editor and upload the finished cut through YouTube Studio. Our guides on free video editing software and DaVinci Resolve cover the editing step.
How Do You Set Up Donations In OBS Studio?
Donation alerts arrive as browser sources, not OBS features. Create a donation page with an alert service, copy the alert-box URL, and add it as a Browser source in OBS. Configure the amount triggers and sounds on the service side; OBS just displays the widget.
How Do You Enable Live Streaming On YouTube?
Verify your channel, confirm you are at least 16 years old, and have no live streaming restrictions in the past 90 days. First-time enablement can take up to 24 hours, after which streams start instantly. Full requirements are on YouTube's live streaming help page.
Should You Use OBS Or StreamYard For YouTube Live?
OBS suits creators who want full scene control, unlimited scenes, local recording, and advanced encoder tuning. StreamYard runs in a browser with guests and overlays handled for you, which suits interview formats and simpler shows. Our StreamYard review compares the trade-offs directly.