# Connecting YouTube to OBS (Virtual event)

Download OBS [here](https://obsproject.com/) for free. Useful information on how to use OBS can be found [here](https://obsproject.com/wiki/OBS-Studio-Quickstart).

### Output

Once a YouTube live stream has been [created](https://knowledge-base.letsgetdigital.com/the-admin-panel/settings/virtual-event-settings-vp/live-stream-settings-vp/youtube-stream-vp) the following information is shown, which is needed to connect the stream with OBS.

| Title                         | Explanation                                                         |
| ----------------------------- | ------------------------------------------------------------------- |
| Stream key (paste in encoder) | This is the streaming key that needs to be inserted in the encoder. |

<div align="left"><img src="https://gblobscdn.gitbook.com/assets%2F-M5LNCGpK5lyymcFZU4V%2F-MCvbjygkCMrPeiBFAUS%2F-MCvdsh5O77y-sLuuNfW%2Fimage.png?alt=media&#x26;token=1c1e07c3-529b-44a8-a864-0b607e4ed504" alt=""></div>

In OBS click on 'Settings' in the bottom right corner.

<div align="left"><img src="https://gblobscdn.gitbook.com/assets%2F-M5LNCGpK5lyymcFZU4V%2F-MCvMZLWwQmRZTERaF4n%2F-MCvRkLJi8-Pl6z3JtFP%2Fimage.png?alt=media&#x26;token=e064942d-5f80-4bfc-b536-706ea34f00e0" alt=""></div>

### Stream

Select 'Stream' from the menu on the left side and fill in the following information for each tab:

| Tab in OBS | Fill in information from YouTube |
| ---------- | -------------------------------- |
| Service    | YouTube / YouTube Gaming         |
| Server     | Primary YouTube ingest server    |
| Stream Key | Stream key                       |

![](https://gblobscdn.gitbook.com/assets%2F-M5LNCGpK5lyymcFZU4V%2F-MCvbjygkCMrPeiBFAUS%2F-MCvg-DCGvHIbAdbBFcM%2Fimage.png?alt=media\&token=bbebffe2-f546-4502-8932-264915c3dc73)

### Output

Select 'Output' from the menu on the left side and fill in the following information for each tab:

| Tab in OBS    | Fill in               |
| ------------- | --------------------- |
| Output Mode   | Simple                |
| Video Bitrate | Enter desired bitrate |
| Encoder       | Software (x264)       |
| Audio Bitrate | Select desire bitrate |

![](https://gblobscdn.gitbook.com/assets%2F-M5LNCGpK5lyymcFZU4V%2F-MCvMZLWwQmRZTERaF4n%2F-MCvaswfRp_k-1HCmFFD%2Fimage.png?alt=media\&token=02923934-0db5-4abd-acac-f67ad1ce2b0a)

​[Learn more about bitrates.](https://blog.mobcrush.com/how-to-choose-the-right-bitrate-for-your-stream-9864ce322a9b)​

Click on 'OK' in the bottom right corner.

### Go live

Click on 'Start Streaming' in the bottom right corner to go live.

<div align="left"><img src="https://gblobscdn.gitbook.com/assets%2F-M5LNCGpK5lyymcFZU4V%2F-MCvMZLWwQmRZTERaF4n%2F-MCvY-fuWXkig8AHp69e%2Fimage.png?alt=media&#x26;token=bc9f7afd-b55d-4777-a8b9-7d638d726c2d" alt=""></div>

A preview of the stream will be displayed in YouTube Studio. Hit the 'Go live' button in the top-right corner to start the stream. Insert the live stream in the Let's Get Digital environment.
