Cut Out Camera Background in OBS – Step‑by‑Step Guide
In this article
Yes, you can cut out the background of a camera in OBS by applying a chroma key filter or the built‑in background removal filter.
What You'll Need
- OBS Studio (latest stable version)
- A webcam or other video capture device
- Good, even lighting on yourself and on the background
- Optional: a green (or other solid) screen for chroma‑key accuracy
- Optional: a spare USB hub if you need more ports
Step‑by‑Step
- Open OBS Studio and make sure your webcam is added as a Video Capture Device source. If it is not already in the Sources list, click the + button under Sources, choose Video Capture Device, give it a name, and select your camera from the device dropdown.
- Right‑click the webcam source in the Sources list and choose Filters. A new window opens with two tabs: Audio/Video Filters and Effect Filters.
- In the Effect Filters tab, click the + button and select either Chroma Key (for a traditional green‑screen setup) or Background Removal (for AI‑based removal without a physical screen). The choice depends on your environment:
- Chroma Key works best when you have a uniformly lit green, blue, or magenta backdrop.
- Background Removal uses OBS’s built‑in AI model and works on most solid or moderately varied backgrounds, but it requires a relatively powerful CPU/GPU.
- If you chose Chroma Key, a settings panel appears. Adjust the following fields until the background disappears cleanly:
- Key Color Type: set to Green if you are using a green screen; otherwise select the dominant color of your backdrop.
- Similarity: increases the range of colors that are treated as background. Start around 350 and move higher if edges remain.
- Smoothness: softens the edge of the cut‑out. Typical values are 80–120.
- Key Color Spill Reduction: reduces green‑halo artifacts on the subject. Adjust until the subject looks natural.
- If you chose Background Removal, the filter will automatically analyze the frame. You can fine‑tune two sliders:
- Strength: higher values increase confidence in removing the background but may also erase fine details like hair.
- Blur: adds a slight blur to the edges to mask imperfections.
- Once you are satisfied with the cut‑out, click Close on the Filters window. Your webcam source will now display only the subject, with the original background replaced by transparency.
- To place a new background, add another source (image, video, or another scene) beneath the webcam source in the Sources list. Drag the new source below the webcam source so it appears behind the cut‑out.
- Test the setup by moving around a bit. If you notice flickering or parts of the background still showing, return to the filter settings and fine‑tune the sliders. Small adjustments often solve most issues.
- When you are ready to stream or record, click Start Streaming or Start Recording** as usual. The background‑free video will be sent to your chosen platform.
Common Mistakes
- Uneven lighting: Shadows on the green screen create color variation that the chroma key cannot handle, resulting in speckles. Use soft, diffused lighting on both you and the backdrop.
- Wrong key color selection: Selecting “Blue” when you have a green screen will leave the green visible. Double‑check the Key Color Type matches your backdrop.
- Too high Similarity: Setting Similarity too high will start cutting into clothing or skin tones. Keep it as low as possible while still removing the background.
- Insufficient CPU/GPU for Background Removal: The AI filter can cause lag on older machines. If you notice dropped frames, switch to a physical green screen and use the Chroma Key filter instead.
- Placing the new background above the webcam source: The background will cover the subject instead of appearing behind. Always keep the webcam source higher in the list.
Tips
- Use a plain, non‑reflective green fabric or paint. Matte surfaces reduce shine that can confuse the key.
- Position lights at 45‑degree angles from the subject to minimise shadows on the screen.
- If you have a colored shirt that matches the screen, change the shirt or adjust the Similarity and Key Color Spill Reduction sliders carefully.
- For streaming platforms that support virtual backgrounds (e.g., Zoom, Teams), you can also use OBS’s Virtual Camera output after the filter is applied.
- Save your filter settings as a preset by right‑clicking the filter name and choosing “Copy.” You can paste the preset into another source or scene for quick reuse.
Troubleshooting
If the background is not fully removed, follow these steps in order of increasing complexity:
- Restart OBS. A simple restart clears any temporary glitches.
- Check for updates. Go to Help > Check for Updates and install the latest version if available.
- Verify lighting. Add an extra lamp or reposition existing lights to achieve even illumination.
- Re‑apply the filter. Remove the current filter, click Apply again, and set the sliders from scratch.
- Switch filter type. If Chroma Key fails, try the Background Removal filter, and vice‑versa.
- Reduce camera resolution. Lower the webcam’s output resolution in the source properties; high resolution can sometimes overwhelm the AI filter.
- Allocate more system resources. Close other CPU‑intensive applications, or move OBS to a dedicated GPU in the graphics control panel.
- Re‑install OBS. As a last resort, uninstall OBS, delete the configuration folder (usually %APPDATA%\obs-studio on Windows), and reinstall the clean version.
Note: Re‑installing will delete saved scenes and profiles unless you back them up first.
Frequently Asked Questions
Do I need a green screen to use OBS’s Background Removal filter?
No. The AI‑based Background Removal works on most solid or moderately varied backgrounds, but a physical green screen usually yields cleaner edges.
Can I use a blue screen instead of a green one?
Yes. In the Chroma Key filter, select Blue as the Key Color Type and adjust the Similarity and Smoothness sliders accordingly.
Why does my hair flicker or become partially transparent?
This is often caused by the Similarity setting being too high or by insufficient lighting. Lower Similarity and increase lighting, or use the Background Removal filter with a lower Strength value.
Will applying a filter affect my stream’s frame rate?
Both filters require extra processing. The Chroma Key filter is lightweight, while the AI Background Removal can reduce FPS on older hardware. Monitor OBS’s stats window and adjust settings if needed.
Can I use the filtered webcam as a virtual camera for other apps?
Yes. After setting up the filter, enable Start Virtual Camera from the Controls panel. Other applications will see the background‑free feed.
Is there a way to save the filtered video without streaming?
Simply click Start Recording** in OBS. The recorded file will contain the same background‑removed video you see in the preview.