Use macOS ScreenCaptureKit in OBS Studio
This guide explains how to utilize Apple’s ScreenCaptureKit API within OBS Studio to achieve high-performance, low-latency screen, window, and application capturing on macOS. By leveraging this modern framework, Mac users can capture high-framerate video with minimal CPU overhead and seamlessly capture independent application audio.
Prerequisites
To use ScreenCaptureKit in OBS Studio, your system must meet the following requirements: * macOS Version: macOS Monterey 12.3 or later (macOS Sonoma or later is recommended for advanced audio features). * OBS Studio Version: OBS Studio 28.0 or later, which natively integrates ScreenCaptureKit.
Step 1: Add a macOS Screen Capture Source
- Launch OBS Studio on your Mac.
- Navigate to the Sources dock at the bottom of the screen.
- Click the + (plus) icon to add a new source.
- Select macOS Screen Capture from the dropdown menu.
- Name the source (e.g., “Game Capture” or “Display Capture”) and click OK.
Step 2: Configure Capture Settings
Once the source is added, a properties window will appear. Configure the settings to utilize ScreenCaptureKit:
- Method: Ensure this is set to ScreenCaptureKit (this is the default on supported macOS versions).
- Capture Type: Choose what you want to capture:
- Display Capture: Captures your entire physical monitor. Ideal for tutorials or showing multiple applications.
- Window Capture: Captures a single, specific application window.
- Application Capture: Captures all windows associated with a specific application (e.g., all Google Chrome windows).
- Display/Window/Application Selection: Use the corresponding dropdown menu to select the specific screen, window, or app you wish to capture.
- Show Cursor: Check or uncheck this box depending on whether you want your mouse pointer to be visible in the capture.
Step 3: Configure Application Audio Capture
One of the primary benefits of ScreenCaptureKit is its ability to capture application-specific audio without requiring third-party virtual audio cables.
- In the properties window of your macOS Screen Capture source, locate the audio options.
- Check the box labeled Route Application Audio (available in macOS 13 Ventura and later).
- This adds a dedicated audio meter for your captured application to the Audio Mixer dock in OBS, allowing you to control the source’s volume independently.
Performance Optimization Tips
While ScreenCaptureKit is highly optimized, you can maximize performance by applying these settings:
- Match Resolutions: Set your OBS canvas resolution to match your display’s native aspect ratio to avoid unnecessary scaling overhead.
- Disable Preview: If you experience performance drops on older Mac hardware, right-click the OBS preview window and uncheck Enable Preview to save GPU resources while streaming or recording.
- Keep macOS Updated: Apple frequently updates ScreenCaptureKit to resolve bugs and improve hardware acceleration. Keep your macOS system updated to the latest version for the best performance.