← Blog

OBS YouTube Live Settings (2026): Stream Key and Encoder Settings in Order

Two official OBS Studio images — a large color-bar preview layout and the Controls menu with the Start Streaming and Start Recording buttons
Image source: © OBS Project · official product UI
Key takeaways
  • Copy the Stream URL and stream key from YouTube Studio, then enter the service (YouTube - RTMPS), server and Stream Key in OBS under Settings > Stream.
  • As of October 6, 2026, YouTube Help lists CBR, a keyframe frequency of 2 seconds recommended (never above 4), up to 60fps, and a bitrate table with a minimum and a recommended value per codec, resolution and frame rate.
  • For H.264 at 1080p 60fps that row reads 6 Mbps minimum and 17 Mbps recommended; type it into OBS in kbps and run a short test before going live.

Three options matter most when you set up OBS for YouTube Live: paste the Stream URL and stream key from YouTube Studio into Settings > Stream, match the Video Bitrate in Settings > Output to the row of the YouTube table for your resolution and frame rate, and use CBR with a keyframe interval of 2 seconds. This guide follows OBS Studio 32.2.2 (the latest stable release) and YouTube Help as checked on October 6, 2026, and nothing else. If you are still deciding whether to stream or to record, read stream vs record for gaming first.

The short version

The order is: get the Stream URL and key in YouTube Studio, enter service, server and key in OBS Settings > Stream, match Settings > Video and Settings > Output to the YouTube table, then test before you go live. YouTube Help (checked October 6, 2026) detects resolution and frame rate automatically by default, and gives minimum and recommended bitrates by ingest codec, resolution and frame rate. The table never says which resolution is best, so pick the row your upload speed and PC can carry. If you also want a recording of the same session, recording for streamers covers that separately.

Moving the values into OBS

  1. 1Check the live requirements and your OBS versionYouTube Help (checked October 6, 2026) lists these requirements for going live: a verified channel, no live-streaming restriction in the last 90 days, and an age of 16 or older. Enabling live streaming for the first time can take up to 24 hours and is instant afterwards, so switch it on well before show time. The menus here are from OBS Studio 32.2.2; version 33.0.0 is still in beta and was not used.
  2. 2Find your stream key in YouTube StudioIn YouTube Studio choose CREATE > Go Live to open the Stream tab. On a first stream press Create stream; if you have streamed before, your previous settings and stream key load automatically. YouTube describes the stream key as the password and the address of your stream, so keep it out of screen shares and screenshots. When your encoder offers a YouTube RTMPS preset, the help page says to pick it.
  3. 3Enter service, server and key in Settings > StreamThe first screen of Settings > Stream offers Connect Account (recommended) and Use Stream Key; this guide follows Use Stream Key because it matches the YouTube Help steps. Choose 'YouTube - RTMPS' as the Service (choose 'Show All...' in the service list if it is not shown), pick 'Primary YouTube ingest server' as the Server, and paste the key into Stream Key. The built-in service data carries its own OBS recommendations (keyframe 2, audio at most 160 kbps) that can differ from YouTube Help, and ticking 'Ignore streaming service setting recommendations' lifts those limits.
  4. 4Set resolution and FPS in Settings > VideoFollowing the OBS overview guide, Base (Canvas) Resolution matches your monitor or game, while Output (Scaled) Resolution and FPS match what you want to broadcast. YouTube caps the frame rate at 60fps, and OBS notes that a 60fps stream puts more load on your system than 30fps. YouTube gives no recommendation for a resolution, so choose the row in the table below that your upload speed can support.
  5. 5Choose the encoder and bitrate in Settings > OutputIn Settings > Output pick Simple or Advanced as the Output Mode, then choose a Video Encoder whose codec YouTube accepts. The Simple mode list shows Hardware (NVENC, H.264) and Software (x264), while the Advanced mode list shows 'NVIDIA NVENC H.264' and 'x264'. Set Video Bitrate from the table row for the resolution and FPS you just chose. OBS takes kbps, so 17 Mbps for H.264 1080p 60fps becomes 17000, and the 6 Mbps minimum becomes 6000. 'Video Bitrate' is the Simple-mode label; in Advanced mode, enter the same value in the 'Bitrate' field under Streaming > Encoder Settings. For Audio Bitrate YouTube recommends 128 Kbps for stereo while the OBS overview guide suggests about 160 kbps and lower on a slow upload, so settle on one value and keep it.
  6. 6Set CBR and a 2-second keyframe interval in Advanced modeIn what this guide could verify, bitrate control and keyframe interval live in Output Mode 'Advanced', on the Streaming tab under Encoder Settings. Set Rate Control to CBR for x264, or to 'Constant Bitrate' for NVENC, then enter 2 as the keyframe interval. This guide could not confirm how many seconds 0 (auto) produces, so type the value yourself. The OBS Transcodes article notes that YouTube transcodes every stream and asks for a steady keyframe interval, and this guide does not cover how to match these values in Simple mode.
  7. 7Test, then press Start Streaming and pick a latencyAs the OBS Quick Start Guide suggests, test for a few minutes before going live, then press Start Streaming in the Controls dock. In YouTube Studio you choose Stream latency. Per the help page, Normal supports every resolution and feature including 4K and gives the best viewing quality. Low keeps delay under 10 seconds for most viewers but does not support 4K, and Ultra-low is under 5 seconds for most viewers, also without 4K, with a higher chance of buffering. Streams shorter than 12 hours are archived automatically.

