How to Capture Chrome in OBS on Windows, macOS, Linux
In this article
Capturing Google Chrome in OBS (Open Broadcaster Software) allows you to stream or record your browser content—such as videos, websites, or web apps—with high quality and low latency. This guide walks you through the correct method for Windows, macOS, and Linux, ensuring you get a clean capture without crashes or performance issues. The process relies on OBS’s window capture or display capture sources, but Chrome’s multi-process architecture and hardware acceleration can interfere if not configured properly. Follow these steps to ensure a stable, high-quality capture across all major operating systems.
What You'll Need
- Google Chrome (latest stable version recommended)
- OBS Studio (version 28 or higher)
- A computer running Windows 10/11, macOS 10.15+, or a major Linux distribution (Ubuntu, Fedora, etc.)
- Sufficient CPU and GPU resources to handle both Chrome and OBS simultaneously
- Administrator or sudo privileges (for Linux and some Windows configurations)
Step-by-Step
- Close Chrome completely before starting OBS. Ensure no Chrome processes are running in the background. On Windows, check Task Manager; on macOS, use Activity Monitor; on Linux, use
ps aux | grep chromein the terminal. - Launch OBS first. This ensures OBS captures Chrome’s window correctly. Starting Chrome before OBS can cause window enumeration issues, especially on Windows.
- In OBS, go to the Sources box and click the '+' icon. Select "Window Capture" (Windows, Linux) or "Display Capture" (macOS, if Window Capture fails).
- Name the source (e.g., "Chrome Window") and click OK.
- In the window selection dropdown, choose the Chrome window you want to capture. If Chrome is not listed, proceed to Step 6. On macOS, Window Capture may not work due to sandboxing; use Display Capture instead.
- If Chrome doesn’t appear in the list, launch Chrome after OBS is running. Open the specific tab or window you want to capture. Wait 5–10 seconds, then refresh the window list in OBS by clicking the gear icon next to the source and selecting "Refresh".
- For better performance and stability, disable hardware acceleration in Chrome temporarily. Go to Chrome Settings > Advanced > System, and toggle off "Use hardware acceleration when available." Restart Chrome when prompted.
- In OBS, resize and position the capture source as needed. Right-click the source in the preview and choose "Fit to screen" or "Stretch to screen" based on your layout.
- Test the capture by playing a video or scrolling a page in Chrome. Monitor CPU usage in OBS’s stats (View > Stats). If performance is poor, lower Chrome’s resolution or reduce OBS output settings.
- For audio, go to OBS > Settings > Audio > Desktop Audio. Select the correct audio device that captures system sound. On Windows, this is usually your default playback device. On macOS, you may need Soundflower or BlackHole for loopback audio. On Linux, ensure PulseAudio is routing Chrome’s audio correctly.
- To capture multiple Chrome windows or tabs separately, repeat the process with unique Window Capture sources. Ensure each Chrome window has a distinct title (rename tabs if needed) so OBS can differentiate them.
- When done, stop recording or streaming, then close OBS before restarting Chrome with hardware acceleration re-enabled if desired.
Common Mistakes
- Starting Chrome before OBS, which can prevent the window from appearing in the capture list.
- Leaving hardware acceleration on, which may cause screen tearing, lag, or capture failure.
- Using full-screen Chrome windows, which can interfere with display compositing—use windowed or borderless mode instead.
- Not checking audio routing, leading to missing or delayed sound in recordings.
- Assuming Window Capture works the same across all OS versions—macOS often requires Display Capture due to security restrictions.
Tips
- Use Chrome’s "--use-fake-ui-for-media-stream" flag if capturing WebRTC content to bypass permission prompts.
- Launch Chrome with "--disable-gpu" flag for testing if capture fails, though this reduces performance.
- On Linux, ensure you’re using X11, not Wayland, as OBS window capture does not work reliably under Wayland.
- Use borderless Chrome windows (
chrome://flags/#enable-features=borderless-window) for a cleaner capture look. - Update OBS and Chrome regularly—compatibility fixes are frequent.
Troubleshooting
If Chrome doesn’t appear in the window list, first ensure it’s running after OBS. If still missing, restart both apps in order. On macOS, switch to Display Capture and select the monitor Chrome is on. If capture is black or frozen, disable hardware acceleration in Chrome and restart. If audio is missing, check OBS audio settings and ensure Chrome’s sound isn’t muted system-wide. On Linux, verify that your user is in the video group and that screen sharing permissions are granted. If OBS crashes when adding the source, update graphics drivers and OBS to the latest version. For persistent issues, test with a clean Chrome profile (chrome --user-data-dir=/tmp/test) to rule out extensions interfering.
Frequently Asked Questions
Why doesn’t Chrome show up in OBS window capture?
Chrome must be launched after OBS. If it still doesn’t appear, disable hardware acceleration or use Display Capture on macOS.
Can I capture multiple Chrome tabs separately?
Yes, but each must be in a separate window with a unique title. Use Window Capture for each window.
Why is my Chrome capture lagging?
Lag is often due to hardware acceleration or high CPU use. Lower Chrome’s resolution or disable GPU features.
Does this work on macOS with M1/M2 chips?
Yes, but use Display Capture instead of Window Capture for reliable results.
Can I capture Chrome in full screen?
Not reliably. Full-screen mode often breaks window capture. Use borderless or windowed mode instead.
Why is there no audio from Chrome?
Ensure desktop audio in OBS is set to the correct device. On macOS, use BlackHole or similar for audio routing.