How to set up OBS to stream your games.
OBS Studio is free, open source, and runs on Windows, macOS, and Linux, and it does everything a game broadcast needs. This guide walks through each setting in the order you meet it, builds the scenes for a game, and covers what to check when frames drop.
Updated
Before you start
You need a computer, a camera connected to it, an internet connection at the venue, and a game in your SidelineWeb TV admin. Download OBS Studio from obsproject.com, the official site, and install it on the computer you will take to the game.
Work through this guide at home first, then repeat the test at the venue. OBS saves every setting below, so you set them once and only change the stream key for each game.
- A laptop or desktop with a recent processor, or a graphics card with a hardware video encoder
- A camera: a webcam, or a camcorder or mirrorless camera through an HDMI capture card
- A wired network connection, if the venue has one
- The server address and stream key from the game's page in your admin
Settings > Stream: server address and stream key
This is where OBS learns where to send the video. Each SidelineWeb TV game has its own Mux live stream, so the server address stays the same and the stream key changes with every game.
Treat the stream key like a password. Anyone who has it can broadcast to that game. If it is shared by mistake, reset it from the game in your admin and paste the new one into OBS.
- Open OBS, click Settings in the Controls dock, and choose Stream.
- Set Service to Custom.
- In Server, paste rtmps://global-live.mux.com:443/app.
- In Stream Key, paste the key from tonight's game.
- Click Apply, then OK.
Settings > Output: encoder, bitrate, and keyframes
At the top of Output, set Output Mode to Advanced. Simple mode hides settings that matter for a game, such as the keyframe interval. Then open the Streaming tab and use the values below. The audio bitrate is on the Audio tab of the same page.
Use the hardware encoder on your graphics card if you have one, such as NVIDIA NVENC. It does the work on the graphics card and leaves the processor free for everything else. Use x264, which runs on the processor, when there is no hardware encoder.
| Setting | Value | Why |
|---|---|---|
| Video Encoder | A hardware H.264 encoder, or x264 | H.264 plays everywhere, and it is what Mux recommends |
| Rate Control | CBR | A constant bitrate is easiest on venue internet |
| Bitrate | 5,000 kbps for 1080p, 3,500 for 720p, 1,000 for 480p | Matches the resolution you send |
| Keyframe Interval | 2 seconds | Lets viewers join quickly and the player switch quality smoothly |
| Profile | main | The H.264 profile Mux recommends |
| CPU Usage Preset (x264 only) | veryfast | A good balance of quality and load on most laptops |
| Audio | AAC at 128 or 160 kbps | Clear commentary without wasting upload |
Settings > Video: resolution and frame rate
Base (Canvas) Resolution is the space you arrange your camera and graphics on. Set it to 1920x1080. Output (Scaled) Resolution is what you actually send. Set it to 1920x1080 for a 1080p stream or 1280x720 for 720p.
If you change the output resolution later, your layout stays put. If you change the base resolution, you have to resize and realign your sources, so settle it before you build scenes.
Set Common FPS Values to 30. Sixty frames a second takes much more from the computer and the connection, and 30 looks fine for school sports on a phone or a TV.
| Stream | Output (Scaled) Resolution | Bitrate | Upload speed to aim for |
|---|---|---|---|
| 1080p at 30 fps | 1920x1080 | 5,000 kbps | About 10 Mbps |
| 720p at 30 fps | 1280x720 | 3,500 kbps | About 7 Mbps |
| 480p at 30 fps | 854x480 | 1,000 kbps | About 2 Mbps |
Settings > Audio: sample rate and microphones
Set Sample Rate to 48 kHz and Channels to Stereo. Under Global Audio Devices, choose your commentator's microphone as the Mic/Auxiliary Audio device. Audio from a camera on a capture card comes in with that camera's source.
Watch the meters in the Audio Mixer during a test. Speech should peak in the yellow and never sit in the red. A buzzer or a horn is far louder than a voice, so leave room. A commentator on a microphone also makes automatic captions much more accurate than crowd noise alone.
Live captionsScenes and sources for a game
A scene is a layout. A source is anything in it: a camera, an image, a piece of text, or a web page. Build a few scenes once and reuse them all season. Switch between them by clicking a scene, or set a key for each one under Settings > Hotkeys.
The camera is a Video Capture Device source. Text sources are called Text (GDI+) on Windows and Text (Freetype 2) on macOS and Linux. A Browser source loads a web page, which is how most scoreboard and graphics tools plug in.
- Pregame: your logo or a sponsor slate, with music or a microphone for announcements
- Game: the camera, with your scoreboard on top
- Sponsor slate: an Image source with sponsor logos, for timeouts and breaks
- Halftime or intermission: the slate with the score, or a second camera on the band
- Postgame: the final score and a thank-you to sponsors before you stop streaming
Test before game day
Never let the first game be the first test. Create a test game in your admin and leave it unpublished, so only your admins can see it. Then stream to it from the venue, at the time of day you will play, with the same computer and connection. Expect the page to run about 30 seconds behind what OBS shows.
- Run a speed test at your broadcast spot and write down the upload speed.
- Paste the test game's stream key into OBS and click Start Streaming.
- Open the game page on a phone on cellular data, not the venue Wi-Fi, and watch for 15 minutes.
- Check the picture, the audio levels, and the scoreboard text as a viewer would see them.
- Open the Stats dock and confirm that dropped frames stay at or near zero.
- Unplug the network cable for a minute and plug it back in, so you know what a reconnect looks like.
- Click Stop Streaming, end the broadcast from your admin, and check that the replay appears.
On game day
Paste the key for tonight's game into OBS before you leave, since each game has its own. At the venue, plug in, run a speed test, and start streaming on your pregame scene 10 to 15 minutes before the start. The game page switches from the countdown to the live player on its own when OBS connects. There is no button to press.
When the game ends, show the postgame scene for a minute, click Stop Streaming, and end the broadcast from your admin. Ending it there tells Mux to finish the recording right away instead of waiting out the 15-minute reconnect window, so the replay is ready sooner.
Game pagesDropped frames and other problems
Keep the Stats dock open during every broadcast. It shows three kinds of trouble, and each has a different cause. Dropped frames are a network problem between you and the server, and OBS's own troubleshooting guide says OBS is very unlikely to be the cause. Skipped and missed frames mean the computer is falling behind.
| What you see | What it means | What to do |
|---|---|---|
| Dropped frames (network) | The connection cannot keep up with your bitrate | Go wired, lower the bitrate one step, or turn on Dynamically change bitrate to manage congestion under Settings > Advanced > Network |
| Skipped frames due to encoding lag | The encoder is overloaded | Switch to the hardware encoder, use a faster x264 preset, or drop to 720p |
| Frames missed due to rendering lag | The graphics card is overloaded | Close other programs, remove sources you do not use, and keep the frame rate at 30 |
| The stream disconnects | The connection dropped completely | Leave OBS running. With Automatically Reconnect on under Settings > Advanced, it retries, and the game page holds a slate for up to 15 minutes |
| Failed to connect to server | A wrong address or key, or the network blocks the connection | Paste the server and key again. RTMPS uses port 443, so if it still fails, ask your IT staff whether outbound connections on 443 are allowed |
Sources
Checked November 28, 2026. Prices and plans change, so confirm on each provider's own site.
Common questions
All questionsIs OBS really free?
Yes. OBS Studio is free and open source. Download it from obsproject.com for Windows, macOS, or Linux.
What are the best OBS settings for streaming a game?
H.264 with the Main profile, CBR rate control, a keyframe interval of 2 seconds, and AAC audio. Use 5,000 kbps for 1080p at 30 fps, 3,500 kbps for 720p, or 1,000 kbps for 480p, and keep the bitrate under about half of your upload speed.
Should I use x264 or my graphics card's encoder?
Use the graphics card's hardware encoder if you have one. It keeps the processor free and is less likely to show encoding lag on a laptop. Use x264 at the veryfast preset if there is no hardware encoder.
Do I need a new stream key for every game?
Yes. Each SidelineWeb TV game has its own stream key, and the server address stays the same. Paste the new key into Settings > Stream before each game.
Can I use Streamlabs or vMix instead of OBS?
Yes. Any encoder that streams over RTMP or RTMPS works, including Streamlabs, vMix, Wirecast, and hardware encoders. The settings in this guide carry over, though the menus are named differently.
Keep reading
Internet speed
Upload speed decides your stream. Test it at the venue, apply the 2x rule, and know what to do on a weak connection.
Learn moreScoreboard overlays
Four ways to put the score on screen in OBS, from typing it in by hand to reading the venue scoreboard.
Learn moreMulti-camera streaming
Switch between cameras in OBS, bring in a second angle by capture card, NDI, or phone, and organize a crew.
Learn moreBest cameras for streaming
What matters in a camera for streaming games: zoom, autofocus, clean HDMI, low light, heat, and power.
Learn moreFeatures you will use
Stream keys and RTMP
An RTMPS server address and a private stream key for every game.
Learn moreLive streaming
Go live from OBS or any RTMP encoder on a page that becomes the replay.
Learn moreGame pages
One page per game: a countdown, then the live stream, then the replay.
Learn moreAutomatic replays
Every broadcast is recorded and becomes the replay on the same page.
Learn moreLive captions
Automatic English captions while you are live, and on every replay.
Learn moreReady for your next home game?
Create your site in a couple of minutes. Connect Mux when you are ready.
Get started