Each setting: OBS menu and YouTube Help value

SettingOBS menu (32.2.2 English labels)YouTube Help says (checked Oct 6, 2026)
Service and serverSettings > Stream > Service 'YouTube - RTMPS', Server 'Primary YouTube ingest server' (backup: 'Backup YouTube ingest server')RTMP and RTMPS are supported, and RTMPS is recommended. Only if your encoder has no YouTube RTMPS preset, copy the RTMPS URL with the lock icon next to Stream URL on the Stream tab.
Stream keySettings > Stream > Stream Key (Get Stream Key button), or Connect Account (recommended) / Use Stream KeyPaste the Stream key from the Stream tab in YouTube Studio into the encoder's stream key field. If it leaks, press Reset to issue a new one.
Video encoder and codecSettings > Output > Video Encoder (the Simple mode list shows Hardware (NVENC, H.264), Software (x264) and so on; the Advanced mode list shows the English names 'NVIDIA NVENC H.264' and 'x264')Video codecs are H.264, H.265 (HEVC) and AV1. Audio is AAC or MP3.
Bitrate controlSettings > Output > Output Mode 'Advanced' > Streaming tab > Encoder Settings: Rate Control set to CBR for x264, or to 'Constant Bitrate' for NVENCBitrate encoding is CBR.
Keyframe intervalSame encoder settings: 'Keyframe Interval (0=auto)' (NVENC: 'Keyframe interval (seconds, 0 = auto)')Recommended 2 seconds, and do not exceed 4 seconds.
Resolution and frame rateSettings > Video > Base (Canvas) Resolution, Output (Scaled) Resolution, FPSUp to 60fps. By default YouTube detects resolution and frame rate itself.
Video bitrateSettings > Output > Video Bitrate (entered in kbps; in Advanced mode it is the 'Bitrate' field under Streaming > Encoder Settings)H.264 minimum to recommended (Mbps): 720p 30 or 60fps 3 to 8, 1080p 30fps 5 to 14, 1080p 60fps 6 to 17. H.265 and AV1: 1080p 30fps 4 to 10, 1080p 60fps 4 to 12.
AudioSettings > Output > Audio Bitrate, and the Settings > Audio tabStereo: 44.1 kHz sample rate and 128 Kbps recommended. 5.1 surround: 48 kHz and 384 Kbps, and over RTMP/RTMPS only AAC works.

Last look before going live

  • Channel verification and the first live activation (up to 24 hours) are done
  • Settings > Stream shows YouTube - RTMPS and the Stream Key matches the current key in Studio
  • Video Bitrate was typed in kbps from the YouTube row for your Output (Scaled) Resolution and FPS
  • In Advanced mode, Rate Control is CBR (or Constant Bitrate for NVENC) and the keyframe interval is 2
  • The stream key does not appear in any screenshot or screen share
  • A short test stream confirmed the picture, the sound and the connection
If a live stream stutters, follow the OBS Knowledge Base page Stream Connection Troubleshooting before blaming your settings. It says dropped frames point to the network between your PC and the ingest server and that OBS is very unlikely to be the cause, and it lists another server, a lower video bitrate (75% of your upload speed as a starting point) and a wired connection. That 75% is OBS's wording, not a YouTube table value, so weigh it against the minimum in the table.

If you want clips after the stream

Streaming is not a DOR feature, so nothing above depends on it. YouTube Help says streams shorter than 12 hours are archived automatically, which means the replay lives on YouTube. If you want a record of your play that is separate from the stream, DOR is a free Windows app that detects supported games and records the full match to mp4, so you can start without building OBS-style scenes, sources and output settings first. If you narrate while you play, as you would on stream, that voice goes into the file too: DOR records game sound and microphone at the same time, and NVENC hardware encoding is its default on an NVIDIA graphics card. VALORANT is one of the games where kills and other highlights are clipped automatically, and trimming a recording in the app library to 16:9, 9:16 or 1:1 is covered in how to trim game clips.

Official sources

FAQ

FAQ

Where do I get the YouTube stream key for OBS?

Open YouTube Studio, choose CREATE > Go Live and look at the Stream tab; on a first stream press Create stream first. If the key leaks, press Reset next to Stream key and paste the new value into Settings > Stream in OBS. Only the channel owner or a manager can reset it.

What bitrate should I use for 1080p 60fps?

As of October 6, 2026 the YouTube table lists H.264 at 1080p 60fps as 6 Mbps minimum and 17 Mbps recommended, and H.265 or AV1 as 4 Mbps minimum and 12 Mbps recommended. In OBS you enter kbps, for example 17000. The table gives no maximum and no single best value, so base your choice on the minimum and recommended numbers of that row.

What if the stream will not start or keeps dropping?

A brand-new channel may need up to 24 hours before live streaming is enabled. If a third-party encoder will not start, YouTube Help says to get a new stream key in the Live Control Room and paste it in. For drops, follow the OBS Stream Connection Troubleshooting order: another server, a lower bitrate, a wired connection.

Games

Related game guides

Read next

Related articles

Get started with DOR

DOR detects supported in-game events and automatically saves those moments as clips