Effacer les filtres
Effacer les filtres

Issue connecting to Hauppauge camera using USB camera support package

5 vues (au cours des 30 derniers jours)
SW
SW le 9 Jan 2022
Réponse apportée : Narvik le 24 Nov 2023
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

Réponses (1)

Narvik
Narvik le 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!

Catégories

En savoir plus sur MATLAB Support Package for IP Cameras dans Help Center et File Exchange

Tags

Produits


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by