Git Product home page Git Product logo

obs-virtual-cam's Introduction

OBS-VirtualCam

CI Windows On-Push

obs-virutalcam is a plugin for obs-studio , transforming the output video to a virtual directshow device.

source from Fenrirthviti/obs-virtual-cam

Supported Platforms : Windows 10, Windows 11

Supported OBS Studio version : 30.0.0+

Note: output to 32bit application is not tested.

Features

  • virtual output : A output plugin sink raw video & audio to directshow interface.
  • virtual filter output : A filter plugin sink obs source video to directshow interface.
  • virtual source : Four directshow Interfaces which can use in 3rd party software.

Install

The installer and compressed file can be found in Release Page. Using installer is recommended, but if you want to use compressed file to install manually , please follow these instructions.

  1. Unzip obs-virtualcam-*-windows-x64.zip and put it to your obs-studio install folder.
  2. Run CMD as Administrator and register 32bit directshow source
regsvr32 "C:\Program Files\obs-studio\bin\32bit\obs-virtualsource.dll"
  1. Do it again to register 64bit directshow source
regsvr32 "C:\Program Files\obs-studio\bin\64bit\obs-virtualsource.dll"
  • If you want to Remove the directshow filter , you can also use regsvr32 to do this
regsvr32 /u "C:\Program Files\obs-studio\bin\32bit\obs-virtualsource.dll"

Register specific number of virtual cameras

Unregister then register 2 directshow camera (up to 4)

regsvr32 /u "C:\Program Files\obs-studio\bin\64bit\obs-virtualsource.dll"
regsvr32 /n /i:"2" "C:\Program Files\obs-studio\bin\64bit\obs-virtualsource.dll"

Build

this repo is updated to the latest OBS Plugin Template, please follow the guide.

Donate

Please consider donating to CatxFish, the original author of this plugin. Paypal.me

obs-virtual-cam's People

Contributors

miaulightouch avatar rse avatar

Stargazers

 avatar Martin N. avatar rotsen avatar Temka avatar  avatar  avatar  avatar  avatar 王帅 avatar  avatar cjpxyz avatar Jarvis avatar Tonggy avatar Timothy avatar Pup Tek avatar  avatar  avatar  avatar  avatar SYM avatar LockeShor avatar Rafael Santos avatar  avatar ly88321 avatar wty2019wty avatar Wajeeh Ul Hassan avatar euro-pol avatar  avatar RoyZ avatar Аrtur avatar  avatar SongMengLong avatar Joel Van Eenwyk avatar b_l_a_n_q avatar  avatar SakurazawaRyoko avatar AMD Boii avatar  avatar  avatar  avatar Mocatzy avatar Yang Yang avatar  avatar 4win avatar Afiq Mu'taz avatar  avatar  avatar Galeze avatar 沐乙师傅还不收工 avatar LobotomyCorporation avatar  avatar WiCyn avatar loong avatar  avatar  avatar Shaw Berrington avatar  avatar naruto avatar BanGyJ avatar John Iwasz avatar desp avatar  avatar nikos3194 avatar DevLabs avatar  avatar Marco Cordori avatar Masterzoocker avatar  avatar Ray Zuniga avatar 初心正圆 avatar  avatar  avatar Sebastian Rothe avatar Grzegorz Wierzowiecki avatar Ryan Krnwn avatar  avatar  avatar Mat'z avatar Xie M.J. avatar Sidney avatar xiaobovlog avatar  avatar  avatar  avatar Kexo avatar Kerzie Wildrick avatar Jarrod Rose avatar  avatar Christopher Stelma avatar rue avatar  avatar Erik Horváth avatar zhilin avatar  avatar Konstantin Mokhnatkin avatar  avatar _神宮寺惠_ avatar Waldo Schaeffer avatar Antonio Schneider avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

obs-virtual-cam's Issues

Cannot run at 60fps even when starting OBS first

For some reason I cannot run the virtual cam at 60fps, it always runs at 30fps.
My OBS settings are 1080p 60fps, and i am running the virtual cam as a filter.

It does not show up in any windows camera apps, but works fine for Bluestacks Android emulator.
I checked that nothing else was running at startup which had access to any cameras such as Nvidia Broadcast, but I feel a windows element might be trying to load it before OBS.

Im using this awesome virtual camera app to stream to Google Lens Translate and translate anything I throw at it on the fly like real hardware console gaming.
https://youtu.be/3JDS4SW0LxQ?si=i-JqAxBAfdXnl2GU

Release 2.1.0 has version 2.0.12 files attached but seem to contain 2.1.0!?

The version 2.1.0 exists under "releases", but the attached asset has the filename "obs-virtualcam-2.0.12-windows-x64-Installer.exe", although the timestamps of the contained files indicate that this is version 2.1.0. Can you fix this and upload the final 2.1.0 version to avoid version confusion? Thanks.

Support 4k 60fps output

From what I was told and what I learned, current output is hardcapped by full-hd aka 1920x1080.
How much effort potentially would it take to move that cap to 4k aka 3840x2160?

I guess I am at that stage where I am probably ready to finance that feature.

Now compatible with obs 30.2.0 But.....cameras blank

so the latest release finally has it showing in the latest obs 30.2

but now it shows and can be started but the output is empty for any cameras....when i rollback to obs virtualcam prelease 3.1.1 everything shows fine and works fine but

theres an error when exiting obs

so seems like almost there?

Cannot support obs-websocket 5.1.0 Protocol

  • win11 x64
  • obs 30.1.2 portable
  • python 3.12.2
  • obs-websocket 5.1.0

I wanna open more than one virtual camera using obs-websocket, eg:

from obswebsocket import obsws, requests

...

virtual_cam_status = self.client.call(requests.GetVirtualCamStatus())
if virtual_cam_status.datain["outputActive"] is False:
    self.client.call(requests.StartVirtualCam())
    time.sleep(1)

...

there is an error:

if virtual_cam_status.datain["outputActive"] is False:
       ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'outputActive'

Portable version does not support obs-websocket after installing obs-virtualcam.
However, the full install version works fine without obs-virtualcam.

https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvirtualcamstatus

OBS 30.2.0 compatibility

Hi I'm not sure if you are getting the same issue after upgrading OBS to 30.2:

12:00:31.072: LoadLibrary failed for '../../obs-plugins/64bit/obs-virtualcam.dll': The specified module could not be found.
12:00:31.072: (126)
12:00:31.072: Module '../../obs-plugins/64bit/obs-virtualcam.dll' not loaded

thanks for a great tool

missing 32bit release

please provided 32 bit version of this application because our x86 application not supported your x64 release
32bit dll have in folder but its not register error occurred missing dependency on windows 10

Different sources/scenes OR preview/program

This is so awesome that you are continuing this for the latest OBS. Thank you!

Do you happen to know if it is possible to change what is being sent to each virtual cam? I'm not sure this is even possible as I can see the additional virtual cams are most likely additional signed drivers and only mirror the one without being able to be unique in that manner.
When I go to the virtual cam settings I only have the one main one to change for the output settings.

Is this possible to implement?
Thank you so much again!

OBS Version: 30.0 BETA 2
OS: Windows 11 Pro 22H2-22621.1702

obs64_uGfv2w5N1v

Output is streched

No matter what I do if I change the width of the video output in settings, or I check/uncheck the "Keep aspect ratio" setting, the camera width always stays same. It always stretches to some width which I don't know, the only way to somehow fix it is stretch the app in the viewport vertically so it is something like this, changing width of the video output does nothing to mitigate this.
image
This does not happen with the official built-in virtual cam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.