Resource icon

Streaming to YouTube (Gaming) with OBS or OBS Studio

YouTube changed some stuff. You might find additional options that aren't mentioned in this guide yet. Hopefully I can get this guide reworked in the next few days / weeks.

ContentID and live streams: https://support.google.com/youtube/answer/3367684

YouTube Gaming is just a fancy UI and App for the Stream now BETA.

So if you want to stream to YouTube Gaming just use the Stream now BETA. (Which I'm explaining here.)

Make sure you set the category to gaming. You might also want to set a game.

YouTube Gaming doesn't seem to list all live streams on the Live site.

People that follow you on YouTube live should still be able to find you in the right sidebar and (maybe) in the listing of the game you set (if the game doesn't have too much live streams).


Informations about the listing of live streams on YouTube Gaming are my opinion and not validated facts.

Requirements:
  • Google Account with YouTube Channel
  • Might be necessary that your account is in good standing
This guide assumes that you just created a YouTube channel. In the case that you have live streaming already enabled you can skip the respective parts of this guide.


Step 1 Enabling live streaming.


Open up https://www.youtube.com and click on your Avatar. You should find the "Creator Studio" there. Click it.



On the left side of your screen click on LIVE STREAMING.



On this page you will find a big blue button saying "Get started".
Click it



If your account isn't already verified you will now have to verify it. Follow the steps on the page here.



When you got successfully through the validation process you should see this. Just click Continue here.



Your channel should now be enabled for live streaming.

Step 2 Setting up basic info (Stuff that you might want to change every stream)

You should now get to the following page.



There is not that much to change here so let us go through it.

You can set the Stream title, Description and Category here.
If you have selected Gaming you can also define a game.

Other interesting stuff is in the stream options tab.



  • Enable DVR Viewers will be able to seek back up to 4 hours while you are streaming
  • Make archive unlisted when complete (makes the recorded Video unlisted so that nobody can find it by default)
  • Optimize for interaction (low latency) Interesting for chat interaction (still relatively high delay)
  • Optimize for less viewer buffering (even Higher Delay but in theory people should have less buffer issues. Also you can add up to 60 seconds delay if you need so.)
We also have the Advanced settings here (not gonna explain them in detail here).
The advanced settings offer basically the same options as the event based stuff.

Step 3 Setting up OBS.

This will only cover up the necessary settings for streaming to YouTube.
If you need help with OBS itself I recommend reading the following guide:
http://obsproject.com/forum/threads/official-overview-guide.402/

Open up the OBS Settings and go to the Encoding Settings.



Here you have to set the video and audio bitrate.

YouTube recommends the following bitrate settings for the following resolutions:

https://support.google.com/youtube/answer/2853702?vid=1-635757599940599498-3384987664
(Click on your resolution)

For Audio I would recommend using up to 160 Kbps.
You have to use AAC as audio codec for YouTube.


Next up open the Broadcast Settings.



Mode > Live Stream
Streaming Service > YouTube
FMS URL > Primary YouTube ingest Server
Play Path / Stream Key > Copy the Stream name/key from the YouTube page into this field. Click the Reveal button for that where it says ENCODER SETUP.




Next up open the Video settings.



Set the FPS to 30 or alternatively to 60 (your base resolution / resolution downscale must be 1280x720 or 1920x1080 to have 60 FPS working)

Next up open the Advanced settings.



The only change you have to do here is setting the Keyframe Interval to 4.

You're now done with settings up OBS.

I will only explain how to use the Simple Output Mode here.

Open up the OBS Settings and go to Stream.



Stream Type > Streaming Services
Service > YouTube
Server > Primary Youtube ingest server
Stream key > Copy the Stream name/key from the YouTube page into this field. Click the Reveal button for that where it says ENCODER SETUP.



Next up open the Output settings.



I'm only explaining the Simple Output Mode here.

YouTube recommends the following bitrate settings for the following resolutions:

https://support.google.com/youtube/answer/2853702?vid=1-635757599940599498-3384987664
(Click on your resolution)

For Audio I recommend using 160 Kbps.

Next up open the Video settings.



Set the FPS to 30 or alternatively to 60 (your base resolution / scaled resolution must be 1280x720 or 1920x1080 to have 60 FPS working)


You're now done with settings up OBS.

Step 4 Starting the Stream.

Click the Start Streaming Button in OBS and have some patience.
YouTube will inform you about the stream status on the top of the page.

Step 5 Ending the Stream.

Click the Stop Streaming Button in OBS.

How can people find my Stream?

Your stream should appear in your channel and in the subscription feed of your subscribers.

Alternatively you can also use the Share URL in the bottom right of the YouTube page. (Which also allows you to share the URL on all kinds of social platforms.)

You can also appear on https://gaming.youtube.com/live when you set a game in the Dashboard. (Opinion not fact.)
Notice: This guide explains the "old" YouTube Live which is event based. Unlisted and private streams are now also possible with "Stream now".

Requirements:
  • Google Account with YouTube Channel
  • Might be necessary that your account is in good standing
This guide assumes that you just created a YouTube channel. In the case that you have live streaming already enabled you can skip the respective parts of this guide.


Step 1 Enabling live streaming.


Open up https://www.youtube.com and click on your Avatar. You should find the "Creator Studio" there. Click it.



On the left side of your screen click on VIDEO MANAGER > Live Events.
On this page you will find a big blue button saying "Enable live streaming".
Click it



If your account isn't already verified you will now have to verify it. Follow the steps on the page here.



After you have completed the verification (or you were already verified) you should see the following Terms and conditions. Read them and then click I agree.



Your channel should now be enabled for live streaming.




Step 2 Creating an live event.

You will need to create a live event for every time you want to stream.

You can now just click the blue "Create live event" button.

Later on (when you created the first live event) this screen will look different.
Here you have to click "New live event" button in the top right corner or the blue text saying "Schedule a new event."

(Image is showing how the page will look after you already had created live events in the past.)



The next screen should be pretty self-explanatory. It's important that you select Custom as the Type (otherwise you can't use OBS). After you made your changes click the blue button saying "Create event"



Now you have 2 options. "Basic ingestion" and "Customised ingestion". The benefit of using "Customised ingestion" is that you don't have to change the Streamkey for every event you create.



  • Using Basic ingestion.


Select the resolution you want to stream in.
Please note that you have to stream in the selected resolution. Your stream will not go live if your basic / downscaled resolution doesn't match the resolution you selected here.

240p = 426 x 240
360p = 640 x 360
480p = 854 x 480
720p = 1280 x 720
1080p = 1920 x 1080

Note that you have to stream in 720p or 1080p if you want to stream in 60 FPS.
You will also have to enable the "Enable 60 FPS" option in that case.

After you selected the resolution (and optionally the 60 FPS Option) you will get asked to select your Encoder. Select "Other encoders" here.

The stream name is the Streamkey that you need later for OBS.
This key will change for every live event you create when using Basic ingestion.

  • Using Customised ingestion


For using the "Customised ingestion" you have to create first a new stream.
For this click on "Select a Stream" and then on "Create new stream".
You can now give this stream a name and description. The main settings are the same as for Basic ingestion. Select the Resolution in which you want to stream and optionally the "Enable 60 FPS" option for 720p or 1080p. Click the Save changes button after you're done.

Please note that you have to stream in the selected resolution. Your stream will not go live if your basic / downscaled resolution doesn't match the resolution you selected here.

You can now select the created stream. When you create a new live event and you will maintain the same Streamkey / Stream Name.

YouTube will now ask you what Encoder you're using. Select Other encoders here.

The Stream Name is the Streamkey that you need later for OBS.




Step 3 Setting up OBS.

This will only cover up the necessary settings for streaming to YouTube.
If you need help with OBS itself I recommend reading the following guide:
http://obsproject.com/forum/threads/official-overview-guide.402/

Open up the OBS Settings and go to the Encoding Settings.



Here you have to set the video and audio bitrate.

YouTube recommends the following bitrate settings for the following resolutions:

https://support.google.com/youtube/answer/2853702?vid=1-635757599940599498-3384987664
(Click on your resolution)

For Audio I would recommend using up to 160 Kbps.
You have to use AAC as audio codec for YouTube.


Next up open the Broadcast Settings.



Mode > Live Stream
Streaming Service > YouTube
FMS URL > Primary YouTube ingest Server
Play Path / Stream Key > Copy the Stream Name from the YouTube page into this field (you remember setting it up I hope).


Next up open the Video settings.



>> IMPORTANT << your Base Resolution or the Resolution of the Resolution Downscale must be the same that you selected earlier on YouTube. If the Resolutions don't match your stream will not go live.

Set the FPS to 30 or alternatively if you have the 60 FPS Option enabled on YouTube to 60.

Next up open the Advanced settings.



The only change you have to do here is setting the Keyframe Interval to 4.

You're now done with settings up OBS.

I will only explain how to use the Simple Output Mode here.

Open up the OBS Settings and go to Stream.



Stream Type > Streaming Services
Service > YouTube
Server > Primary Youtube ingest server
Stream Key > Copy the Stream Name from the YouTube page into this field (you remember setting it up I hope).

Next up open the Output settings.



I'm only explaining the Simple Output Mode here.

YouTube recommends the following bitrate settings for the following resolutions:

https://support.google.com/youtube/answer/2853702?vid=1-635757599940599498-3384987664
(Click on your resolution)

For Audio I recommend using 160 Kbps.

Next up open the Video settings.



>> IMPORTANT << your Base Resolution and/or the Scaled Resolution must be the same that you selected earlier on YouTube. If the Resolutions don't match your stream will not go live.

Set the FPS to 30 or alternatively if you have the 60 FPS Option enabled on YouTube to 60.


You're now done with settings up OBS.


Step 4 Starting the Stream.

Click the Start Streaming Button in OBS.
Always Start the Stream in OBS first and end it last in OBS.

Next up on YouTube click on the Live Control Room



Here you can start and stop your stream and also preview it.

If you started the stream in OBS you should now see the following.
(720P STREAM would be of course the resolution you have chosen.)



It's important that the Stream Status is GOOD and that you get no errors here.
If you get errors here then you most likely didn't set the right resolution or Keyframe Interval (only in the "old" OBS) in OBS.

Click the blue Preview Button and be patient.
(Wait till the Preview Button turns into the blue "Start Streaming" button.)
In the case the button doesn't turn into a "Start Streaming" button check your settings in OBS (Resolution and Keyframe Interval).

When you now click the Play Button in the Preview Player you should be able to see your stream.



Does everything look fine to you? In this case you can click the blue "Start Streaming" button.

Your Stream is now Live. Congratulations.


Step 5 Ending your Stream.


On the YouTube page in the Live Control Room click the red "Stop Streaming" button and wait. When it says COMPLETE you can stop the Stream in OBS by pressing "Stop Streaming".


When you want to stream again repeat the Steps 2, 4 and 5.
If you're using the Basic Ingestion you will have to swap the Stream Key in OBS every time you start a new Stream / Event.


Optional Lowering the delay.

YouTube live streaming does normally have a extremely high delay of 30 seconds or more. You can reduce this delay by going to the "Advanced settings" in the Create a new event page. Here select where it says Stream optimizations the point "Optimize for interaction (low latency)"

This reduces the delay to around 10-13 seconds for me (so basically the same as twitch.tv does have for example).




I hope this guide is helpful. I'm not a native English Speaker so please excuse faults.
Author
Gol D. Ace
First release
Last update
Rating
5.00 star(s) 3 ratings

More resources from Gol D. Ace

Latest updates

  1. "Stream now" is no longer a beta | Unlisted and private streams now on "Stream now"

    "Stream now" is no longer a Beta Unlisted and private streams are now also possible with "Stream...
  2. Screenshots are back

    Screenshots are back. Some rewording for changes on YouTube's side.
  3. YouTube streams now also work in Germany

    YouTube streams can now also be watched in Germany. Happy watching :)

Latest reviews

Showww
Top