sodcalculator

10 Tech How-To

OBS Virtual Camera Setup on Windows, Mac & Linux

Guide 10-58260 · Updated · Step by step

OBS Studio’s Virtual Camera lets you send your OBS scene—including overlays, webcam feeds, and screen captures—to any app that sees a standard webcam, such as Zoom, Teams, Discord, or Google Meet. This guide walks you through enabling and using it on Windows, macOS, and Linux, covering what to install first and how to fix common issues.

What You’ll Need

  • OBS Studio installed (version 26 or newer for Windows/macOS; Linux builds vary, but most current distro packages include it).
  • A webcam or other video source already working inside OBS.
  • For macOS: OBS may prompt for screen recording permission in System Settings > Privacy & Security.
  • For Linux: your distribution’s package manager may need the v4l2loopback kernel module installed separately.

Step-by-Step

  1. Open OBS Studio and confirm your scene looks the way you want. The Virtual Camera outputs exactly what you see in the main preview, so add any sources (webcam, window capture, text, images) and arrange them first.
  2. Start the Virtual Camera by clicking the Start Virtual Camera button in the bottom-right corner of the OBS main window (next to the Controls panel). On some Linux builds, the button may be under the Tools menu instead.
  3. Note the camera name OBS assigns. On Windows it’s usually OBS Virtual Camera; on macOS it appears as OBS Virtual Camera in most apps; on Linux it typically shows as Virtual Camera or OBS Video Source.
  4. Open your target application (e.g., Zoom, Teams, Chrome, OBS itself) and go to its camera or video settings.
  5. Select the OBS Virtual Camera from the list of available cameras. If it doesn’t appear, close and reopen the app—many programs only scan for cameras at launch.
  6. Adjust output resolution and FPS if needed. In OBS, go to Settings > Video. The Virtual Camera uses the same base and output resolution you set there. For best compatibility, match the resolution your target app expects (e.g., 720p or 1080p).
  7. Stop the Virtual Camera when done by clicking the same button (now labeled Stop Virtual Camera). This frees the camera for other apps.

Common Mistakes

  • Forgetting to start it: The Virtual Camera does not run automatically. You must click Start each time you open OBS.
  • Using the wrong camera in the target app: Apps often have multiple camera inputs. Double-check you selected the OBS one, not your physical webcam.
  • Changing scenes while streaming: The Virtual Camera outputs the currently active scene. If you switch scenes in OBS, the output changes too—that’s normal.
  • Linux: missing v4l2loopback: On many distros, the virtual device isn’t created until you load the kernel module. Install it with your package manager (e.g., sudo apt install v4l2loopback-dkms on Debian/Ubuntu) and reboot.
  • Resolution mismatch: If your target app shows a black or distorted image, your OBS output resolution may be unsupported. Set it to a common value like 1920×1080 or 1280×720.

Tips

  • Use a dedicated scene: Create a scene just for virtual camera use, with only the sources you want to share. This prevents accidentally broadcasting your full desktop or private windows.
  • Add a small delay: If you’re using the virtual camera for a live presentation, a few seconds of delay (Settings > Advanced > Stream Delay) can help you avoid showing setup actions.
  • Test with a free tool: Open a simple app like the Camera app on Windows or Photo Booth on macOS to verify the feed works before joining an important call.
  • Keyboard shortcut: Assign a hotkey under Settings > Hotkeys for “Start/Stop Virtual Camera” for quick toggling.
  • Use it with multiple apps: On Windows and macOS, only one app can use the virtual camera at a time. On Linux, you may be able to use multiple consumers with certain v4l2loopback configurations.

Troubleshooting

  • Camera not listed in the target app: Close the app, start the virtual camera in OBS, then reopen the app. If it still doesn’t appear, try a different USB port for your physical webcam (if any) or restart OBS.
  • Black screen in the target app: Check that your OBS preview shows the scene correctly. If the preview is fine, go to Settings > Video and lower the output resolution (e.g., from 4K to 1080p). Also ensure your GPU drivers are up to date.
  • Very low frame rate: Reduce the FPS in Settings > Video (e.g., from 60 to 30). Also close other GPU-heavy applications.
  • No video on Linux: Run sudo modprobe v4l2loopback to load the module manually. If it fails, install the v4l2loopback-utils package. Some distros require you to add your user to the video group.
  • Audio not coming through: The virtual camera only carries video. To send audio, use OBS’s virtual audio cable (Windows) or a separate audio routing tool, and select that as your microphone in the target app.
  • OBS says “Virtual Camera failed to start”: On Windows, reinstall OBS as administrator. On macOS, grant camera/microphone permissions in System Settings > Privacy & Security. On Linux, check that v4l2loopback is loaded and that no other process holds the device.

Frequently Asked Questions

Does the OBS Virtual Camera work with Zoom?

Yes. Start the virtual camera in OBS, then in Zoom go to Settings > Video and select “OBS Virtual Camera” as the camera.

Can I use it for streaming to Twitch or YouTube?

Not directly—those platforms use OBS’s streaming output, not the virtual camera. The virtual camera is for apps that expect a webcam input.

Why does my target app show a green or purple screen?

This usually means the app can’t decode the video format. Change OBS’s output format to a more common one (Settings > Advanced > Video > Color Format, try NV12 or I420).

Can I have two different virtual cameras?

OBS only provides one virtual camera output. For a second one, you’d need a second OBS instance (not recommended) or third-party tools.

Does it work on Mac with Apple Silicon?

Yes, OBS runs natively on Apple Silicon and the virtual camera works the same as on Intel Macs.

Is the virtual camera available in OBS on Linux?

Yes, but it requires the v4l2loopback kernel module. Most modern distros include it in their OBS packages, but you may need to install it separately.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →