Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format error in OBS virtual camera output #51

Closed
Tea6098 opened this issue Aug 15, 2023 · 1 comment
Closed

Format error in OBS virtual camera output #51

Tea6098 opened this issue Aug 15, 2023 · 1 comment

Comments

@Tea6098
Copy link

Tea6098 commented Aug 15, 2023

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

@Chris-RH
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants