How to Use OBS as a Webcam

By  on  

As I learn more about streaming video games on Twitch and continue broadcasting the Script & Style Show, I've become skilled in the art of Open Broadcasting Software (OBS).  OBS is a bit like PhotoShop for video, wherein you can layer effects like video, audio, imagery, app windows, and even webpages onto a canvas and OBS streams all of those visuals -- it's truly incredible software.

OBS streams directly to YouTube, Twitch, and a variety of other services but doesn't act as a traditional webcam, so you can't use your stream effects and layers outside of streaming.  After a bit of searching, I found an awesome extension for OBS, OBS-VirtualCam, which allows you to use OBS as a webcam, allowing you to use your effects in any medium that uses webcams like Google Hangouts!

Start by downloading OBS-VirtualCam.  With OBS-VirtualCam installed, you can now go to Tools > VirtualCam.  You'll see the following screen:

OBS Virtual Cam

You can configure a few settings, and if you want to use OBS-VirtualCam often, you'll probably want to check the AutoStart option.  Click the Start button and now OBS-VirtualCam will display in your video/webcam list throughout your computer system.  Now you can use OBS for Google Hangouts and any other video meeting or output application!

OBS for Google Hangouts

OBS-VirtualCam is really easy to use and I'm so happy I can now use OBS in Google Hangouts and other company meetings!

Recent Features

  • By
    Camera and Video Control with HTML5

    Client-side APIs on mobile and desktop devices are quickly providing the same APIs.  Of course our mobile devices got access to some of these APIs first, but those APIs are slowly making their way to the desktop.  One of those APIs is the getUserMedia API...

  • By
    CSS Gradients

    With CSS border-radius, I showed you how CSS can bridge the gap between design and development by adding rounded corners to elements.  CSS gradients are another step in that direction.  Now that CSS gradients are supported in Internet Explorer 8+, Firefox, Safari, and Chrome...

Incredible Demos

  • By
    Duplicate the jQuery Homepage Tooltips

    The jQuery homepage has a pretty suave tooltip-like effect as seen below: The amount of jQuery required to duplicate this effect is next to nothing;  in fact, there's more CSS than there is jQuery code!  Let's explore how we can duplicate jQuery's tooltip effect. The HTML The overall...

  • By
    Simple Image Lazy Load and Fade

    One of the quickest and easiest website performance optimizations is decreasing image loading.  That means a variety of things, including minifying images with tools like ImageOptim and TinyPNG, using data URIs and sprites, and lazy loading images.  It's a bit jarring when you're lazy loading images and they just...

Discussion

  1. roc

    Hello. Thank you for sharing your experience.

    But the result you mentioned:
    “Click the Start button and now OBS-VirtualCam will display in your video/webcam list throughout your computer system.”
    is not true in my windows 8.1 pro system.

    Nothing changes after VirtualCam started.

  2. Hi!

    It it sad that OBS-VirtualCam only exist on Windows :/ I wish I had a way to do this on Linux too!

  3. Thanks for sharing! I also find this to be one of the most beneficial plugins for OBS. I use it all the time. In my experience, it seems that very few people are using this on YT and other platforms. I was just wondering if I could pick your brain on some of the ways you use this plugin and other ways you might use OBS. I am just looking for someone on a similar level as me to bounce ideas off of and help each other grow as content creators.

  4. Windows only, that sucks :(

  5. mozo

    Linux – Ubuntu 18.04 works:

      sudo apt install obs-studio
      sudo apt build-dep obs-studio
      sudo apt install libobs-dev
      git clone https://github.com/CatxFish/obs-v4l2sink.git
      cd obs-v4l2sink
      mkdir build && cd build
      cmake -DCMAKE_INSTALL_PREFIX=/usr ..
      make -j4
      sudo make install
      sudo cp /usr/lib/obs-plugins/v4l2sink.so /usr/lib/x86_64-linux-gnu/obs-plugins/
    
  6. FLick

    Sadly the virtual webcam doesn’t include an audio feed. That’s more convoluted. I would love to just have that work easily, without messing in my Audio Midi settings and playing with all kinds of stuff in the OBS audio panel.

    With Qlab, or ATEM control, I can send out a webcam or syphon feed and it includes audio natively. This should be the default behaviour for a virtual webcam – not sure why it’s so hard…

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!