Issue connecting to Hauppauge camera using USB camera support package
5 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Narvik
on 24 Nov 2023
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 Comments
See Also
Categories
Find more on Image Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!