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
    CSS 3D Folding Animation

    Google Plus provides loads of inspiration for front-end developers, especially when it comes to the CSS and JavaScript wonders they create. Last year I duplicated their incredible PhotoStack effect with both MooTools and pure CSS; this time I'm going to duplicate...

  • By
    LightFace:  Facebook Lightbox for MooTools

    One of the web components I've always loved has been Facebook's modal dialog.  This "lightbox" isn't like others:  no dark overlay, no obnoxious animating to size, and it doesn't try to do "too much."  With Facebook's dialog in mind, I've created LightFace:  a Facebook lightbox...

Incredible Demos

  • By
    Create a 3D Animating Sidebar

    Mozilla's Christian Heilmann is an evangelist that knows how to walk the walk as well as talk the talk.  You'll often see him creating sweet demos on his blog or the awesome Mozilla Hacks blog.  One of my favorite pieces...

  • By
    jQuery topLink Plugin

    Last week I released a snippet of code for MooTools that allowed you to fade in and out a "to the top" link on any page. Here's how to implement that functionality using jQuery. The XHTML A simple link. The CSS A little CSS for position and style. The jQuery...

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!