Issue connecting to Hauppauge camera using USB camera support package
5 次查看(过去 30 天)
显示 更早的评论
Hi, I am trying to connect to a Haupppauge camera using the matlab support package for USB camera. I chose this package following steps described here.
When I type webcamlist, I can find my camera as expected. But when I try to connect to the camera using webcam, it throws an error: "Error initializing media source", without any other message.
The camera functions normally in Neuralynx Cheeta acuiqision software. I allowed all desktop apps to access my camera. And I closed all programs that may be using the camera before trying to connect to it on matlab.
May I get some help on onnecting the camera to matlab? Thank you in advance!
Code and output:
>> webcamlist
ans =
1x1 cell array
{'Hauppauge HVR USB2 Video Capture'}
>> cam = webcam('Hauppauge HVR USB2 Video Capture');
Error initializing media source
0 个评论
回答(1 个)
Narvik
2023-11-24
Hi,
I understand that you are facing an issue while trying to connect a Hauppauge camera using the MATLAB Support Package for USB camera. The error displayed while trying to create a webcam object is due to Media Foundation API failing to create an object for this camera.
MATLAB Support Package for USB Webcams support only UVC compatible webcams. This series of Hauppauge cameras does not seem to be UVC compatible.
Refer to the following documentation for more information:
Please refer to these lists of UVC compatible cameras:
Hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!