RenderHeads / UnityPlugin-AVProLiveCamera

AVPro Live Camera is a Unity plugin for webcams, TV cards and capture cards

Home Page:https://renderheads.com/products/avpro-live-camera/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Format error in OBS virtual camera output

Tea6098 opened this issue · comments

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Describe the bug
When I use AV Pro Live Camera to select OBS Virtual Camera and call 'Start' method, the screen does not display, and the returned format does not match the verification. I need to reselect the format to establish a successful connection.

Your Setup (please complete the following information):

  • Unity version: 2021.3.5f1
  • AVPro Live Camera version: 2.9.3
  • Operating system version: Win10 22H2
  • Hardware/webcam model: OBS Virtual Camera
  • Video mode (resolution, frame-rate, etc):

To Reproduce
Steps to reproduce the behavior:

  1. Install an OBS program.
  2. Add new scene and new window source.
  3. Start virtual camera.
  4. Open the CameraExplorerDemo scene
  5. Start OBS virtual camera. (Failed)
  6. Select any mode selection (Succeed)

Logs
image

Screenshots
It is the same with logs

Videos
https://drive.google.com/file/d/1WYklC3F4yf9pZMYsjXwWO_W5uvDIAqb0/view?usp=sharing

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Instead email the link to us unitysupport@renderheads.com

Why does OBS Virtual Camera / VirtualCam crash or not work correctly?

This virtual device is quite buggy in our experience. We have noted that if you just try to start
the device it will not produce frames. Instead you must select one of the modes. In our
testing there were only I420 and NV12 format modes. The I420 modes worked, but if you
switched between modes it would crash internally with a stack overflow exception. The NV12
modes didn’t produce any frames.
There is another virtual camera plugin for OBS which appears in the menu and produces
virtual devices called “OBS-Camera”. We found that this virtual device worked much better