Skip to content

crash when trying to open Video Capture #238

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

Closed
nictuku opened this issue May 21, 2023 · 2 comments · Fixed by #239 or #241
Closed

crash when trying to open Video Capture #238

nictuku opened this issue May 21, 2023 · 2 comments · Fixed by #239 or #241
Labels
bug Something isn't working Included in next release

Comments

@nictuku
Copy link

nictuku commented May 21, 2023

Describe the bug

opening Video Capture Device, causes a crash every time.

To Reproduce
Steps to reproduce the behavior:

  1. Go to File, Settings
  2. Click on Video Capture Device
  3. See error

Expected behavior
It should show my list of video capture devices. I use an Avermedia capture device.

Screenshots and recordings
image

Traceback or Crash Report
If AutoSplit showed an exception traceback, please paste it here:

Traceback (most recent call last):

  File "menu_bar.py", line 307, in <lambda>

  File "menu_bar.py", line 165, in __capture_method_changed

  File "capture_method\__init__.py", line 196, in change_capture_method

  File "capture_method\VideoCaptureDeviceCaptureMethod.py", line 77, in __init__

  File "pygrabber\dshow_graph.py", line 371, in add_video_input_device

  File "pygrabber\dshow_graph.py", line 366, in __add_filter

  File "pygrabber\dshow_graph.py", line 299, in build_filter

  File "pygrabber\dshow_graph.py", line 288, in get_filter_by_index

ValueError: NULL COM pointer access

Version (please complete the following information):

  • OS: Windows 10 Home 21H2 OS Build 19044.2965
  • AutoSplit: 2.0.1

AutoSplit Profile and Split Images

I can't attach toml on github but here's it zipped settings.zip

Additional context

I have a webcam and the Avermedia video capture device connected. I also have an ndivida broadcaster software that creates additional virtual webcam..

@nictuku nictuku added the bug Something isn't working label May 21, 2023
@Avasam
Copy link
Collaborator

Avasam commented May 22, 2023

I've been able to replicate as well, since it suddenly started to happen, did you recently update to OBS 29.1.1 ? It broken the VirtualCam plugin and I think makes pygrabber crash when it tries to get the vcam's resolution.

@Avasam
Copy link
Collaborator

Avasam commented May 22, 2023

Update to OBS-VirtualCam to work with OBS 29.1: https://github.com/Avasam/obs-virtual-cam/releases/tag/3.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Included in next release
Projects
None yet
2 participants