Record Game and Webcam with OBS: Step‑by‑Step Guide
In this article
Yes—you can record both your gameplay and webcam video simultaneously with OBS Studio by adding separate sources, configuring audio tracks, and setting the correct output options.
What You’ll Need
- OBS Studio (latest version) installed on Windows, macOS, or Linux
- A PC or laptop capable of running the game and OBS at the same time
- A webcam or external camera that can be recognized as a video capture device
- A microphone (built‑in or external) for commentary, if desired
- Enough free disk space for the recorded files (at least a few gigabytes per hour of high‑quality video)
Step‑by‑Step
- Download OBS Studio from the official website (obsproject.com) and run the installer. Follow the on‑screen prompts; the default options are suitable for most users.
- Launch OBS. The first time you open it, the Auto‑Configuration Wizard may appear. Choose "Optimize for recording" and let it set basic video and bitrate values, or skip the wizard and configure manually later.
- In the lower‑left Scenes box, click the + button to create a new scene. Name it something descriptive, such as "Game + Webcam".
- With the new scene selected, add your game capture:
- In the Sources box, click the + button and choose Game Capture.
- Give the source a name (e.g., "My Game") and click OK.
- In the properties window, set Mode to "Capture specific window" and select the game’s window from the drop‑down list. If the game runs in fullscreen, you can use "Capture any fullscreen application" instead.
- Click OK. The game should now appear in the preview area.
- Add your webcam feed:
- Click the + button in Sources again and choose Video Capture Device.
- Name it (e.g., "Webcam") and click OK.
- From the Device drop‑down, select your webcam. Adjust the resolution and FPS to match your desired quality (720p at 30 fps works well for most streams).
- Use the Transform handles in the preview to resize and position the webcam window wherever you want it—commonly a small box in a corner of the screen.
- Click OK when satisfied.
- Configure audio sources:
- In the Audio Mixer panel, you should see "Desktop Audio" (captures game sound) and "Mic/Aux" (captures your microphone). If your webcam has a built‑in mic and you want to use it, add it as an additional Audio Input Capture source.
- Adjust volume sliders so that game audio and voice are balanced. You can mute any source by clicking the speaker icon.
- Set recording parameters:
- Open File > Settings. In the Output tab, switch the Output Mode to "Simple" if you prefer a straightforward interface.
- Under the "Recording" section, choose a Recording Path where files will be saved.
- Select Recording Format (MP4 is common, but MKV is safer because it does not lose the entire file if OBS crashes).
- Set the Encoder to "Hardware (QSV/NVENC/AMD)" if your GPU supports it; otherwise use "x264". Adjust the bitrate (e.g., 6000 kbps for 1080p60) based on your storage and performance needs.
- Click OK to save.
- Test the setup:
- Click Start Recording in the lower‑right controls.
- Play the game for a minute, speak into the mic, and move the webcam window to ensure everything appears correctly.
- Stop recording, then locate the file in the folder you set earlier. Play it back to verify video sync, audio levels, and that both game and webcam are visible.
- When you’re ready for a full session, simply press Start Recording** again**. To pause mid‑recording, use the Pause Recording** button** (available in newer OBS versions) if you need a break without creating separate files.
Common Mistakes
- Choosing the wrong capture mode: Selecting "Capture any fullscreen application" can sometimes pick up the wrong window if you have multiple fullscreen programs. Always verify the preview after adding the source.
- Recording to MP4 without a backup: If OBS crashes, an MP4 file can become corrupted and unrecoverable. Use MKV for safety, then remux to MP4 via File > Remux Recordings** if you need MP4 compatibility.
- Overloading the CPU/GPU: Using high bitrate, 4K resolution, and a software encoder simultaneously can cause frame drops. Lower one of the variables (resolution, FPS, or bitrate) if you notice stuttering.
- Forgetting to set audio tracks: By default OBS records a single audio track. If you want separate tracks for game and voice (useful for editing), enable multiple tracks in Settings > Output > Recording** and assign each source to a distinct track in the Audio Mixer > Advanced Audio Properties**.
- Webcam appearing behind the game: Source order matters. In the Sources** list, the webcam should be listed below the game capture if you want it on top. Drag the webcam source upward to change its stacking order.
Tips
- Use Hotkeys (Settings > Hotkeys) for "Start Recording", "Stop Recording", and "Toggle Webcam Visibility" to avoid clicking while playing.
- Enable Display Capture** as a backup source if Game Capture fails for a particular title; some games block direct capture.
- Set the webcam’s Crop/Pad** filter (right‑click the source > Filters > Crop/Pad) to remove unwanted background or to create a tighter framing.
- Consider adding a Color Correction** filter to the webcam source to adjust brightness, contrast, or add a slight vignette for a more professional look.
- If you plan to edit later, record in a lossless or high‑bitrate format (e.g., 1080p at 10 Mbps) and keep the original file before any compression for the final export.
Troubleshooting
If the game does not appear in the preview: Close OBS, launch the game, then reopen OBS and add the Game Capture source again. Some anti‑cheat or DRM‑protected games block capture; in that case switch to Window Capture** or Display Capture** as a fallback.
Webcam shows a black screen: Verify that the webcam works in another application (e.g., the built‑in Camera app). In OBS, remove the Video Capture Device source and add it again, making sure the correct device is selected. On macOS, you may need to grant OBS permission under System Settings > Security & Privacy > Camera.
Audio is out of sync or missing: Ensure the correct audio devices are selected in Settings > Audio. If you have multiple microphones, disable the ones you are not using. For sync issues, use the "Sync Offset" field in the Advanced Audio Properties (right‑click the audio source in the mixer).
Recording stutters or drops frames: Lower the output resolution or switch to a hardware encoder (NVENC, QSV, or AMD). Also, close background applications that consume CPU/GPU resources. Check the OBS log (Help > Log Files > View Current Log) for warnings about "dropped frames".
OBS crashes during recording: Update to the latest OBS version and graphics driver. Run OBS as administrator to ensure it has full access to capture APIs. If crashes persist, try disabling third‑party plugins or resetting OBS settings (File > Settings > General > Reset). Remember that resetting will remove any custom scenes you have built.
Frequently Asked Questions
Can I record two monitors with OBS?
Yes. Add a separate Display Capture** source for each monitor and arrange them in the scene. You can also record a single monitor while capturing the webcam on top.
Does OBS support recording from a DSLR or camcorder?
It does, as long as the camera can be recognized as a video capture device (via USB, HDMI capture card, or webcam utility). Add it using the Video Capture Device** source.
What file format should I choose for editing later?
Record in MKV for safety, then remux to MP4 (File > Remux Recordings) if your editing software prefers MP4. For lossless editing, use a high‑bitrate codec like H.264 with a bitrate of 10 Mbps or higher.
How do I record separate audio tracks for game and voice?
Enable multiple tracks in Settings > Output > Recording, then open Advanced Audio Properties (gear icon in the Audio Mixer) and assign each source to its own track. Most editors can import these tracks individually.
Is it possible to stream and record at the same time?
Yes. In Settings > Output, switch the Output Mode to "Advanced" and configure separate settings for the Streaming and Recording tabs. OBS will handle both streams simultaneously.
Why does my webcam appear pixelated?
Check the webcam’s resolution setting in the Video Capture Device properties. Increase it to 720p or 1080p if your camera supports it, and make sure the OBS canvas size (Settings > Video) matches or exceeds the webcam resolution.